Skip to content
Snippets Groups Projects
Commit bb4119e1 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

ntdll/tests: Make sure to clear the DF flag on return from the exception.

parent 13e609fd
No related branches found
No related tags found
No related merge requests found
......@@ -503,6 +503,7 @@ static DWORD direction_flag_handler( EXCEPTION_RECORD *rec, EXCEPTION_REGISTRATI
ok( context->EFlags & 0x400, "context eflags has DF bit cleared\n" );
got_exception++;
context->Eip++; /* skip cli */
context->EFlags &= ~0x400; /* make sure it is cleared on return */
return ExceptionContinueExecution;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment