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

Submitter:  Fatih Aşıcı <fatih>
Submitted:  Fri 28 Jun 2013 01:08:43 PM UTC
   
 
Category:  pbufs Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

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

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Group administrator
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>
Group administrator
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-25 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
        Planned Release 1.5.0
    2013-06-28 fatih Attached File- Added 0001-pbuf-Fix-wrong-increment-in-pbuf_memfind.patch, #28438

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code