msvcrt: Fix exception parameters number validation in x86_64 __CxxDetectRethrow.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1422add1df
commit
1a8015cb4d
|
@ -106,7 +106,7 @@ BOOL CDECL __CxxDetectRethrow(PEXCEPTION_POINTERS ptrs)
|
||||||
rec = ptrs->ExceptionRecord;
|
rec = ptrs->ExceptionRecord;
|
||||||
|
|
||||||
if (rec->ExceptionCode == CXX_EXCEPTION &&
|
if (rec->ExceptionCode == CXX_EXCEPTION &&
|
||||||
rec->NumberParameters == 3 &&
|
rec->NumberParameters == 4 &&
|
||||||
rec->ExceptionInformation[0] == CXX_FRAME_MAGIC_VC6 &&
|
rec->ExceptionInformation[0] == CXX_FRAME_MAGIC_VC6 &&
|
||||||
rec->ExceptionInformation[2])
|
rec->ExceptionInformation[2])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue