> From: Pawel Pabian <[email protected]> [...] > >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
