commit | f5d639a8af719eb8ecb141b5c0890627e4d83134 | [log] [tgz] |
---|---|---|
author | Dominique Pelle <dominique.pelle@gmail.com> | Wed Jan 12 15:24:40 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jan 12 15:24:40 2022 +0000 |
tree | 2890e8ac277b77edd6cb76464a54ff30af478d3f | |
parent | 5d9826973d9f4c6ffbb5648676bb628660c62906 [diff] [blame] |
patch 8.2.4070: using uninitialized memory when reading empty file Problem: Using uninitialized memory when reading empty file. Solution: Check for empty file before checking for NL. (Dominique Pellé, closes #9511)
diff --git a/src/version.c b/src/version.c index a931516..8c77e2e 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4070, +/**/ 4069, /**/ 4068,