Patch 8.1.2335
Problem:    Error message for function arguments may use NULL pointer.
            (Coverity)
Solution:   Use the original function name.
Files:      src/evalfunc.c


*** ../vim-8.1.2334/src/evalfunc.c      2019-11-21 17:13:12.632361268 +0100
--- src/evalfunc.c      2019-11-22 19:27:33.626433964 +0100
***************
*** 2536,2542 ****
                    arg_idx = 0;
                else if (list->lv_len > MAX_FUNC_ARGS)
                {
!                   emsg_funcname((char *)e_toomanyarg, name);
                    vim_free(name);
                    goto theend;
                }
--- 2536,2542 ----
                    arg_idx = 0;
                else if (list->lv_len > MAX_FUNC_ARGS)
                {
!                   emsg_funcname((char *)e_toomanyarg, s);
                    vim_free(name);
                    goto theend;
                }
*** ../vim-8.1.2334/src/version.c       2019-11-22 19:22:05.136022491 +0100
--- src/version.c       2019-11-22 19:28:30.638156260 +0100
***************
*** 739,740 ****
--- 739,742 ----
  {   /* Add new patch number below this line */
+ /**/
+     2335,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
106. When told to "go to your room" you inform your parents that you
     can't...because you were kicked out and banned.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/201911221830.xAMIUBhI021313%40masaka.moolenaar.net.

Raspunde prin e-mail lui