Patch 9.0.0927

4 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 23, 2022, 6:37:01 AM11/23/22
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages