mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 09:56:31 +00: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user