Patch 8.2.1090
Problem: May use NULL pointer when skipping over name.
Solution: Always set ll_name_end.
Files: src/eval.c
*** ../vim-8.2.1089/src/eval.c 2020-06-28 18:43:36.292992349 +0200
--- src/eval.c 2020-06-29 22:29:31.935860445 +0200
***************
*** 734,740 ****
{
// When skipping just find the end of the name.
lp->ll_name = name;
! return find_name_end(name, NULL, NULL, FNE_INCL_BR | fne_flags);
}
// Find the end of the name.
--- 734,742 ----
{
// When skipping just find the end of the name.
lp->ll_name = name;
! lp->ll_name_end = find_name_end(name, NULL, NULL,
! FNE_INCL_BR | fne_flags);
! return lp->ll_name_end;
}
// Find the end of the name.
*** ../vim-8.2.1089/src/version.c 2020-06-29 22:24:53.205181859 +0200
--- src/version.c 2020-06-29 22:31:06.431418625 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1090,
/**/
--
Wi n0t trei a h0liday in Sweden thi yer?
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202006292032.05TKWfw2716295%40masaka.moolenaar.net.