buglwIP - A Lightweight TCP/IP stack - Bugs: bug #41784, ip6_frag() assert error

 
 

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

bug #41784: ip6_frag() assert error

Submitter:  hanhui <hanhui03>
Submitted:  Thu 06 Mar 2014 04:02:48 AM UTC
   
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Change Request Status:  Invalid
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Tue 02 Sep 2014 07:14:18 PM UTC, comment #1: 

After reading the code, I think this analysis is invalid: a struct ip6_frag_hdr-pointer is places at rambuf->payload + IP6_HLEN. This would be no-man's-land when p->len would be IP6_HLEN only.

Simon Goldschmidt <goldsimon>
Group administrator
Thu 06 Mar 2014 04:02:48 AM UTC, original submission:  

in ip6_frag.c line 638

ip6_frag()
{

line638:
 
     LWIP_ASSERT("this needs a pbuf in one piece!",
                (p->len >= (IP6_HLEN + IP6_FRAG_HLEN)));

should be:

     LWIP_ASSERT("this needs a pbuf in one piece!",
                (p->len >= IP6_HLEN));
}

Han.hui

hanhui <hanhui03>

 

(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 hanhui03 (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
    2014-09-02 goldsimon StatusNone Invalid
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code