Patch 8.2.4041
Problem: Using unitialized pointer.
Solution: Store "ht" when variable is in another script.
Files: src/evalvars.c
*** ../vim-8.2.4040/src/evalvars.c 2022-01-07 18:20:48.370967086 +0000
--- src/evalvars.c 2022-01-08 15:12:14.540737664 +0000
***************
*** 2898,2904 ****
--- 2898,2908 ----
dictitem_T *di = find_var_in_ht(ht, 0, p + 1, no_autoload);
if (di != NULL)
+ {
+ if (htp != NULL)
+ *htp = ht;
return di;
+ }
}
}
}
*** ../vim-8.2.4040/src/version.c 2022-01-08 15:39:35.414385257 +0000
--- src/version.c 2022-01-08 15:44:05.540033669 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4041,
/**/
--
hundred-and-one symptoms of being an internet addict:
263. You have more e-mail addresses than shorts.
/// 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/20220108154529.B779C1C0D8A%40moolenaar.net.