comparison src/gen_opt_test.vim @ 10962:6da4287fd735 v8.0.0370

patch 8.0.0370: invalid memory access when setting wildchar empty commit https://github.com/vim/vim/commit/a12e40351d1357687e8b5dc3122fffef705bdc08 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 25 21:37:57 2017 +0100 patch 8.0.0370: invalid memory access when setting wildchar empty Problem: Invalid memory access when setting wildchar empty. Solution: Avoid going over the end of the option value. (Dominique Pelle, closes #1509) Make option test check all number options with empty value.
author Christian Brabandt <cb@256bit.org>
date Sat, 25 Feb 2017 21:45:04 +0100
parents d7b78cbf85e4
children fdf42c56bb2e
comparison
equal deleted inserted replaced
10961:fb50279310e3 10962:6da4287fd735
44 \ 'timeoutlen': [[0, 8, 99999], [-1]], 44 \ 'timeoutlen': [[0, 8, 99999], [-1]],
45 \ 'titlelen': [[0, 1, 8, 9999], [-1]], 45 \ 'titlelen': [[0, 1, 8, 9999], [-1]],
46 \ 'updatecount': [[0, 1, 8, 9999], [-1]], 46 \ 'updatecount': [[0, 1, 8, 9999], [-1]],
47 \ 'updatetime': [[0, 1, 8, 9999], [-1]], 47 \ 'updatetime': [[0, 1, 8, 9999], [-1]],
48 \ 'verbose': [[-1, 0, 1, 8, 9999], []], 48 \ 'verbose': [[-1, 0, 1, 8, 9999], []],
49 \ 'wildcharm': [[-1, 0, 100], []],
49 \ 'winheight': [[1, 10, 999], [-1, 0]], 50 \ 'winheight': [[1, 10, 999], [-1, 0]],
50 \ 'winminheight': [[0, 1], [-1]], 51 \ 'winminheight': [[0, 1], [-1]],
51 \ 'winminwidth': [[0, 1, 10], [-1]], 52 \ 'winminwidth': [[0, 1, 10], [-1]],
52 \ 'winwidth': [[1, 10, 999], [-1, 0]], 53 \ 'winwidth': [[1, 10, 999], [-1, 0]],
53 \ 54 \
135 \ 'pythonthreedll': [[], []], 136 \ 'pythonthreedll': [[], []],
136 \ 'pyxversion': [[], []], 137 \ 'pyxversion': [[], []],
137 \ 'rubydll': [[], []], 138 \ 'rubydll': [[], []],
138 \ 'tcldll': [[], []], 139 \ 'tcldll': [[], []],
139 \ 140 \
140 \ 'othernum': [[-1, 0, 100], []], 141 \ 'othernum': [[-1, 0, 100], ['']],
141 \ 'otherstring': [['', 'xxx'], []], 142 \ 'otherstring': [['', 'xxx'], []],
142 \} 143 \}
143 144
144 1 145 1
145 /struct vimoption options 146 /struct vimoption options