projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c211b9
)
[RTL] Set unwind flags in RtlUnwindEx
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sun, 21 Aug 2022 15:23:51 +0000
(17:23 +0200)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Thu, 24 Nov 2022 19:17:58 +0000
(21:17 +0200)
sdk/lib/rtl/amd64/unwind.c
patch
|
blob
|
history
diff --git
a/sdk/lib/rtl/amd64/unwind.c
b/sdk/lib/rtl/amd64/unwind.c
index
6618d9f
..
f4c811d
100644
(file)
--- a/
sdk/lib/rtl/amd64/unwind.c
+++ b/
sdk/lib/rtl/amd64/unwind.c
@@
-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,