Mercurial > vim
comparison src/version.c @ 19785:99248f0ff29d v8.2.0449
patch 8.2.0449: Vim9: crash if return type is invalid
Commit: https://github.com/vim/vim/commit/cf3f8bf4ddfbc0f5ce53f0c9270dc15567f4feea
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 26 13:15:42 2020 +0100
patch 8.2.0449: Vim9: crash if return type is invalid
Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
Solution: Always return some type, not NULL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 26 Mar 2020 13:30:04 +0100 |
parents | 546bdeef35f1 |
children | 906269bf83d5 |
comparison
equal
deleted
inserted
replaced
19784:39dbaf2eec63 | 19785:99248f0ff29d |
---|---|
736 NULL | 736 NULL |
737 }; | 737 }; |
738 | 738 |
739 static int included_patches[] = | 739 static int included_patches[] = |
740 { /* Add new patch number below this line */ | 740 { /* Add new patch number below this line */ |
741 /**/ | |
742 449, | |
741 /**/ | 743 /**/ |
742 448, | 744 448, |
743 /**/ | 745 /**/ |
744 447, | 746 447, |
745 /**/ | 747 /**/ |