diff options
| author | Paul Eggert | 2011-07-28 14:37:15 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-28 14:37:15 -0700 |
| commit | c9f8d652ab67b148cd0a1cb375b0e51e673c4094 (patch) | |
| tree | 28db7746cd8179674ff925067cfde9e38a822799 /src/ChangeLog | |
| parent | 3d0c92a26bb73fdc542e4d9e467b31fd0ad02417 (diff) | |
| download | emacs-c9f8d652ab67b148cd0a1cb375b0e51e673c4094.tar.gz emacs-c9f8d652ab67b148cd0a1cb375b0e51e673c4094.zip | |
* editfns.c: Integer and memory overflow fixes.
(set_time_zone_rule): Don't assume environment length fits in int.
(message_length): Now ptrdiff_t, not int.
(Fmessage_box): Don't update size until allocation succeeds.
Don't assume message length fits in int.
(Fformat): Use ptrdiff_t, not EMACS_INT, where ptrdiff_t will do.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6cf9a1f8622..b823dd54498 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2011-07-28 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-07-28 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * editfns.c: Integer and memory overflow fixes. | ||
| 4 | (set_time_zone_rule): Don't assume environment length fits in int. | ||
| 5 | (message_length): Now ptrdiff_t, not int. | ||
| 6 | (Fmessage_box): Don't update size until allocation succeeds. | ||
| 7 | Don't assume message length fits in int. | ||
| 8 | (Fformat): Use ptrdiff_t, not EMACS_INT, where ptrdiff_t will do. | ||
| 9 | |||
| 3 | * doc.c: Integer and memory overflow fixes. | 10 | * doc.c: Integer and memory overflow fixes. |
| 4 | (get_doc_string_buffer_size): Now ptrdiff_t, not int. | 11 | (get_doc_string_buffer_size): Now ptrdiff_t, not int. |
| 5 | (get_doc_string): Check for size calculation overflow. | 12 | (get_doc_string): Check for size calculation overflow. |