diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7bf4c81f4..b25cde3e6 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2008-02-27 Corinna Vinschen + + * exceptions.cc (stack_info::walk): Fix typo. + 2008-02-27 Corinna Vinschen * cygtls.cc (_cygtls::init_exception_handler): Fix comment. diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 34defe51b..4c569b4d9 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -256,7 +256,7 @@ stack_info::walk () a SEGV. This is fixed in Vista/2K8 WOW64. */ if (wincap.has_restricted_stack_args () && sf.Params[0] == 0x401000) nparams = 2; - for (unsigned i = 0; i < nparams; i++) + for (unsigned i = 1; i < nparams; i++) sf.Params[i] = (DWORD) *++ebp; }