]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1083: crash when using reduce() on a NULL list v8.2.1083
authorBram Moolenaar <Bram@vim.org>
Mon, 29 Jun 2020 18:09:36 +0000 (20:09 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 29 Jun 2020 18:09:36 +0000 (20:09 +0200)
commitfda20c4cc59008264676a6deb6a3095ed0c248e0
tree97f092b03a498eab1d3c063bb283980ceb2d76db
parent91639195eff7b29213a0a3c279ac46e46ac76edd
patch 8.2.1083: crash when using reduce() on a NULL list

Problem:    Crash when using reduce() on a NULL list.
Solution:   Only access the list when not NULL.
src/list.c
src/testdir/test_listdict.vim
src/version.c