buglwIP - A Lightweight TCP/IP stack - Bugs: bug #39356, Wrong increment in pbuf_memfind()

 
 

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

bug #39356: Wrong increment in pbuf_memfind()

Submitted by:  Fatih Aşıcı <fatih>
Submitted on:  Fri 28 Jun 2013 01:08:43 PM UTC  
 
Category: pbufsSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Tue 25 Feb 2014 09:34:52 PM UTC, comment #3:

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 01 Jul 2013 08:40:55 AM UTC, comment #2:

I have tested the SMTP example with and without the patch. It works without a problem.

Fatih Aşıcı <fatih>
Fri 28 Jun 2013 08:20:25 PM UTC, comment #1:

Have you tested the SMTP example application before and after your change?

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Fri 28 Jun 2013 01:08:43 PM UTC, original submission:

pbuf_memcmp() returns the offset of the first unmatched character. When
searching "--A" inside "---A", the first return value will be "2". Since
this value will cause the skip of first 2 bytes of the buffer, it will
not be able to find the string.

Fatih Aşıcı <fatih>

 

Attached Files

 

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 fatih (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 25 Feb 2014 09:34:52 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
      Planned Release=>1.5.0
    Fri 28 Jun 2013 01:08:43 PM UTCfatihAttached File-=>Added 0001-pbuf-Fix-wrong-increment-in-pbuf_memfind.patch, #28438

    Back to the top


    Powered by Savane 3.1-cleanup1