commit | 205f29c3e9b895dbaa4f738046da455a93c3812a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Dec 10 21:46:09 2021 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Dec 10 21:46:09 2021 +0000 |
tree | 8c9dd97ca940b88014f7e890f4aabb75cf93fef1 | |
parent | 9537e37b1124a0584e5f2af10756baca78bc73a1 [diff] [blame] |
patch 8.2.3779: using freed memory when defining a user command recursively Problem: Using freed memory when defining a user command from a user command. Solution: Do not use the command pointer after executing the command. (closes #9318)
diff --git a/src/version.c b/src/version.c index 265229f..25669af 100644 --- a/src/version.c +++ b/src/version.c
@@ -754,6 +754,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3779, +/**/ 3778, /**/ 3777,