diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-30 17:51:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-30 17:51:51 +0200 |
commit | e057d40d967a8223a34fe5b56ffb00dfd06e4cd4 (patch) | |
tree | 3c14b2bf97d6bb23721a33dfba7704b5fa91f6b5 /src/os_unix.c | |
parent | 5a4d51e6929b1bb615eaf212a091384cc266b8d7 (diff) | |
download | vim-git-e057d40d967a8223a34fe5b56ffb00dfd06e4cd4.tar.gz |
updated for version 7.3.1278v7.3.1278
Problem: When someone sets the screen size to a huge value with "stty" Vim
runs out of memory before reducing the size.
Solution: Limit Rows and Columns in more places.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 8a7ae10b0..2223faf77 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3777,6 +3777,7 @@ mch_get_shellsize() Rows = rows; Columns = columns; + limit_screen_size(); return OK; } |