Mercurial > vim
comparison src/version.c @ 19053:cec4da73951a v8.2.0087
patch 8.2.0087: crash in command line expansion when out of memory
Commit: https://github.com/vim/vim/commit/61d7c0d52ca40ab8488c36e619d1e46503affd0b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 5 14:38:40 2020 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Jan 2020 14:45:04 +0100 |
parents | c6248ef5b41b |
children | 8645b73b3645 |
comparison
equal
deleted
inserted
replaced
19052:c7102f0d810a | 19053:cec4da73951a |
---|---|
740 NULL | 740 NULL |
741 }; | 741 }; |
742 | 742 |
743 static int included_patches[] = | 743 static int included_patches[] = |
744 { /* Add new patch number below this line */ | 744 { /* Add new patch number below this line */ |
745 /**/ | |
746 87, | |
745 /**/ | 747 /**/ |
746 86, | 748 86, |
747 /**/ | 749 /**/ |
748 85, | 750 85, |
749 /**/ | 751 /**/ |