diff options
| author | Paul Eggert | 2013-12-12 11:23:25 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-12-12 11:23:25 -0800 |
| commit | 4618713ae48aac51c6f1a2474cc981f32c2bbede (patch) | |
| tree | 11ede5202ee196ab2fb658a6c5a4bcffc4dc413b /src/ChangeLog | |
| parent | 01633a17e74e638f31ec71c3587481f0084574f2 (diff) | |
| download | emacs-4618713ae48aac51c6f1a2474cc981f32c2bbede.tar.gz emacs-4618713ae48aac51c6f1a2474cc981f32c2bbede.zip | |
Avoid undefined behavior with huge regexp interval counts.
* regex.c (GET_INTERVAL_COUNT): Rename from 'GET_UNSIGNED_NUMBER',
since it's now specialized to interval counts. All uses changed.
Do not assume wrapraound on signed integer overflow.
(regex_compile): Simplify based on the above changes.
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 839630e93ea..7bbcb345a0f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2013-12-12 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Avoid undefined behavior with huge regexp interval counts. | ||
| 4 | * regex.c (GET_INTERVAL_COUNT): Rename from 'GET_UNSIGNED_NUMBER', | ||
| 5 | since it's now specialized to interval counts. All uses changed. | ||
| 6 | Do not assume wrapraound on signed integer overflow. | ||
| 7 | (regex_compile): Simplify based on the above changes. | ||
| 8 | |||
| 1 | 2013-12-12 Eli Zaretskii <eliz@gnu.org> | 9 | 2013-12-12 Eli Zaretskii <eliz@gnu.org> |
| 2 | 10 | ||
| 3 | Support file names on MS-Windows that use characters outside of | 11 | Support file names on MS-Windows that use characters outside of |