[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Wget segfaults on malformed HTTP status line
From: |
Vitaly Minko |
Subject: |
[Bug-wget] Wget segfaults on malformed HTTP status line |
Date: |
Sat, 09 Apr 2011 20:43:28 +0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110322 Thunderbird/3.1.9 |
Hi all,
I get segmentation fault when HTTP server returns malformed status line
(without a status code). Use the following command to reproduce the issue:
`wget vminko.org:8081/test`
Wget crashes because the HTTP daemon returns just "HTTP/1.0\n\n" (see
wget-test.pl).
The proposed fix is attached (wget-1.12-http-status-line.patch).
Best regards,
Vitaly
wget-test.pl
Description: Text Data
wget-1.12-http-status-line.patch
Description: Text document
- [Bug-wget] Wget segfaults on malformed HTTP status line,
Vitaly Minko <=