To: vim_dev@googlegroups.com Subject: Patch 8.2.3767 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3767 (after 8.2.3766) Problem: Crash when using NULL partial. Solution: Check for NULL. Files: src/eval.c *** ../vim-8.2.3766/src/eval.c 2021-12-09 16:40:14.541024052 +0000 --- src/eval.c 2021-12-09 17:39:31.827202807 +0000 *************** *** 5007,5013 **** if (fname != NULL) { // When using uf_name prepend "g:" for a global function. ! if (pt->pt_name == NULL && fname[0] == '\'' && vim_isupper(fname[1])) { ga_concat(&ga, (char_u *)"'g:"); --- 5007,5013 ---- if (fname != NULL) { // When using uf_name prepend "g:" for a global function. ! if (pt != NULL && pt->pt_name == NULL && fname[0] == '\'' && vim_isupper(fname[1])) { ga_concat(&ga, (char_u *)"'g:"); *** ../vim-8.2.3766/src/version.c 2021-12-09 16:40:14.545024033 +0000 --- src/version.c 2021-12-09 17:42:36.079103982 +0000 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 3767, /**/ -- When a fly lands on the ceiling, does it do a half roll or a half loop? /// 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 ///