mirror of
https://github.com/neovim/neovim.git
synced 2026-08-21 14:51:10 +00:00
While in the `while` loop at line 603 of function searchit(), memory address ptr+matchpos is always valid. The strlen() check should not be necessary to verify this. Also added a check to prevent reading a line after the end of the buffer.