Public bug reported:

Wget crashes on empty set-cookie header, and probably other empty
headers. Testcase:

<?php
header('Set-Cookie:');
print "Hello, world!";
?>

Wget in debug mode:

> 
>   HTTP/1.0 200 OK
>   Date: Sun, 03 Aug 2008 23:35:33 GMT
>   Server: Apache
>   Pragma: 
>   Content-Transfer-Encoding: binary
>   Expires: Mon, 03 Aug 2009 23:35:33 GMT
>   Last-Modified: Tue, 24 Jun 2008 11:56:44 GMT
>   Accept-Ranges: bytes
>   Set-Cookie: 
>   ETag: "3dcdae09022d9b47e74686c591a9bba6"
>   Cache-Control: max-age=31536000, private
>   Content-Type: image/png
>   Set-Cookie: UUSERVID=jok; path=/
>   Cache-Control: private
>   X-Cache: MISS from lisa.ubuntu-eu.org
>   X-Cache-Lookup: MISS from lisa.ubuntu-eu.org:80
>   Via: 1.0 lisa.ubuntu-eu.org:80 (squid/2.6.STABLE18)
>   Connection: close
> 
> Stored cookie forum.ubuntu.ru -1 (ANY) / <session> <insecure> [expiry none] 
> (null) (null)
> Segmentation fault


Try wgetting this:

http://forum.ubuntu.ru/t.php

Please comment for any additional detail I could provide...

** Affects: wget (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Wget crashes on empty set-cookie header
https://bugs.launchpad.net/bugs/256819
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to