Author: khornicek
Date: Thu Sep 12 10:06:34 2013
New Revision: 60061
URL:
http://svn.reactos.org/svn/reactos?rev=60061&view=rev
Log:
[NTOSKRNL][KERNEL32]
Fix a few more cases of missing _SEH2_YIELD.
Modified:
trunk/reactos/dll/win32/kernel32/client/proc.c
trunk/reactos/ntoskrnl/config/cmapi.c
trunk/reactos/ntoskrnl/rtl/libsupp.c
Modified: trunk/reactos/dll/win32/kernel32/client/proc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] Thu Sep 12 10:06:34 2013
@@ -1838,7 +1838,7 @@
ProcessHandle = OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION,
FALSE,
ProcessId);
- if (!ProcessHandle) return 0;
+ if (!ProcessHandle) _SEH2_YIELD(return 0);
/* Try to find out where its PEB lives */
Status = NtQueryInformationProcess(ProcessHandle,
Modified: trunk/reactos/ntoskrnl/config/cmapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmapi.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmapi.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmapi.c [iso-8859-1] Thu Sep 12 10:06:34 2013
@@ -1109,7 +1109,7 @@
/* Try with exclusive KCB lock */
CmpConvertKcbSharedToExclusive(Kcb);
- goto DoAgain;
+ _SEH2_YIELD(goto DoAgain);
}
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
@@ -1278,7 +1278,7 @@
/* Try with exclusive KCB lock */
CmpConvertKcbSharedToExclusive(Kcb);
- goto DoAgain;
+ _SEH2_YIELD(goto DoAgain);
}
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
Modified: trunk/reactos/ntoskrnl/rtl/libsupp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/rtl/libsupp.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/rtl/libsupp.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/rtl/libsupp.c [iso-8859-1] Thu Sep 12 10:06:34 2013
@@ -418,7 +418,7 @@
#endif
/* Validate them */
- if (StackEnd <= StackBegin) return 0;
+ if (StackEnd <= StackBegin) _SEH2_YIELD(return 0);
ProbeForRead((PVOID)StackBegin,
StackEnd - StackBegin,
sizeof(CHAR));