This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DHCP/BOOTP Does Not Handle PAD Options


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

Attachment: dhcp_opt.pat
Description: image/coreldrawpattern


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]