Commit 67f2a1ea authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

ntdll: Don't incorrectly overwrite orig_context in call_stack_handlers.

parent 594ddb61
......@@ -2400,7 +2400,6 @@ static NTSTATUS call_stack_handlers( EXCEPTION_RECORD *rec, CONTEXT *orig_contex
{
case ExceptionContinueExecution:
if (rec->ExceptionFlags & EH_NONCONTINUABLE) return STATUS_NONCONTINUABLE_EXCEPTION;
*orig_context = *dispatch.ContextRecord;
return STATUS_SUCCESS;
case ExceptionContinueSearch:
break;
......@@ -2431,7 +2430,6 @@ static NTSTATUS call_stack_handlers( EXCEPTION_RECORD *rec, CONTEXT *orig_contex
{
case ExceptionContinueExecution:
if (rec->ExceptionFlags & EH_NONCONTINUABLE) return STATUS_NONCONTINUABLE_EXCEPTION;
*orig_context = *dispatch.ContextRecord;
return STATUS_SUCCESS;
case ExceptionContinueSearch:
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment