projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Use _SEH2_YIELD when returning from an exception instead of returning outside the...
[reactos.git]
/
reactos
/
ntoskrnl
/
po
/
power.c
diff --git
a/reactos/ntoskrnl/po/power.c
b/reactos/ntoskrnl/po/power.c
index
dbf72a9
..
0d5d10d
100644
(file)
--- a/
reactos/ntoskrnl/po/power.c
+++ b/
reactos/ntoskrnl/po/power.c
@@
-609,7
+609,7
@@
NtSetThreadExecutionState(IN EXECUTION_STATE esFlags,
/* Check if the pointer is valid */
ProbeForWriteUlong(PreviousFlags);
}
/* Check if the pointer is valid */
ProbeForWriteUlong(PreviousFlags);
}
- _SEH2_EXCEPT(E
xSystemExceptionFilter()
)
+ _SEH2_EXCEPT(E
XCEPTION_EXECUTE_HANDLER
)
{
/* It isn't -- fail */
_SEH2_YIELD(return _SEH2_GetExceptionCode());
{
/* It isn't -- fail */
_SEH2_YIELD(return _SEH2_GetExceptionCode());