diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 82fc1d366..d940017fe 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2014-07-09 Corinna Vinschen + + * exceptions.cc (exception::myfault_handle): Rephrase comment. + 2014-07-09 Corinna Vinschen * exceptions.cc (exception::myfault_handle): Fix typo in comment. 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: