diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-08-03 08:38:52 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-08-03 08:38:52 -0700 |
commit | 308cc448e5d6ffd44c7ff366a99d34bbfb0e8c4d (patch) | |
tree | 04e83c1f35b94135a52711a5934e752fffea5c3d /lisp/url/ChangeLog | |
parent | 8f88f7d3c5da38cd2d781770b533dc6c93c52d59 (diff) | |
download | emacs-308cc448e5d6ffd44c7ff366a99d34bbfb0e8c4d.tar.gz |
Don't mishandle year-9999 dates.
* lisp/calendar/parse-time.el (parse-time-rules):
Allow years up to most-positive-fixnum.
* lisp/calendar/time-date.el (date-to-time):
Pass "Specified time is not representable" errors through.
* lisp/url/url-cookie.el (url-cookie-expired-p): Treat out-of-range
expiration dates as if they were far in the future.
* src/editfns.c (decode_time_components): Store an invalid timespec
on overflow, instead of returning false, so that the caller can
distinguish overflow from other errors.
(lisp_time_argument, lisp_seconds_argument): If the time is out
of range, signal a time overflow instead of an invalid time spec.
* src/keyboard.c (decode_timer): Treat time overflow like other
timespec errors.
Fixes: debbugs:18176
Diffstat (limited to 'lisp/url/ChangeLog')
-rw-r--r-- | lisp/url/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index b8e34ea65c4..92945b37951 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,9 @@ +2014-08-03 Paul Eggert <eggert@cs.ucla.edu> + + Don't mishandle dates in the year 9999 (Bug#18176). + * url-cookie.el (url-cookie-expired-p): Treat out-of-range + expiration dates as if they were far in the future. + 2014-06-26 Leo Liu <sdl.web@gmail.com> * url-http.el (url-http-end-of-headers): Remove duplicate defvar. |