Patch 9.0.0927
Problem: Coverity warns for using a NULL pointer.
Solution: Check for memory allocaion failure.
Files: src/window.c
*** ../vim-9.0.0926/src/window.c 2022-11-22 13:29:16.838832864 +0000
--- src/window.c 2022-11-23 11:35:00.921936714 +0000
***************
*** 3134,3140 ****
#endif
}
! if (trigger_scroll)
{
#ifdef FEAT_EVAL
save_v_event_T save_v_event;
--- 3134,3140 ----
#endif
}
! if (trigger_scroll && scroll_dict != NULL)
{
#ifdef FEAT_EVAL
save_v_event_T save_v_event;
*** ../vim-9.0.0926/src/version.c 2022-11-23 11:33:57.294027200 +0000
--- src/version.c 2022-11-23 11:35:43.497879649 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 927,
/**/
--
hundred-and-one symptoms of being an internet addict:
116. You are living with your boyfriend who networks your respective
computers so you can sit in separate rooms and email each other
/// 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/20221123113647.ADE721C211B%40moolenaar.net.