Skip to content

Commit ad4ad98

Browse files
author
Gé van Geldorp
committed
The function epilog is responsible for removing the final exception frame
svn path=/trunk/; revision=20280
1 parent 437e3b8 commit ad4ad98

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

reactos/lib/rtl/i386/exception.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,10 @@ RtlUnwind(PVOID RegistrationFrame OPTIONAL,
333333
RegistrationFrame2 = RegistrationFrame2->Next;
334334

335335
/* Remove this handler */
336-
RtlpSetExceptionList(OldFrame);
336+
if (RegistrationFrame2 != RegistrationFrame)
337+
{
338+
RtlpSetExceptionList(OldFrame);
339+
}
337340
}
338341
}
339342

0 commit comments

Comments
 (0)