vim-patch:8.2.3884: crash when clearing the argument list while using it

Problem:    Crash when clearing the argument list while using it.
Solution:   Lock the argument list for ":all".
6f98371532
This commit is contained in:
zeertzjq
2022-10-05 21:27:58 +08:00
parent a66b12378b
commit dcdb7dca6a
2 changed files with 11 additions and 0 deletions

View File

@@ -607,4 +607,11 @@ func Test_all_not_allowed_from_cmdwin()
au! BufEnter
endfunc
func Test_clear_arglist_in_all()
n 0 00 000 0000 00000 000000
au! * 0 n 0
all
au! *
endfunc
" vim: shiftwidth=2 sts=2 expandtab