commit | 77ab4e28a26a92628bc85cd580c1bfa2b6230be6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 29 21:23:50 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 29 21:23:50 2021 +0200 |
tree | 95d45450d048d217dad80a4e1d1e2406dae6dc63 | |
parent | 77111e2bfc7316eb6b1e653386cef6441af806f8 [diff] [blame] |
patch 8.2.3247: using uninitialized memory when checking for crypt method Problem: Using uninitialized memory when checking for crypt method. Solution: Check the header length before using the salt and seed.
diff --git a/src/version.c b/src/version.c index 7710018..c120a2b 100644 --- a/src/version.c +++ b/src/version.c
@@ -756,6 +756,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3247, +/**/ 3246, /**/ 3245,