cURL / Mailing Lists / curl-library / Single Mail


[PATCH] fix cookie max-age field integer overflow bug in libcurl

From: chen prog <>
Date: Tue, 14 Jan 2014 19:50:49 +0800

when http server return as
Set-Cookie: ID=D31939F01C9A5F71918AB1573B9CE3FA:FG=1; expires=Thu,
31-Dec-37 23:55:55 GMT; max-age=2147483647; path=/;

must make sure max-age after expires and max-age=0x7FFFFFFF

in libcurl cookie_add will make a overflow max-age, result in cookie invalid

want to known more detail , see patch in attachment

List admin:

Received on 2014-01-14