buglwIP - A Lightweight TCP/IP stack - Bugs: bug #37665, ip_canforward operates on address...

 
 

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

bug #37665: ip_canforward operates on address in wrong byte order

Submitted by:  Valery Ushakov <uwe>
Submitted on:  Sun 04 Nov 2012 12:53:48 AM UTC  
 
Category: IPv4Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Tue 29 Jan 2013 02:51:15 PM UTC, comment #2:

Just got around to merge recent changes from the master repo that include this fix.

Nit pick: the fix uses htonl(), but it should use ntohl() since we are converting network order to host order.

Valery Ushakov <uwe>
Tue 15 Jan 2013 08:10:55 PM UTC, comment #1:

Fixed in git master, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Sun 04 Nov 2012 12:53:48 AM UTC, original submission:

ip_canforward operates on

that is in network byte order, but applies to it IP_EXPERIMENTAL and IP_CLASSA macros that expect argument in host byte order.

Valery Ushakov <uwe>

 

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 (Posted a comment)
  • -unavailable- added by uwe (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 15 Jan 2013 08:10:55 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1