Mercurial > vim
comparison src/version.c @ 16040:13ab270dd68d v8.1.1025
patch 8.1.1025: checking NULL pointer after addition
commit https://github.com/vim/vim/commit/64c8ed366de995a01ca1a072a6943ede0d7bb932
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 20 21:18:34 2019 +0100
patch 8.1.1025: checking NULL pointer after addition
Problem: Checking NULL pointer after addition. (Coverity)
Solution: First check for NULL, then add the column.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 20 Mar 2019 21:30:04 +0100 |
parents | e7b18ce9ea2d |
children | 7952be788a49 |
comparison
equal
deleted
inserted
replaced
16039:64a87f94518e | 16040:13ab270dd68d |
---|---|
777 NULL | 777 NULL |
778 }; | 778 }; |
779 | 779 |
780 static int included_patches[] = | 780 static int included_patches[] = |
781 { /* Add new patch number below this line */ | 781 { /* Add new patch number below this line */ |
782 /**/ | |
783 1025, | |
782 /**/ | 784 /**/ |
783 1024, | 785 1024, |
784 /**/ | 786 /**/ |
785 1023, | 787 1023, |
786 /**/ | 788 /**/ |