To: vim_dev@googlegroups.com Subject: Patch 8.2.4472 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4472 Problem: Coverity warns for use of a freed function name. Solution: Only check an autoload name when is prefixed. Files: src/userfunc.c *** ../vim-8.2.4471/src/userfunc.c 2022-02-23 22:11:58.778087741 +0000 --- src/userfunc.c 2022-02-25 21:28:37.600651542 +0000 *************** *** 4624,4630 **** { char_u *prefixed = may_prefix_autoload(name); ! if (prefixed != NULL) { v = find_var(prefixed, &ht, TRUE); if (v != NULL) --- 4624,4630 ---- { char_u *prefixed = may_prefix_autoload(name); ! if (prefixed != NULL && prefixed != name) { v = find_var(prefixed, &ht, TRUE); if (v != NULL) *** ../vim-8.2.4471/src/version.c 2022-02-25 21:10:49.430029941 +0000 --- src/version.c 2022-02-25 21:30:12.068521536 +0000 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 4472, /**/ -- hundred-and-one symptoms of being an internet addict: 105. When someone asks you for your address, you tell them your URL. /// 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 ///