Patch 8.2.0143
Problem:    Coverity warning for possible use of NULL pointer.
Solution:   Check argv is not NULL.
Files:      src/channel.c


*** ../vim-8.2.0142/src/channel.c       2020-01-20 21:59:35.703653287 +0100
--- src/channel.c       2020-01-23 15:47:25.061894890 +0100
***************
*** 5993,5999 ****
  #ifndef USE_ARGV
      vim_free(ga.ga_data);
  #endif
!     if (argv != job->jv_argv)
      {
        for (i = 0; argv[i] != NULL; i++)
            vim_free(argv[i]);
--- 5993,5999 ----
  #ifndef USE_ARGV
      vim_free(ga.ga_data);
  #endif
!     if (argv != NULL && argv != job->jv_argv)
      {
        for (i = 0; argv[i] != NULL; i++)
            vim_free(argv[i]);
*** ../vim-8.2.0142/src/version.c       2020-01-23 15:33:31.526017874 +0100
--- src/version.c       2020-01-23 15:48:23.565621042 +0100
***************
*** 744,745 ****
--- 744,747 ----
  {   /* Add new patch number below this line */
+ /**/
+     143,
  /**/

-- 
BEDEVERE:        Why do you think she is a witch?
SECOND VILLAGER: She turned me into a newt.
BEDEVERE:        A newt?
SECOND VILLAGER: (After looking at himself for some time) I got better.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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/202001231449.00NEn9YG016247%40masaka.moolenaar.net.

Raspunde prin e-mail lui