[RTL] Set unwind flags in RtlUnwindEx

This commit is contained in:
Timo Kreuzer 2022-08-21 17:23:51 +02:00
parent 0c211b975f
commit 8d3bc7c572

View file

@ -891,6 +891,13 @@ RtlUnwindEx(
ExceptionRecord = &LocalExceptionRecord;
}
/* Set unwind flags */
ExceptionRecord->ExceptionFlags = EXCEPTION_UNWINDING;
if (TargetFrame == NULL)
{
ExceptionRecord->ExceptionFlags |= EXCEPTION_EXIT_UNWIND;
}
/* Call the internal function */
RtlpUnwindInternal(TargetFrame,
TargetIp,