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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20211209174440.51C701C0B28%40moolenaar.net.