Patch 8.2.1265
Problem: Crash with EXITFREE when split() fails.
Solution: Restore 'cpoptions'.
Files: src/evalfunc.c
*** ../vim-8.2.1264/src/evalfunc.c 2020-07-18 22:24:18.630245010 +0200
--- src/evalfunc.c 2020-07-21 22:22:49.423726592 +0200
***************
*** 7859,7867 ****
pat = (char_u *)"[\\x01- ]\\+";
if (rettv_list_alloc(rettv) == FAIL)
! return;
if (typeerr)
! return;
regmatch.regprog = vim_regcomp(pat, RE_MAGIC + RE_STRING);
if (regmatch.regprog != NULL)
--- 7859,7867 ----
pat = (char_u *)"[\\x01- ]\\+";
if (rettv_list_alloc(rettv) == FAIL)
! goto theend;
if (typeerr)
! goto theend;
regmatch.regprog = vim_regcomp(pat, RE_MAGIC + RE_STRING);
if (regmatch.regprog != NULL)
***************
*** 7898,7903 ****
--- 7898,7904 ----
vim_regfree(regmatch.regprog);
}
+ theend:
p_cpo = save_cpo;
}
*** ../vim-8.2.1264/src/version.c 2020-07-21 21:48:55.259727439 +0200
--- src/version.c 2020-07-21 22:23:42.391541183 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1265,
/**/
--
"I simultaneously try to keep my head in the clouds and my feet on the
ground. Sometimes it's a stretch, though." -- Larry Wall
/// 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/202007212026.06LKQIWf832420%40masaka.moolenaar.net.