Mercurial > vim
comparison src/version.c @ 28925:46fa2d54e389 v8.2.4985
patch 8.2.4985: PVS warns for possible array underrun
Commit: https://github.com/vim/vim/commit/875339b22a989d0782097036169e8fb9e2100d7e
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 20 14:10:50 2022 +0100
patch 8.2.4985: PVS warns for possible array underrun
Problem: PVS warns for possible array underrun.
Solution: Add a check for a positive value. (closes https://github.com/vim/vim/issues/10451)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 20 May 2022 15:15:04 +0200 |
parents | 2d726d5a6405 |
children | 272a24b53d0c |
comparison
equal
deleted
inserted
replaced
28924:e77054ee4f23 | 28925:46fa2d54e389 |
---|---|
744 NULL | 744 NULL |
745 }; | 745 }; |
746 | 746 |
747 static int included_patches[] = | 747 static int included_patches[] = |
748 { /* Add new patch number below this line */ | 748 { /* Add new patch number below this line */ |
749 /**/ | |
750 4985, | |
749 /**/ | 751 /**/ |
750 4984, | 752 4984, |
751 /**/ | 753 /**/ |
752 4983, | 754 4983, |
753 /**/ | 755 /**/ |