Patch 9.0.1260
Problem: Coverity warns for possible NULL pointer usage.
Solution: Change the condition.
Files: src/vim9instr.c
*** ../vim-9.0.1259/src/vim9instr.c 2023-01-28 15:19:36.956757160 +0000
--- src/vim9instr.c 2023-01-29 14:09:03.530390128 +0000
***************
*** 1794,1800 ****
: ufunc->uf_def_status != UF_NOT_COMPILED
? ISN_DCALL : ISN_UCALL)) == NULL)
return FAIL;
! if (isn->isn_type == ISN_METHODCALL)
{
isn->isn_arg.mfunc = ALLOC_ONE(cmfunc_T);
if (isn->isn_arg.mfunc == NULL)
--- 1794,1800 ----
: ufunc->uf_def_status != UF_NOT_COMPILED
? ISN_DCALL : ISN_UCALL)) == NULL)
return FAIL;
! if (cl != NULL /* isn->isn_type == ISN_METHODCALL */)
{
isn->isn_arg.mfunc = ALLOC_ONE(cmfunc_T);
if (isn->isn_arg.mfunc == NULL)
*** ../vim-9.0.1259/src/version.c 2023-01-28 20:57:55.639379390 +0000
--- src/version.c 2023-01-29 14:09:53.990382502 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1260,
/**/
--
hundred-and-one symptoms of being an internet addict:
62. If your doorbell rings, you think that new mail has arrived. And then
you're disappointed that it's only someone at the door.
/// 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/20230129141200.902A11C03AF%40moolenaar.net.