# HG changeset patch # User Bram Moolenaar # Date 1639071904 -3600 # Node ID 9c84f7c6082d3bc119be6b2f3fd4e96e9ccb100d # Parent a8195907f08ea8b8827a74c018fbcf8bd83b11d0 patch 8.2.3767: crash when using NULL partial Commit: https://github.com/vim/vim/commit/e8a92b6166e32f8e583e01c9f541cf81cf76f8e6 Author: Bram Moolenaar Date: Thu Dec 9 17:44:01 2021 +0000 patch 8.2.3767: crash when using NULL partial Problem: Crash when using NULL partial. Solution: Check for NULL. diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -5007,7 +5007,7 @@ echo_string_core( if (fname != NULL) { // When using uf_name prepend "g:" for a global function. - if (pt->pt_name == NULL && fname[0] == '\'' + if (pt != NULL && pt->pt_name == NULL && fname[0] == '\'' && vim_isupper(fname[1])) { ga_concat(&ga, (char_u *)"'g:"); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3767, +/**/ 3766, /**/ 3765,