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

Submitted by:  hanhui <hanhui03>
Submitted on:  Thu 06 Mar 2014 04:02:48 AM UTC  
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Change Request Status:  Invalid
Privacy:  Public Assigned to:  Simon Goldschmidt <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>
Project AdministratorIn charge of this item.
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>

 

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)
  •  

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

    Only logged-in users can vote.

     

     

     

    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.5