commit | e5fbd7393067c279860598ac8359d1617b1082b9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Sep 09 20:04:13 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Sep 09 20:04:13 2019 +0200 |
tree | 2b7d0d632f24b3659717bccf8c4d9e70f2c1f95b | |
parent | 96e38a86a710fb6daec4550ac1667f019dc3a40e [diff] [blame] |
patch 8.1.2018: using freed memory when out of memory and displaying message Problem: Using freed memory when out of memory and displaying message. Solution: Make a copy of the message first.
diff --git a/src/version.c b/src/version.c index c6f60af..3161360 100644 --- a/src/version.c +++ b/src/version.c
@@ -758,6 +758,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2018, +/**/ 2017, /**/ 2016,