Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-07-09 14:41:11 +0400
committerCorinna Vinschen <corinna@vinschen.de>2014-07-09 14:41:11 +0400
commit3dab1e488aae1787e1ada0bfbda2fb71bd449687 (patch)
tree5f8b5e935492a0325656d45ab7d251fd1932f7b7 /winsup/cygwin/exceptions.cc
parent64cfc4ac5a48901873612c1b1da8b17f58128932 (diff)
* exceptions.cc (exception::myfault_handle): Rephrase comment.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 60cef57ab..0e8a977d4 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -564,7 +564,10 @@ exception::myfault_handle (LPEXCEPTION_POINTERS ep)
case STATUS_ACCESS_VIOLATION:
case STATUS_DATATYPE_MISALIGNMENT:
#if 0
- /* Short-circuiting STATUS_STACK_OVERFLOW disables stack commits. */
+ /* PAGE_GUARD-based stack commits are based on structured exception
+ handling. Short-circuiting STATUS_STACK_OVERFLOW in a vectored
+ exception handler disables that, which can ultimately result in
+ a spurious SEGV. */
case STATUS_STACK_OVERFLOW:
#endif
case STATUS_ARRAY_BOUNDS_EXCEEDED: