mirror of
https://github.com/reactos/reactos.git
synced 2025-04-17 19:27:00 +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,
|
ProcessHandle = OpenProcess(PROCESS_VM_READ | PROCESS_QUERY_INFORMATION,
|
||||||
FALSE,
|
FALSE,
|
||||||
ProcessId);
|
ProcessId);
|
||||||
if (!ProcessHandle) return 0;
|
if (!ProcessHandle) _SEH2_YIELD(return 0);
|
||||||
|
|
||||||
/* Try to find out where its PEB lives */
|
/* Try to find out where its PEB lives */
|
||||||
Status = NtQueryInformationProcess(ProcessHandle,
|
Status = NtQueryInformationProcess(ProcessHandle,
|
||||||
|
|
|
@ -1109,7 +1109,7 @@ DoAgain:
|
||||||
|
|
||||||
/* Try with exclusive KCB lock */
|
/* Try with exclusive KCB lock */
|
||||||
CmpConvertKcbSharedToExclusive(Kcb);
|
CmpConvertKcbSharedToExclusive(Kcb);
|
||||||
goto DoAgain;
|
_SEH2_YIELD(goto DoAgain);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||||
|
@ -1278,7 +1278,7 @@ DoAgain:
|
||||||
|
|
||||||
/* Try with exclusive KCB lock */
|
/* Try with exclusive KCB lock */
|
||||||
CmpConvertKcbSharedToExclusive(Kcb);
|
CmpConvertKcbSharedToExclusive(Kcb);
|
||||||
goto DoAgain;
|
_SEH2_YIELD(goto DoAgain);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||||
|
|
|
@ -418,7 +418,7 @@ RtlWalkFrameChain(OUT PVOID *Callers,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Validate them */
|
/* Validate them */
|
||||||
if (StackEnd <= StackBegin) return 0;
|
if (StackEnd <= StackBegin) _SEH2_YIELD(return 0);
|
||||||
ProbeForRead((PVOID)StackBegin,
|
ProbeForRead((PVOID)StackBegin,
|
||||||
StackEnd - StackBegin,
|
StackEnd - StackBegin,
|
||||||
sizeof(CHAR));
|
sizeof(CHAR));
|
||||||
|
|
Loading…
Reference in a new issue