buglwIP - A Lightweight TCP/IP stack - Bugs: bug #41094, Byte-order bug in IPv6...

 
 

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

bug #41094: Byte-order bug in IPv6 fragmentation header test

Submitter:  Valery Ushakov <uwe>
Submitted:  Sat 04 Jan 2014 04:56:44 AM UTC
   
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Wed 04 Mar 2015 08:03:11 PM UTC, comment #1: 

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Group administrator
Sat 04 Jan 2014 04:56:44 AM UTC, original submission:  

When ip6_input() checks frag_hdr->_fragment_offset the tested header
field is still in network byte order, but the test uses
IP6_FRAG_OFFSET_MASK and IP6_FRAG_MORE_FLAG that are in host byte
order.

The test should use the mask in network byte order.  E.g.


      if ((frag_hdr->_fragment_offset
           & PP_HTONS(IP6_FRAG_OFFSET_MASK | IP6_FRAG_MORE_FLAG)) == 0)


Valery Ushakov <uwe>

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-04 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code