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

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Fri 11 Jan 2013 08:56:29 PM UTC  
 
Category: IPv4Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 11 Jan 2013 09:04:42 PM UTCgoldsimonStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1