mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
- Fix a bug in KiRaiseException from 42923 -- a _SEH2_LEAVE wasn't converted to _SEH2_YIELD
svn path=/trunk/; revision=42937
This commit is contained in:
parent
6d8d6a8fc5
commit
08db367162
1 changed files with 3 additions and 5 deletions
|
@ -95,7 +95,6 @@ KiRaiseException(IN PEXCEPTION_RECORD ExceptionRecord,
|
||||||
CONTEXT LocalContext;
|
CONTEXT LocalContext;
|
||||||
EXCEPTION_RECORD LocalExceptionRecord;
|
EXCEPTION_RECORD LocalExceptionRecord;
|
||||||
ULONG ParameterCount, Size;
|
ULONG ParameterCount, Size;
|
||||||
NTSTATUS Status = STATUS_SUCCESS;
|
|
||||||
|
|
||||||
/* Check if we need to probe */
|
/* Check if we need to probe */
|
||||||
if (PreviousMode != KernelMode)
|
if (PreviousMode != KernelMode)
|
||||||
|
@ -117,8 +116,7 @@ KiRaiseException(IN PEXCEPTION_RECORD ExceptionRecord,
|
||||||
EXCEPTION_MAXIMUM_PARAMETERS)
|
EXCEPTION_MAXIMUM_PARAMETERS)
|
||||||
{
|
{
|
||||||
/* Too large */
|
/* Too large */
|
||||||
Status = STATUS_INVALID_PARAMETER;
|
_SEH2_YIELD(return STATUS_INVALID_PARAMETER);
|
||||||
_SEH2_LEAVE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Probe the entire parameters now*/
|
/* Probe the entire parameters now*/
|
||||||
|
@ -162,8 +160,8 @@ KiRaiseException(IN PEXCEPTION_RECORD ExceptionRecord,
|
||||||
PreviousMode,
|
PreviousMode,
|
||||||
SearchFrames);
|
SearchFrames);
|
||||||
|
|
||||||
/* Return the status */
|
/* We are done */
|
||||||
return Status;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue