Mercurial > vim
view src/testdir/crash/bt_quickfix_poc @ 33150:cdc797578b8b v9.0.1857
patch 9.0.1857: [security] heap-use-after-free in is_qf_win()
Commit: https://github.com/vim/vim/commit/fc68299d436cf87453e432daa77b6d545df4d7ed
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Sep 3 20:20:52 2023 +0200
patch 9.0.1857: [security] heap-use-after-free in is_qf_win()
Problem: heap-use-after-free in is_qf_win()
Solution: Check buffer is valid before accessing it
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 03 Sep 2023 20:30:02 +0200 |
parents | |
children |
line wrap: on
line source
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()