mirror of
https://github.com/neovim/neovim.git
synced 2026-01-19 11:40:53 +10: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.