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: IPv6Severity: 3 - Normal
Item Group: Change RequestStatus: Invalid
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by hanhui03 (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 02 Sep 2014 07:14:18 PM UTCgoldsimonStatusNone=>Invalid
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1