]> granicus.if.org Git - vim/commit
patch 8.2.1945: crash when passing NULL function to reduce() v8.2.1945
authorBram Moolenaar <Bram@vim.org>
Tue, 3 Nov 2020 17:20:19 +0000 (18:20 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 3 Nov 2020 17:20:19 +0000 (18:20 +0100)
commit0d90e728fe089ff1bb34d6a17f5591a96b57f734
treec4e8d1b172ee4660250ab06fa1d9781553e7f1c7
parent6fd3a4ba2320c4a95f02daef5f2ac76d3105d013
patch 8.2.1945: crash when passing NULL function to reduce()

Problem:    Crash when passing NULL function to reduce().
Solution:   Check for NULL pointer and give an error. (Dominique PellĂ©,
            closes #7243)
src/errors.h
src/list.c
src/testdir/test_listdict.vim
src/version.c