[elinks-dev] Latest commit causes infinite loop in parse_header_param

Felix Janda felix.janda at posteo.de
Sun Aug 21 07:27:53 PDT 2016


Hello,

with the latest commit

http://repo.or.cz/elinks.git/commit/29d85fdb3bdec78a0f049d02af1782a4a949a042

elinks can hang in parse_header_param. To reproduce:

1. open http://repo.or.cz/elinks.git/tree
2. follow one of the "raw" link
3. now try to download the same "raw" link

For your convenience, here are the HTTP headers:

HTTP/1.1 200 OK
Date: Sun, 21 Aug 2016 14:24:28 GMT
Server: Apache
Content-disposition: inline; filename=".gitignore"
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/plain; charset=utf-8

It would be good to know what the latest commit is trying to fix...

-- Felix


More information about the elinks-dev mailing list