neovim/test/old/testdir/crash/bt_quickfix1_poc
zeertzjq bbb363f4bc vim-patch:partial:9.0.1859: heap-use-after-free in bt_normal()
Problem:  heap-use-after-free in bt_normal()
Solution: check that buffer is still valid

6e60cf444a

Test change only.

Co-authored-by: Christian Brabandt <cb@256bit.org>
2023-11-17 09:54:03 +08:00

6 lines
113 B
Plaintext

au BufReadPre * exe 'sn' .. expand("<abuf>")
call writefile([''],'X')
sil! e X
call writefile([''],'X')
sil! e X