commit | 04b7b4bf7fe57375bf3c4ed3fd087fc0bb0147ba | [log] [tgz] |
---|---|---|
author | kuuote <znmxodq1@gmail.com> | Fri Dec 03 13:57:00 2021 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Dec 03 13:57:00 2021 +0000 |
tree | 5aeffd4b0b6e1c4b286488ab1ff28bd16db76452 | |
parent | c14b57c0795671bafca14433bc376acfe6135a3a [diff] [blame] |
patch 8.2.3728: internal error when passing range() to list2blob() Problem: Internal error when passing range() to list2blob(). Solution: Materialize the list first. (closes #9262)
diff --git a/src/blob.c b/src/blob.c index 04319f8..2833c1a 100644 --- a/src/blob.c +++ b/src/blob.c
@@ -526,6 +526,7 @@ if (l == NULL) return; + CHECK_LIST_MATERIALIZE(l); FOR_ALL_LIST_ITEMS(l, li) { int error;