To: vim_dev@googlegroups.com Subject: Patch 8.2.4075 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4075 (after 8.2.4073) Problem: Test failures. Solution: Change check for NULL pointer. Files: src/userfunc.c *** ../vim-8.2.4074/src/userfunc.c 2022-01-13 12:05:03.489321507 +0000 --- src/userfunc.c 2022-01-13 13:22:57.459771123 +0000 *************** *** 4152,4164 **** else eap->skip = TRUE; } - if (name == NULL) - goto ret_free; // out of memory // For "export def FuncName()" in an autoload script the function name // is stored with the legacy autoload name "dir#script#FuncName" so // that it can also be found in legacy script. ! if (is_export) name = may_prefix_autoload(name); } --- 4152,4162 ---- else eap->skip = TRUE; } // For "export def FuncName()" in an autoload script the function name // is stored with the legacy autoload name "dir#script#FuncName" so // that it can also be found in legacy script. ! if (is_export && name != NULL) name = may_prefix_autoload(name); } *** ../vim-8.2.4074/src/version.c 2022-01-13 13:08:10.507904428 +0000 --- src/version.c 2022-01-13 13:24:14.659813786 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4075, /**/ -- The psychic said, "God bless you." I said, "I didn't sneeze." She looked deep into my eyes and said, "You will, eventually." And, damn if she wasn't right. Two days later, I sneezed. --Ellen Degeneres /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///