comparison src/testdir/test_search.vim @ 19151:f12eda320c78 v8.2.0135

patch 8.2.0135: bracketed paste can still cause invalid memory access Commit: https://github.com/vim/vim/commit/fe4bbac1166f2e4e3fa18cb966ec7305198c8176 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 20 21:12:20 2020 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Jan 2020 21:15:04 +0100
parents 06ef1e438ac8
children 6fd567c927c0
comparison
equal deleted inserted replaced
19150:c30587dcce5d 19151:f12eda320c78
1449 1449
1450 bwipe! 1450 bwipe!
1451 endfunc 1451 endfunc
1452 1452
1453 func Test_search_special() 1453 func Test_search_special()
1454 " this was causing illegal memory access 1454 " this was causing illegal memory access and an endless loop
1455 set t_PE=
1455 exe "norm /\x80PS" 1456 exe "norm /\x80PS"
1456 endfunc 1457 endfunc