[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Segmentation fault on broken response
From: |
Ray Satiro |
Subject: |
Re: [Bug-wget] Segmentation fault on broken response |
Date: |
Sun, 29 Jan 2012 11:12:27 -0800 (PST) |
> From: Pawel Pabian <address@hidden>
[...]
>
>I want to report Segmentation fault that happens on broken response.
>The response causing error is "HTTP/HTTP/1.0 200 OK\r\n\r\n".
>Wget version "GNU Wget 1.12 built on darwin11.0.0.".
>OS X 10.7.2.
[...]
>
>The easies way to reproduce is to run script below (which returns broken
>response on purpose) and visit through wget URL it prints:
>perl -e 'use HTTP::Daemon; my $d = HTTP::Daemon->new; print $d->url, $/; while
>( my $c = $d->accept ) { $c->get_request; $c->send_response("HTTP/HTTP/1.0 200
>OK\r\n\r\n"); $c->close;}'
A malformed status line could cause a null pointer dereference. A fix was
applied in 2010.
http://savannah.gnu.org/bugs/index.php?28793