[Bug 1849] udhcpc oversized packets bug

bugzilla at busybox.net bugzilla at busybox.net
Sun May 30 02:43:27 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=1849

--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com>  ---
There is a guard in networking/udhcp/common.h against that error:

/* Let's see whether compiler understood us right */
struct BUG_bad_sizeof_struct_ip_udp_dhcp_packet {
        char BUG_bad_sizeof_struct_ip_udp_dhcp_packet
                [(sizeof(struct ip_udp_dhcp_packet) != 576 +
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS) ? -1 : 1];
};

Can you attach a hex dump of such bad packet? Including ethernet, ip and udp
headers.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list