Mercurial > vim
comparison src/version.c @ 22663:0f90c15a4a28 v8.2.1880
patch 8.2.1880: Vim9: asan complains about adding zero to NULL
Commit: https://github.com/vim/vim/commit/af7a9066a956db23a8bc67bc1f82466e3eff55ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 21 16:49:17 2020 +0200
patch 8.2.1880: Vim9: asan complains about adding zero to NULL
Problem: Vim9: Asan complains about adding zero to NULL.
Solution: Check for argument count first.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Oct 2020 17:00:03 +0200 |
parents | c6b17787a38f |
children | dd711a44e75b |
comparison
equal
deleted
inserted
replaced
22662:0f6e0cc4e927 | 22663:0f90c15a4a28 |
---|---|
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 1880, | |
753 /**/ | 755 /**/ |
754 1879, | 756 1879, |
755 /**/ | 757 /**/ |
756 1878, | 758 1878, |
757 /**/ | 759 /**/ |