Patch 7.4.1914
Problem: Executing autocommands while using the signal stack has a high
chance of crashing Vim.
Solution: Don't invoke autocommands when on the signal stack.
Files: src/os_unix.c
*** ../vim-7.4.1913/src/os_unix.c 2016-06-04 14:37:17.726277995 +0200
--- src/os_unix.c 2016-06-10 19:42:37.806894982 +0200
***************
*** 1090,1095 ****
--- 1090,1101 ----
/* Remember how often we have been called. */
++entered;
+ #ifdef FEAT_AUTOCMD
+ /* Executing autocommands is likely to use more stack space than we have
+ * available in the signal stack. */
+ block_autocmds();
+ #endif
+
#ifdef FEAT_EVAL
/* Set the v:dying variable. */
set_vim_var_nr(VV_DYING, (long)entered);
***************
*** 1171,1176 ****
--- 1177,1184 ----
* calling free(). */
preserve_exit();
+ /* NOTREACHED */
+
#ifdef NBDEBUG
reset_signals();
may_core_dump();
*** ../vim-7.4.1913/src/version.c 2016-06-09 22:52:56.207926413 +0200
--- src/version.c 2016-06-10 19:49:03.718889673 +0200
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 1914,
/**/
--
hundred-and-one symptoms of being an internet addict:
88. Every single time you press the 'Get mail' button...it does get new 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.