Patch 8.2.3767

5 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 9, 2021, 12:44:46 PM12/9/21
to vim...@googlegroups.com

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 -- 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