mirror of
https://github.com/reactos/reactos.git
synced 2025-05-27 21:18:15 +00:00
[CRT/x64] Fix a bug in __C_specific_handler
Fixes crash of compiler_apitest pseh
This commit is contained in:
parent
cf4aa7ea9d
commit
6133cc016d
1 changed files with 2 additions and 2 deletions
|
@ -107,12 +107,12 @@ __C_specific_handler(
|
||||||
FilterResult = ExceptionFilter(&ExceptionPointers, EstablisherFrame);
|
FilterResult = ExceptionFilter(&ExceptionPointers, EstablisherFrame);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FilterResult == EXCEPTION_CONTINUE_EXECUTION)
|
if (FilterResult < 0 /* EXCEPTION_CONTINUE_EXECUTION */)
|
||||||
{
|
{
|
||||||
return ExceptionContinueExecution;
|
return ExceptionContinueExecution;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FilterResult == EXCEPTION_EXECUTE_HANDLER)
|
if (FilterResult > 0 /* EXCEPTION_EXECUTE_HANDLER */)
|
||||||
{
|
{
|
||||||
JumpTarget = (ImageBase + ScopeTable->ScopeRecord[i].JumpTarget);
|
JumpTarget = (ImageBase + ScopeTable->ScopeRecord[i].JumpTarget);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue