Files
neovim/test/functional
James McCoy de50c003d5 Use vim_strchr(s, c) when c may be NUL (#6656)
As part of the refactoring in #5119, some vim_strchr() were changed to
strchr().  However, vim_strchr() behaves differently than strchr() when
c is NUL, returning NULL instead of a pointer to the NUL.

Revert the strchr() calls where it isn't known whether c is NUL, since
this causes a semantic change the surrounding code doesn't expect.  In
the case of #6650, this led to a heap overrun.

Closes #6650
2017-05-03 10:12:38 +02:00
..
2017-04-09 03:31:13 +03:00
2017-05-01 22:13:23 +02:00
2017-04-09 03:31:13 +03:00
2017-03-29 10:08:45 +03:00
2017-04-28 19:14:34 +02:00
2016-06-10 21:50:49 +03:00