Mercurial > vim
comparison src/version.c @ 22794:42bb78d46354 v8.2.1945
patch 8.2.1945: crash when passing NULL function to reduce()
Commit: https://github.com/vim/vim/commit/0d90e728fe089ff1bb34d6a17f5591a96b57f734
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 3 18:20:19 2020 +0100
patch 8.2.1945: crash when passing NULL function to reduce()
Problem: Crash when passing NULL function to reduce().
Solution: Check for NULL pointer and give an error. (Dominique Pell?,
closes #7243)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 03 Nov 2020 18:30:04 +0100 |
parents | 670c69ac1bfb |
children | d3694e3685d3 |
comparison
equal
deleted
inserted
replaced
22793:39efae87751b | 22794:42bb78d46354 |
---|---|
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 1945, | |
753 /**/ | 755 /**/ |
754 1944, | 756 1944, |
755 /**/ | 757 /**/ |
756 1943, | 758 1943, |
757 /**/ | 759 /**/ |