To: vim_dev@googlegroups.com Subject: Patch 9.0.0927 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///