mirror of
https://github.com/neovim/neovim.git
synced 2026-05-19 11:31:12 +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.