lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #51232] fix memcpy bug


From: Andrey Vinogradov
Subject: [lwip-devel] [bug #51232] fix memcpy bug
Date: Tue, 13 Jun 2017 09:25:47 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?51232>

                 Summary: fix memcpy bug
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: andreyvinogradov
            Submitted on: Tue 13 Jun 2017 01:25:46 PM UTC
                Category: apps
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

src/apps/httpd/httpd.c, line 944:
SMEMCPY(&hs->hdr_content_len[len], CRLF "\0", 3);

copy 3 bytes of the 4 byte string < "\r\n" "\0" > to buffer. 

Should be:
SMEMCPY(&hs->hdr_content_len[len], CRLF '\0', 3);




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?51232>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]