mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.816
Problem: Invalid memory access when doing ":fun X(".
Solution: Check for missing ')'. (Dominique Pelle)
dd8a5286e1
This commit is contained in:
parent
105f98fbf8
commit
3c0a082894
@ -19626,7 +19626,10 @@ void ex_function(exarg_T *eap)
|
||||
break;
|
||||
}
|
||||
}
|
||||
++p; /* skip the ')' */
|
||||
if (*p != ')') {
|
||||
goto erret;
|
||||
}
|
||||
++p; // skip the ')'
|
||||
|
||||
/* find extra arguments "range", "dict" and "abort" */
|
||||
for (;; ) {
|
||||
|
@ -472,7 +472,7 @@ static int included_patches[] = {
|
||||
// 819,
|
||||
// 818,
|
||||
// 817,
|
||||
// 816,
|
||||
816,
|
||||
815,
|
||||
814,
|
||||
813,
|
||||
|
Loading…
Reference in New Issue
Block a user