patch 9.0.1916: Crash when allocating large terminal screen

Problem:  Crash when allocating large terminal screen
Solution: Don't allow values > 1000 for terminal
          screen columns and rows

closes: #13126

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2023-09-19 21:05:20 +02:00
parent 476733f3d0
commit aa64ba1587
5 changed files with 40 additions and 1 deletions

View File

@ -183,7 +183,7 @@ If you want to highlight exactly the same area as the last time, you can use
CTRL-C In Visual mode: Stop Visual mode. When insert mode is
pending (the mode message shows
"-- (insert) VISUAL --"), it is also stopped.
On MS-Windows, you may need to press CTRL-Break
On MS-Windows, you may need to press CTRL-Break
|dos-CTRL-Break|.
==============================================================================