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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220225213622.97E431C1149%40moolenaar.net.

Raspunde prin e-mail lui