commit | 77111e2bfc7316eb6b1e653386cef6441af806f8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 29 21:11:30 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 29 21:11:30 2021 +0200 |
tree | c18b172c37a824e31fe89560ea47e36f62f7b5f7 | |
parent | 131530a54d0f72b820b027606231744e3a09b9ef [diff] [blame] |
patch 8.2.3246: memory use after free Problem: Memory use after free. Solution: When clearing a string option set the pointer to "empty_option".
diff --git a/src/version.c b/src/version.c index 6b37200..7710018 100644 --- a/src/version.c +++ b/src/version.c
@@ -756,6 +756,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3246, +/**/ 3245, /**/ 3244,