]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3662: illegal memory access if malloc() fails v8.2.3662
authorBram Moolenaar <Bram@vim.org>
Wed, 24 Nov 2021 15:13:26 +0000 (15:13 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 24 Nov 2021 15:13:26 +0000 (15:13 +0000)
commitcf1e0239ceec96396fa51f494e442c799ccd45fb
tree1fc7696831f8f61c9863b43ef7573291a2bb9bdb
parent8bc07e800c2af36686aadd4178cc2671f5c454d4
patch 8.2.3662: illegal memory access if malloc() fails

Problem:    Illegal memory access if malloc() fails.
Solution:   Check 'foldmethod' is not empty. (closes #9207)
src/fold.c
src/version.c