mirror of
https://github.com/neovim/neovim.git
synced 2025-10-10 03:46:31 +00:00
vim-patch:8.0.1468: illegal memory access in del_bytes()
Problem: Illegal memory access in del_bytes().
Solution: Check for negative byte count. (Christian Brabandt, closes vim/vim#2466)
191f18bad0
This commit is contained in:
@@ -610,7 +610,7 @@ static bool emsgfv(const char *fmt, va_list ap)
|
||||
/// detected when fuzzing vim.
|
||||
void iemsg(const char *s)
|
||||
{
|
||||
msg((char_u *)s);
|
||||
emsg((char_u *)s);
|
||||
#ifdef ABORT_ON_INTERNAL_ERROR
|
||||
abort();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user