Mercurial > vim
comparison src/version.c @ 19077:568cce19fd2b v8.2.0099
patch 8.2.0099: use of NULL pointer when out of memory
Commit: https://github.com/vim/vim/commit/8b7aa2f9b238df916c161cdacda032c25d72a0ae
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 7 21:05:49 2020 +0100
patch 8.2.0099: use of NULL pointer when out of memory
Problem: Use of NULL pointer when out of memory.
Solution: Check for NULL pointer. (Dominique Pelle, closes https://github.com/vim/vim/issues/5449)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 07 Jan 2020 21:15:06 +0100 |
parents | af1eca322b9e |
children | 23df4b83fd31 |
comparison
equal
deleted
inserted
replaced
19076:7d20bed8cd8c | 19077:568cce19fd2b |
---|---|
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 99, | |
745 /**/ | 747 /**/ |
746 98, | 748 98, |
747 /**/ | 749 /**/ |
748 97, | 750 97, |
749 /**/ | 751 /**/ |