comparison src/testdir/test_quickfix.vim @ 14954:69d2749a6a2f v8.1.0488

patch 8.1.0488: using freed memory in quickfix code commit https://github.com/vim/vim/commit/9f84ded38b62c82a4ee57b54f403b1b185ed8170 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 20 20:54:02 2018 +0200 patch 8.1.0488: using freed memory in quickfix code Problem: Using freed memory in quickfix code. (Dominique Pelle) Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists until it is safe. (Yegappan Lakshmanan, closes #3538)
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Oct 2018 21:00:06 +0200
parents f508bb2fb808
children 940def6df43f
comparison
equal deleted inserted replaced
14953:fde12f88d9cc 14954:69d2749a6a2f
3218 augroup END 3218 augroup END
3219 lexpr "" 3219 lexpr ""
3220 augroup QF_Test 3220 augroup QF_Test
3221 au! 3221 au!
3222 augroup END 3222 augroup END
3223
3223 enew | only 3224 enew | only
3225 augroup QF_Test
3226 au!
3227 au BufNew * call setloclist(0, [], 'f')
3228 augroup END
3229 lexpr 'x:1:x'
3230 augroup QF_Test
3231 au!
3232 augroup END
3233
3234 enew | only
3235 lexpr ''
3236 lopen
3237 augroup QF_Test
3238 au!
3239 au FileType * call setloclist(0, [], 'f')
3240 augroup END
3241 lexpr ''
3242 augroup QF_Test
3243 au!
3244 augroup END
3224 endfunc 3245 endfunc
3225 3246
3226 " The following test used to crash Vim 3247 " The following test used to crash Vim
3227 func Test_lvimgrep_crash() 3248 func Test_lvimgrep_crash()
3228 sv Xtest 3249 sv Xtest