diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-28 20:47:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-28 20:47:49 +0000 |
commit | 652dee448618589de5528a9e9a36995803f5557a (patch) | |
tree | a659b1d0a7f5409943f2c626e2a87cde520c3733 /src/vim.h | |
parent | 14cbf77845624e4bfc28a65a5debb81864cba2cf (diff) |
patch 8.2.4245: ":retab 0" may cause illegal memory accessv8.2.4245
Problem: ":retab 0" may cause illegal memory access.
Solution: Limit the value of 'tabstop' to 10000.
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2085,6 +2085,8 @@ typedef int sock_T; #define DICT_MAXNEST 100 // maximum nesting of lists and dicts +#define TABSTOP_MAX 9999 + #ifdef FEAT_CLIPBOARD // VIM_ATOM_NAME is the older Vim-specific selection type for X11. Still |