buglwIP - A Lightweight TCP/IP stack - Bugs: bug #34406, dhcp_option_hostname() can...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34406: dhcp_option_hostname() can overflow the pbuf

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Tue 27 Sep 2011 05:53:39 AM UTC
   
 
Category:  IPv4 Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Tue 27 Sep 2011 05:56:59 AM UTC, comment #1: 

Fixed by limiting the hostname based on already added options and trailer.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 27 Sep 2011 05:53:39 AM UTC, original submission:  

dhcp_option_hostname() can overflow the 'options' array in 'struct dhcp_msg' (size not checked) and it does so currently (with the default settings) due to a bug in the fix for bug #34122.

Simon Goldschmidt <goldsimon>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-27 goldsimon StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code