[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #39356] Wrong increment in pbuf_memfind()
From: |
Fatih Aşıcı |
Subject: |
[lwip-devel] [bug #39356] Wrong increment in pbuf_memfind() |
Date: |
Fri, 28 Jun 2013 13:08:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?39356>
Summary: Wrong increment in pbuf_memfind()
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: fatih
Submitted on: Fri 28 Jun 2013 01:08:43 PM GMT
Category: pbufs
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: git head
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 28 Jun 2013 01:08:43 PM GMT Name:
0001-pbuf-Fix-wrong-increment-in-pbuf_memfind.patch Size: 1kB By: fatih
<http://savannah.nongnu.org/bugs/download.php?file_id=28438>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?39356>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #39356] Wrong increment in pbuf_memfind(),
Fatih Aşıcı <=