chunked decoder: track overflows correctly
authorDaniel Stenberg <daniel@haxx.se>
Wed, 12 Feb 2014 13:33:17 +0000 (14:33 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 12 Feb 2014 13:35:46 +0000 (14:35 +0100)
commit0ab97ba0090f2609760c33000181f08757336a48
treeb2b818a5f5c6bccf9d1cdff14a0fb5f93ff85f84
parentbff739894260238c1292bb43e1eb643b481368ae
chunked decoder: track overflows correctly

The code didn't properly check the return codes to detect overflows so
it could trigger incorrectly. Like on mingw32.

Regression introduced in 345891edba (curl 7.35.0)

Bug: http://curl.haxx.se/mail/lib-2014-02/0097.html
Reported-by: LM
lib/http_chunks.c