vim-patch:8.2.0135: bracketed paste can still cause invalid memory access
Problem: Bracketed paste can still cause invalid memory access. (Dominique
Pelle)
Solution: Check for NULL pointer.
fe4bbac116
This commit is contained in:
parent
55e3f21110
commit
fa6518b1da
|
@ -700,6 +700,7 @@ func Test_search_display_pattern()
|
|||
endfunc
|
||||
|
||||
func Test_search_special()
|
||||
" this was causing illegal memory access
|
||||
" this was causing illegal memory access and an endless loop
|
||||
set t_PE=
|
||||
exe "norm /\x80PS"
|
||||
endfunc
|
||||
|
|
Loading…
Reference in New Issue