diff options
| author | Paul Eggert | 2011-06-12 19:02:16 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-12 19:02:16 -0700 |
| commit | 0fed43f396ce7838bdc591cec8b01be95fb9613a (patch) | |
| tree | f5ba32fcd7cce2a46f1fd1da24c45c0149552752 /src/ChangeLog | |
| parent | 8fd02eb7d30a7e0e98cc863e0f3cb81a954fe8a9 (diff) | |
| download | emacs-0fed43f396ce7838bdc591cec8b01be95fb9613a.tar.gz emacs-0fed43f396ce7838bdc591cec8b01be95fb9613a.zip | |
* data.c (Faset): If ARRAY is a string, check that NEWELT is a char.
Without this fix, on a 64-bit host (aset S 0 4294967386) would
incorrectly succeed when S was a string, because 4294967386 was
truncated before it was used.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index db01d9f291f..9b0ff3e7339 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2011-06-13 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * data.c (Faset): If ARRAY is a string, check that NEWELT is a char. | ||
| 4 | Without this fix, on a 64-bit host (aset S 0 4294967386) would | ||
| 5 | incorrectly succeed when S was a string, because 4294967386 was | ||
| 6 | truncated before it was used. | ||
| 7 | |||
| 3 | * chartab.c (Fchar_table_range): Use CHARACTERP to check range. | 8 | * chartab.c (Fchar_table_range): Use CHARACTERP to check range. |
| 4 | Otherwise, an out-of-range integer could cause undefined behavior | 9 | Otherwise, an out-of-range integer could cause undefined behavior |
| 5 | on a 64-bit host. | 10 | on a 64-bit host. |