Mercurial > vim
comparison src/version.c @ 27855:44a552776007 v8.2.4453
patch 8.2.4453: :helpgrep may free an option that was not allocated
Commit: https://github.com/vim/vim/commit/4791fcd82565adcc60b86830e0bb6cd5b6eea0a6
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 23 12:06:00 2022 +0000
patch 8.2.4453: :helpgrep may free an option that was not allocated
Problem: :helpgrep may free an option that was not allocated. (Yegappan
Lakshmanan)
Solution: Check if the value was allocated.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Feb 2022 13:15:02 +0100 |
parents | dd203ec9a0e1 |
children | 8c8fabf093bb |
comparison
equal
deleted
inserted
replaced
27854:749f0346906f | 27855:44a552776007 |
---|---|
748 NULL | 748 NULL |
749 }; | 749 }; |
750 | 750 |
751 static int included_patches[] = | 751 static int included_patches[] = |
752 { /* Add new patch number below this line */ | 752 { /* Add new patch number below this line */ |
753 /**/ | |
754 4453, | |
753 /**/ | 755 /**/ |
754 4452, | 756 4452, |
755 /**/ | 757 /**/ |
756 4451, | 758 4451, |
757 /**/ | 759 /**/ |