diff options
| author | Paul Eggert | 2015-02-09 11:25:35 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-02-09 11:26:33 -0800 |
| commit | 21d1f8b85eec8fc1f87bb30398e449f6b20b6ecc (patch) | |
| tree | b14fbc9f5a660d3d4778dd84e36076fe98a5fd4c /src/ChangeLog | |
| parent | b7028f6736132d8e29fc656e700a17163499d49b (diff) | |
| download | emacs-21d1f8b85eec8fc1f87bb30398e449f6b20b6ecc.tar.gz emacs-21d1f8b85eec8fc1f87bb30398e449f6b20b6ecc.zip | |
Check for some overflows in vertical-motion
* indent.c (window_column_x): New function.
(Fvertical_motion): Use it to protect against integer overflow
when computing column. Prefer extract_float to doing things by hand.
Avoid unnecessary casts.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c5931b635e8..77589f8d949 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2015-02-09 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2015-02-09 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Check for some overflows in vertical-motion | ||
| 4 | * indent.c (window_column_x): New function. | ||
| 5 | (Fvertical_motion): Use it to protect against integer overflow | ||
| 6 | when computing column. Prefer extract_float to doing things by hand. | ||
| 7 | Avoid unnecessary casts. | ||
| 8 | |||
| 3 | * xfont.c: Minor style fixes | 9 | * xfont.c: Minor style fixes |
| 4 | (xfont_list_pattern): Reindent to 80 cols and use Emacs-style comments. | 10 | (xfont_list_pattern): Reindent to 80 cols and use Emacs-style comments. |
| 5 | Redo loop so that less indentation is needed. | 11 | Redo loop so that less indentation is needed. |