]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.1483: searchpair() might return an invalid value on timeout v8.0.1483
authorBram Moolenaar <Bram@vim.org>
Fri, 9 Feb 2018 15:04:25 +0000 (16:04 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 9 Feb 2018 15:04:25 +0000 (16:04 +0100)
commit9d32276b52a63fccfae681f0d1d6ccb66efec1c0
tree59241efa93b04e21ca55900de2eeb6c8b5504426
parent02ae9b4a93deea4993d7abe20485f91f1cce5e36
patch 8.0.1483: searchpair() might return an invalid value on timeout

Problem:    Searchpair() might return an invalid value on timeout.
Solution:   When the second search times out, do not accept a match from the
            first search. (Daniel Hahler, closes #2552)
src/search.c
src/version.c