aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2012-11-12 17:25:34 +0200
committerEli Zaretskii2012-11-12 17:25:34 +0200
commit325202732506c35fec0a7bd772d218eaf0ac659f (patch)
tree52dd6a03fab8b8ab3bd61db62a184d0f8e0b10c6 /src/ChangeLog
parent2e6625b527f5ad134e28af5c2eba0349c640c942 (diff)
downloademacs-325202732506c35fec0a7bd772d218eaf0ac659f.tar.gz
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 'src/ChangeLog')
-rw-r--r--src/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9e0f92f557e..494b2179516 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12012-11-12 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (decode_mode_spec): Limit the value of WIDTH argument
4 passed to pint2str and pint2hrstr to be at most the size of the
5 frame's decode_mode_spec_buffer. This avoids crashes with very
6 large values of FIELD_WIDTH argument to decode_mode_spec.
7 (Bug#12867)
8
12012-11-07 Martin Rudalics <rudalics@gmx.at> 92012-11-07 Martin Rudalics <rudalics@gmx.at>
2 10
3 * window.c (Fsplit_window_internal): Set combination limit of 11 * window.c (Fsplit_window_internal): Set combination limit of