Patch 8.0.1622
Problem: Possible NULL pointer dereferencey. (Coverity)
Solution: Reverse the check for a NULL pointer.
Files: src/quickfix.c
*** ../vim-8.0.1621/src/quickfix.c 2018-03-06 17:43:18.589288912 +0100
--- src/quickfix.c 2018-03-20 13:28:50.509827097 +0100
***************
*** 4256,4262 ****
goto theend;
}
! if (s != NULL && *s == NUL)
{
/* Pattern is empty, use last search pattern. */
if (last_search_pat() == NULL)
--- 4256,4262 ----
goto theend;
}
! if (s == NULL || *s == NUL)
{
/* Pattern is empty, use last search pattern. */
if (last_search_pat() == NULL)
*** ../vim-8.0.1621/src/version.c 2018-03-20 13:00:07.194308797 +0100
--- src/version.c 2018-03-20 13:29:55.309493509 +0100
***************
*** 768,769 ****
--- 768,771 ----
{ /* Add new patch number below this line */
+ /**/
+ 1622,
/**/
--
hundred-and-one symptoms of being an internet addict:
30. Even though you died last week, you've managed to retain OPS on your
favorite IRC channel.
/// 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.