DHCP/BOOTP Does Not Handle PAD Options
Andrew Lunn
andrew@lunn.ch
Thu May 13 10:02:00 GMT 2004
On Tue, May 04, 2004 at 10:36:54AM -0700, Jay Foster wrote:
> Attached is a patch to fix a bug in the DHCP/BOOTP code that doesn't process
> pad option bytes.
>
> This can cause the assertion "Oversize DHCP packet in dhcp_size" when
> assertions are compiled in.
Thanks.
I made a small modification. You did not check if the TAG_PAD went
over the end of the options field. Attached is what i committed.
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcp_opt.pat
Type: image/x-coreldrawpattern
Size: 2707 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20040513/2ba97f42/attachment.bin>
More information about the Ecos-patches
mailing list