diff options
| author | ckelsel <ckelsel@hotmail.com> | 2018-01-15 19:27:10 +0800 |
|---|---|---|
| committer | ckelsel <ckelsel@hotmail.com> | 2018-01-15 19:41:01 +0800 |
| commit | 63bb7198dfded8a5c37195ebc8503516a1eda0f3 (patch) | |
| tree | b1ef735eea420b072ef2d4a945545547f33aff09 /src/nvim/testdir | |
| parent | 9ddeb6e187e6ef6045bf037e4225dc46c8efb693 (diff) | |
| download | rneovim-63bb7198dfded8a5c37195ebc8503516a1eda0f3.tar.gz rneovim-63bb7198dfded8a5c37195ebc8503516a1eda0f3.tar.bz2 rneovim-63bb7198dfded8a5c37195ebc8503516a1eda0f3.zip | |
vim-patch:8.0.0398: illegal memory access with "t"
Problem: Illegal memory access with "t".
Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes vim/vim#1528)
https://github.com/vim/vim/commit/66727e16079fbac6db3897b5c3736ec9fba995bb
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_search.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_search.vim b/src/nvim/testdir/test_search.vim index a333e7f206..03112df46f 100644 --- a/src/nvim/testdir/test_search.vim +++ b/src/nvim/testdir/test_search.vim @@ -298,3 +298,10 @@ func Test_searchpair() q! endfunc +func Test_searchc() + " These commands used to cause memory overflow in searchc(). + new + norm ixx + exe "norm 0t\u93cf" + bw! +endfunc |