Chromium Code Reviews
DescriptionUse largest supported date for cookies if timegm overflows
Regression CL: https://codereview.chromium.org/1988663002
If a too large date is given to timegm the result might overflow. This is
problematic on platforms that have time_t as 32-bit signed integers.
Before the change, the largest possible value was returned which
works well with large cookie expiration dates. Now a null Time is
returned which makes cookies non persistent.
BUG=652627
Patch Set 1 #
|
|||||||||||||||||||||||||||||||||||||