diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-11-12 17:25:34 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-11-12 17:25:34 +0200 |
commit | 325202732506c35fec0a7bd772d218eaf0ac659f (patch) | |
tree | 52dd6a03fab8b8ab3bd61db62a184d0f8e0b10c6 /lisp/emacs-lisp/debug.el | |
parent | 2e6625b527f5ad134e28af5c2eba0349c640c942 (diff) | |
download | emacs-325202732506c35fec0a7bd772d218eaf0ac659f.tar.gz emacs-325202732506c35fec0a7bd772d218eaf0ac659f.tar.bz2 emacs-325202732506c35fec0a7bd772d218eaf0ac659f.zip |
Fix bug #12867 with crashes due to large field width in mode-line format.
src/xdisp.c (decode_mode_spec): Limit the value of WIDTH argument
passed to pint2str and pint2hrstr to be at most the size of the
frame's decode_mode_spec_buffer. This avoids crashes with very
large values of FIELD_WIDTH argument to decode_mode_spec.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions