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:
Jan Edmund Lazo 2020-02-22 15:47:41 -05:00
parent 55e3f21110
commit fa6518b1da
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15
1 changed files with 2 additions and 1 deletions

View File

@ -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