Commit d75b0ce4 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Make sure we don't return from a stub exception.

parent edb85230
......@@ -601,5 +601,5 @@ void __wine_spec_unimplemented_stub( const char *module, const char *function )
record.NumberParameters = 2;
record.ExceptionInformation[0] = (ULONG_PTR)module;
record.ExceptionInformation[1] = (ULONG_PTR)function;
RtlRaiseException( &record );
for (;;) RtlRaiseException( &record );
}
......@@ -32,5 +32,5 @@ void DECLSPEC_HIDDEN __wine_spec_unimplemented_stub( const char *module, const c
args[0] = (ULONG_PTR)module;
args[1] = (ULONG_PTR)function;
RaiseException( EXCEPTION_WINE_STUB, EXCEPTION_NONCONTINUABLE, 2, args );
for (;;) RaiseException( EXCEPTION_WINE_STUB, EXCEPTION_NONCONTINUABLE, 2, args );
}
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