diff options
| author | Eli Zaretskii | 2013-10-11 14:01:48 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-10-11 14:01:48 +0300 |
| commit | 48621e69064ea74eef6530d299cdc3548e170ce2 (patch) | |
| tree | 783dc060c8f9dda66307e6f561d5dc178f0d31ec /src/ChangeLog | |
| parent | b9ff995e4c091ca99c8752bb996e155ce7147a00 (diff) | |
| download | emacs-48621e69064ea74eef6530d299cdc3548e170ce2.tar.gz emacs-48621e69064ea74eef6530d299cdc3548e170ce2.zip | |
Fix bug #15575 with crashes in TTY menus.
src/xdisp.c (display_tty_menu_item): Make sure we never write beyond
the end of the frame's glyph matrix.
src/term.c (tty_menu_display): Don't move cursor while overwriting
frame's glyphs with menu items. Limit the number of items
displayed to what can be shown on the available screen lines,
excluding the echo area.
(tty_menu_activate): Limit the Y coordinate allowed by
read_menu_input to the last screen line used for menu display.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index df44bca7b1c..6947c5eddd5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2013-10-11 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (display_tty_menu_item): Make sure we never write beyond | ||
| 4 | the end of the frame's glyph matrix. (Bug#15575) | ||
| 5 | |||
| 6 | * term.c (tty_menu_display): Don't move cursor while overwriting | ||
| 7 | frame's glyphs with menu items. Limit the number of items | ||
| 8 | displayed to what can be shown on the available screen lines, | ||
| 9 | excluding the echo area. | ||
| 10 | (tty_menu_activate): Limit the Y coordinate allowed by | ||
| 11 | read_menu_input to the last screen line used for menu display. | ||
| 12 | |||
| 1 | 2013-10-11 Paul Eggert <eggert@cs.ucla.edu> | 13 | 2013-10-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 14 | ||
| 3 | * lisp.h (eassume): New macro. | 15 | * lisp.h (eassume): New macro. |