]> granicus.if.org Git - curl/commit
HTTP: bail out on negative Content-Length: values
authorDaniel Stenberg <daniel@haxx.se>
Tue, 9 Jan 2018 04:24:48 +0000 (17:24 +1300)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 13 Jan 2018 21:49:04 +0000 (22:49 +0100)
commitf68e67271586125c06f33297a245a920d325584e
tree288fa688cb4907409ba60c4453266b896797ab4e
parent0616dfa1e08c25ec8ff0f06c014bd3836b365049
HTTP: bail out on negative Content-Length: values

... and make the max filesize check trigger if the value is too big.

Updates test 178.

Reported-by: Brad Spencer
Fixes #2212
Closes #2223
lib/http.c
tests/data/test178