diff options
| author | Paul Eggert | 2011-06-22 15:36:19 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-22 15:36:19 -0700 |
| commit | bfbbd7e7528f1f4928c305b65ec0f9c55ed628a2 (patch) | |
| tree | bb5ee955e08b1d6da819e632fef0b90bcdfee38f /src/ChangeLog | |
| parent | 297dde5a97c0c5c8020db72213c7f84067f1ee21 (diff) | |
| download | emacs-bfbbd7e7528f1f4928c305b65ec0f9c55ed628a2.tar.gz emacs-bfbbd7e7528f1f4928c305b65ec0f9c55ed628a2.zip | |
* lread.c: Integer overflow issues.
(saved_doc_string_size, saved_doc_string_length)
(prev_saved_doc_string_size, prev_saved_doc_string_length):
Now ptrdiff_t, not int.
(read1): Don't assume doc string length fits in int. Check for
out-of-range doc string lengths.
(read_list): Don't assume file position fits in int.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 78fca60ca28..f0a48ed75ab 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2011-06-22 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-22 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * lread.c: Integer overflow issues. | ||
| 4 | (saved_doc_string_size, saved_doc_string_length) | ||
| 5 | (prev_saved_doc_string_size, prev_saved_doc_string_length): | ||
| 6 | Now ptrdiff_t, not int. | ||
| 7 | (read1): Don't assume doc string length fits in int. Check for | ||
| 8 | out-of-range doc string lengths. | ||
| 9 | (read_list): Don't assume file position fits in int. | ||
| 10 | |||
| 3 | Fixes for GLYPH_DEBUG found by GCC 4.6.0 static checking. | 11 | Fixes for GLYPH_DEBUG found by GCC 4.6.0 static checking. |
| 4 | The following patches are for when GLYPH_DEBUG && !XASSERT. | 12 | The following patches are for when GLYPH_DEBUG && !XASSERT. |
| 5 | * dispextern.h (trace_redisplay_p, dump_glyph_string): | 13 | * dispextern.h (trace_redisplay_p, dump_glyph_string): |