]> granicus.if.org Git - vim/commit
patch 8.2.0087: crash in command line expansion when out of memory v8.2.0087
authorBram Moolenaar <Bram@vim.org>
Sun, 5 Jan 2020 13:38:40 +0000 (14:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 5 Jan 2020 13:38:40 +0000 (14:38 +0100)
commit61d7c0d52ca40ab8488c36e619d1e46503affd0b
tree89d987f2a9269a8f173130fc54ee33894a2b6892
parentab782c5b6f127b84f56e546004352de66e7cf66b
patch 8.2.0087: crash in command line expansion when out of memory

Problem:    Crash in command line expansion when out of memory.
Solution:   Check for NULL pointer.  Also make ExpandGeneric() static.
            (Dominique Pelle, closes #5437)
src/cmdexpand.c
src/proto/cmdexpand.pro
src/version.c