diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-01 22:17:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-01 22:17:05 +0100 |
commit | 66727e16079fbac6db3897b5c3736ec9fba995bb (patch) | |
tree | 7cc5cab485cb636ccf3b2aaf546b049492c5c375 /src/testdir | |
parent | 5a66dfb25eb478c26176d993393a3b1b124edb39 (diff) |
patch 8.0.0398: illegal memory access with "t"v8.0.0398
Problem: Illegal memory access with "t".
Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes #1528)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_search.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim index 040a8098a8..1a114c44c0 100644 --- a/src/testdir/test_search.vim +++ b/src/testdir/test_search.vim @@ -294,3 +294,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 |