commit | ec9749f33d26162fad40714a7d21978aea10fc69 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Apr 18 20:51:40 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 18 20:51:40 2020 +0200 |
tree | dae4e93e5d90702f4d180525d4bd16f081655b6d | |
parent | a26b9700d73ebccd6c5459d0d66032a4249f6b72 [diff] [blame] |
patch 8.2.0596: crash in test49 Problem: Crash in test49. Solution: Check the right pointer.
diff --git a/src/userfunc.c b/src/userfunc.c index 44118b1..dfda733 100644 --- a/src/userfunc.c +++ b/src/userfunc.c
@@ -2504,7 +2504,7 @@ // With Vim9 script the name was made script-local, if not // found try again with the original name. - if (p != NULL) + if (up != NULL) fp = find_func(up, NULL); }