forked from aniani/vim
patch 9.0.1416: crash when collection is modified when using filter()
Problem: Crash when collection is modified when using filter(). Solution: Lock the list/dict/blob. (Ernie Rael, closes #12183)
This commit is contained in:
committed by
Bram Moolenaar
parent
7c4516fe93
commit
e6d40dcdc7
@@ -20,7 +20,7 @@ int check_blob_range(long bloblen, varnumber_T n1, varnumber_T n2, int quiet);
|
||||
int blob_set_range(blob_T *dest, long n1, long n2, typval_T *src);
|
||||
void blob_add(typval_T *argvars, typval_T *rettv);
|
||||
void blob_remove(typval_T *argvars, typval_T *rettv, char_u *arg_errmsg);
|
||||
void blob_filter_map(blob_T *blob_arg, filtermap_T filtermap, typval_T *expr, typval_T *rettv);
|
||||
void blob_filter_map(blob_T *blob_arg, filtermap_T filtermap, typval_T *expr, char_u *arg_errmsg, typval_T *rettv);
|
||||
void blob_insert_func(typval_T *argvars, typval_T *rettv);
|
||||
void blob_reduce(typval_T *argvars, typval_T *expr, typval_T *rettv);
|
||||
void blob_reverse(blob_T *b, typval_T *rettv);
|
||||
|
||||
Reference in New Issue
Block a user