Patch 8.1.0635
Problem:    Coverity complains about null pointer use.
Solution:   Avoid using a null pointer.
Files:      src/evalfunc.c


*** ../vim-8.1.0634/src/evalfunc.c      2018-12-23 19:10:05.010359907 +0100
--- src/evalfunc.c      2018-12-24 23:28:15.362204919 +0100
***************
*** 13586,13592 ****
        EMSG(_(e_invarg));
      else
      {
!       name = tv_get_string_chk(&argvars[0]);
        val = (int)tv_get_number(&argvars[1]);
  
        if (STRCMP(name, (char_u *)"redraw") == 0)
--- 13586,13592 ----
        EMSG(_(e_invarg));
      else
      {
!       name = tv_get_string(&argvars[0]);
        val = (int)tv_get_number(&argvars[1]);
  
        if (STRCMP(name, (char_u *)"redraw") == 0)
*** ../vim-8.1.0634/src/version.c       2018-12-24 23:05:08.550418628 +0100
--- src/version.c       2018-12-24 23:34:30.975524602 +0100
***************
*** 801,802 ****
--- 801,804 ----
  {   /* Add new patch number below this line */
+ /**/
+     635,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
42. Your virtual girlfriend finds a new net sweetheart with a larger bandwidth.

 /// 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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui