[PATCH] udhcpc: fixed option_ip_pair parsing

Vladislav Grishenko themiron at mail.ru
Sun Oct 17 08:25:01 UTC 2010


Hello,
Sorry, previous message doesn't include description.

Commit
http://git.busybox.net/busybox/commit/?id=7d3a48a003cd645edfae2b404493688022
b13193
revealed incorrect OPTION_IP_PAIR implementation, which doesn't respect
option length and causes
erroneous classful routes, composed from garbage or first bytes from the
next  DHCP packet option.
Patch is attached.

function                                             old     new   delta
xmalloc_optname_optval                               892     900      +8
----------------------------------------------------------------------------
--
(add/remove: 0/0 grow/shrink: 1/0 up/down: 8/0)                 Total: 8
bytes

Thank you,
Best Regards, theMIROn
ICQ: 303357
Skype: the.miron


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 303-udhcp-ip-pair.patch
Type: application/octet-stream
Size: 1616 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20101017/9abe0306/attachment.obj>


More information about the busybox mailing list