mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
a589156b4d
Problem: heap-use-after-free in is_qf_win()
Solution: Check buffer is valid before accessing it
fc68299d43
Co-authored-by: Christian Brabandt <cb@256bit.org>
9 lines
245 B
Plaintext
9 lines
245 B
Plaintext
comman!-narg=* Xexpr <mods>lex<args>
|
|
auto BufReadPre * exe"sn" ..expand("<abuf>")
|
|
fu Xautocmd_changelist()
|
|
cal writefile(['Xtestfile2:4:4'],'Xerr')
|
|
sil! edi Xerr
|
|
Xexpr 'Xtestfile:4:4'
|
|
endf
|
|
call Xautocmd_changelist()
|
|
call Xautocmd_changelist() |