diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2011-05-15 22:08:59 -0700 | 
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-05-15 22:08:59 -0700 | 
| commit | 2b4560a850d2ea0767d0a3c4db19e4468f61b4eb (patch) | |
| tree | ca99d199897a9289dfff5a1f492341402d79ae69 /lisp/emacs-lisp | |
| parent | cb93f9bef01e95b17b3d7b8786c103505355d98c (diff) | |
| download | emacs-2b4560a850d2ea0767d0a3c4db19e4468f61b4eb.tar.gz | |
* character.c (lisp_string_width): Check for string overflow.
Use EMACS_INT, not int, for string indexes and lengths; in
particular, 2nd arg is now EMACS_INT, not int.  Do not crash if
the resulting string length overflows an EMACS_INT; instead,
report a string overflow if no precision given.  When checking for
precision exhaustion, use a check that cannot possibly have
integer overflow.  (Bug#8675)
* character.h (lisp_string_width): Adjust to new signature.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions
