mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[NTOSKRNL][KERNEL32]
Fix a few more cases of missing _SEH2_YIELD. svn path=/trunk/; revision=60061
This commit is contained in:
parent
768c9544be
commit
4e23142740
3 changed files with 4 additions and 4 deletions
|
@ -1838,7 +1838,7 @@ GetProcessVersion(IN DWORD ProcessId)
|
|||
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,
|
||||
|
|
|
@ -1109,7 +1109,7 @@ DoAgain:
|
|||
|
||||
/* Try with exclusive KCB lock */
|
||||
CmpConvertKcbSharedToExclusive(Kcb);
|
||||
goto DoAgain;
|
||||
_SEH2_YIELD(goto DoAgain);
|
||||
}
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
|
@ -1278,7 +1278,7 @@ DoAgain:
|
|||
|
||||
/* Try with exclusive KCB lock */
|
||||
CmpConvertKcbSharedToExclusive(Kcb);
|
||||
goto DoAgain;
|
||||
_SEH2_YIELD(goto DoAgain);
|
||||
}
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
|
|
|
@ -418,7 +418,7 @@ RtlWalkFrameChain(OUT PVOID *Callers,
|
|||
#endif
|
||||
|
||||
/* Validate them */
|
||||
if (StackEnd <= StackBegin) return 0;
|
||||
if (StackEnd <= StackBegin) _SEH2_YIELD(return 0);
|
||||
ProbeForRead((PVOID)StackBegin,
|
||||
StackEnd - StackBegin,
|
||||
sizeof(CHAR));
|
||||
|
|
Loading…
Reference in a new issue