mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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
|
endfunc
|
||||||
|
|
||||||
func Test_search_special()
|
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"
|
exe "norm /\x80PS"
|
||||||
endfunc
|
endfunc
|
||||||
|
Loading…
Reference in New Issue
Block a user