mirror of
https://github.com/vim/vim.git
synced 2025-11-16 23:24:03 -05:00
patch 8.2.4959: using NULL regexp program
Problem: Using NULL regexp program. Solution: Check for regexp program becoming NULL in more places.
This commit is contained in:
@@ -419,6 +419,12 @@ func Test_buf_pattern_invalid()
|
||||
vsplit 00000000000000000000000000
|
||||
silent! buf [0--]\&\zs*\zs*e
|
||||
bwipe!
|
||||
|
||||
" similar case with different code path
|
||||
split 0
|
||||
edit ÿ
|
||||
silent! buf [0--]\&\zs*\zs*0
|
||||
bwipe!
|
||||
endfunc
|
||||
|
||||
" Test for the 'maxmem' and 'maxmemtot' options
|
||||
|
||||
Reference in New Issue
Block a user