buglwIP - A Lightweight TCP/IP stack - Bugs: bug #37151, HTTP header corrupted in...

 
 

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

bug #37151: HTTP header corrupted in http_post_request

Submitted by:  Andrew Lynn <alynn>
Submitted on:  Mon 20 Aug 2012 01:29:00 PM UTC  
 
Category: ContribSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: 1.4.0

Thu 23 Aug 2012 06:05:35 AM UTC, comment #1:

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 20 Aug 2012 01:29:00 PM UTC, original submission:

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.

Andrew Lynn <alynn>

 

No files currently attached

 

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 alynn (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Aug 2012 06:05:35 AM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1