diff options
author | kuuote <znmxodq1@gmail.com> | 2021-12-03 13:57:00 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-03 13:57:00 +0000 |
commit | 04b7b4bf7fe57375bf3c4ed3fd087fc0bb0147ba (patch) | |
tree | 5aeffd4b0b6e1c4b286488ab1ff28bd16db76452 /src/blob.c | |
parent | c14b57c0795671bafca14433bc376acfe6135a3a (diff) | |
download | vim-git-04b7b4bf7fe57375bf3c4ed3fd087fc0bb0147ba.tar.gz |
patch 8.2.3728: internal error when passing range() to list2blob()v8.2.3728
Problem: Internal error when passing range() to list2blob().
Solution: Materialize the list first. (closes #9262)
Diffstat (limited to 'src/blob.c')
-rw-r--r-- | src/blob.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blob.c b/src/blob.c index 04319f8b1..2833c1a8c 100644 --- a/src/blob.c +++ b/src/blob.c @@ -526,6 +526,7 @@ f_list2blob(typval_T *argvars, typval_T *rettv) if (l == NULL) return; + CHECK_LIST_MATERIALIZE(l); FOR_ALL_LIST_ITEMS(l, li) { int error; |