forked from aniani/vim
patch 8.2.0827: Vim9: crash in :defcompile
Problem: Vim9: crash in :defcompile. Solution: Fix off-by-one error.
This commit is contained in:
@@ -3348,6 +3348,7 @@ ex_defcompile(exarg_T *eap UNUSED)
|
||||
hi = func_hashtab.ht_array;
|
||||
ht_used = func_hashtab.ht_used;
|
||||
todo = (int)ht_used;
|
||||
--hi;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user