mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
@@ -653,7 +653,7 @@ int searchit(
|
||||
}
|
||||
if (matchcol == 0 && (options & SEARCH_START))
|
||||
break;
|
||||
if (ptr[matchcol] == NUL
|
||||
if (STRLEN(ptr) <= (size_t)matchcol || ptr[matchcol] == NUL
|
||||
|| (nmatched = vim_regexec_multi(®match,
|
||||
win, buf, lnum + matchpos.lnum,
|
||||
matchcol,
|
||||
|
Reference in New Issue
Block a user