buglwIP - A Lightweight TCP/IP stack - Bugs: bug #38066, Raw pcbs can alter packet without...

 
 

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

bug #38066: Raw pcbs can alter packet without eating it

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Fri 11 Jan 2013 08:56:29 PM UTC
   
 
Category:  IPv4 Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  1.4.1

Fri 11 Jan 2013 09:04:42 PM UTC, comment #1: 

Fixed in ping.c.

Added an assertion in raw.c that p->payload is unchanged when a raw callback returns "packet not eaten".

Simon Goldschmidt <goldsimon>
Group administrator
Fri 11 Jan 2013 08:56:29 PM UTC, original submission:  

Reported by chrysn on lwip-users on 01-11-2013:
The contrib ping app running in raw api mode prevents local ping-responses from working.

The reason is that it alters the pbuf (by calling pbuf_header) when returning "not eaten". After that, the ping recv code in icmp.c fails.

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
    2013-01-11 goldsimon StatusConfirmed Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code