Patch 7.4.1282
Problem: Crash when evaluating the pattern of ":catch" causes an error.
(Dominique Pelle)
Solution: Block error messages at this point.
Files: src/ex_eval.c
*** ../vim-7.4.1281/src/ex_eval.c 2016-01-30 15:52:42.575439480 +0100
--- src/ex_eval.c 2016-02-07 19:42:32.169975599 +0100
***************
*** 1562,1568 ****
--- 1562,1572 ----
}
save_cpo = p_cpo;
p_cpo = (char_u *)"";
+ /* Disable error messages, it will make current_exception
+ * invalid. */
+ ++emsg_off;
regmatch.regprog = vim_regcomp(pat, RE_MAGIC + RE_STRING);
+ --emsg_off;
regmatch.rm_ic = FALSE;
if (end != NULL)
*end = save_char;
*** ../vim-7.4.1281/src/version.c 2016-02-07 19:27:46.375210904 +0100
--- src/version.c 2016-02-07 19:45:08.128348627 +0100
***************
*** 749,750 ****
--- 749,752 ----
{ /* Add new patch number below this line */
+ /**/
+ 1282,
/**/
--
hundred-and-one symptoms of being an internet addict:
172. You join listservers just for the extra e-mail.
/// 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].
For more options, visit https://groups.google.com/d/optout.