[Top][All Lists]

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

[lwip-devel] [bug #37151] HTTP header corrupted in http_post_request

From: Andrew Lynn
Subject: [lwip-devel] [bug #37151] HTTP header corrupted in http_post_request
Date: Mon, 20 Aug 2012 13:29:00 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1


                 Summary: HTTP header corrupted in http_post_request
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: alynn
            Submitted on: Mon 20 Aug 2012 14:29:00 BST
                Category: Contrib
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.4.0



Whilst attempting to access browser cookies I found the HTTP header was being
truncated and the cookie field was not visible.

http_post_request() adds a null terminator when reading the content length. I
do not think there is no need to do this as atoi() will stop at the first non
digit. The CRLF at the end of the Content-length: line will do this just as
well as the added terminator.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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