diff options
| author | Paul Eggert | 2011-10-24 14:57:02 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-10-24 14:57:02 -0700 |
| commit | 6efdadfdbad817826a8c311f5e3fae449bcf0471 (patch) | |
| tree | a16236b2dca73c3b898ac95e4addabda71f34c7d /src/ChangeLog | |
| parent | 43f6f8d5ca052c2511c7988f188e65d507e703d0 (diff) | |
| download | emacs-6efdadfdbad817826a8c311f5e3fae449bcf0471.tar.gz emacs-6efdadfdbad817826a8c311f5e3fae449bcf0471.zip | |
* lread.c: Fix off-by-one error that can read outside a buffer.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 34914c96c6c..8e2ef5e0eb2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-10-23 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-10-24 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Fix integer width and related bugs. | 3 | Fix integer width and related bugs. |
| 4 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): | 4 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): |
| @@ -495,6 +495,7 @@ | |||
| 495 | (openp): Check for out-of-range argument to 'access'. | 495 | (openp): Check for out-of-range argument to 'access'. |
| 496 | (read1): Use int, not EMACS_INT, where int is wide enough. | 496 | (read1): Use int, not EMACS_INT, where int is wide enough. |
| 497 | Don't assume fixnum fits into int. | 497 | Don't assume fixnum fits into int. |
| 498 | Fix off-by-one error that can read outside a buffer. | ||
| 498 | (read_filtered_event): Use duration_to_sec_usec | 499 | (read_filtered_event): Use duration_to_sec_usec |
| 499 | to do proper overflow checking on durations. | 500 | to do proper overflow checking on durations. |
| 500 | * macros.c (Fstart_kbd_macro): Use xpalloc to check for overflow | 501 | * macros.c (Fstart_kbd_macro): Use xpalloc to check for overflow |