]> granicus.if.org Git - curl/commit
cookies: Improved OOM handling in cookies
authorDan Fandrich <dan@coneharvesters.com>
Sun, 7 Dec 2014 11:24:29 +0000 (12:24 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 9 Dec 2014 22:58:30 +0000 (23:58 +0100)
commit41f1f6e830b56c35e9b545019b43a5b2889d115b
tree0cc08e16ce83736afe2b2f68b672de93887c00f2
parentc3b85c12a9261867deba27840d044ba91c7ac2ba
cookies: Improved OOM handling in cookies

This fixes the test 506 torture test. The internal cookie API really
ought to be improved to separate cookie parsing errors (which may be
ignored) with OOM errors (which should be fatal).
lib/cookie.c
lib/url.c
tests/libtest/lib506.c