Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e414561a
Commit
e414561a
authored
Apr 20, 2023
by
Brendan Shanks
Committed by
Alexandre Julliard
Apr 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix crash when rethrowing after a non-C++ exception on x86_64.
parent
90cc0942
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
except_x86_64.c
dlls/msvcrt/except_x86_64.c
+4
-4
No files found.
dlls/msvcrt/except_x86_64.c
View file @
e414561a
...
@@ -579,14 +579,14 @@ static DWORD cxx_frame_handler(EXCEPTION_RECORD *rec, ULONG64 frame,
...
@@ -579,14 +579,14 @@ static DWORD cxx_frame_handler(EXCEPTION_RECORD *rec, ULONG64 frame,
return
ExceptionContinueSearch
;
return
ExceptionContinueSearch
;
}
}
if
(
rec
->
ExceptionCode
==
CXX_EXCEPTION
)
if
(
rec
->
ExceptionCode
==
CXX_EXCEPTION
&&
{
(
!
rec
->
ExceptionInformation
[
1
]
&&
!
rec
->
ExceptionInformation
[
2
]))
if
(
!
rec
->
ExceptionInformation
[
1
]
&&
!
rec
->
ExceptionInformation
[
2
])
{
{
TRACE
(
"rethrow detected.
\n
"
);
TRACE
(
"rethrow detected.
\n
"
);
*
rec
=
*
msvcrt_get_thread_data
()
->
exc_record
;
*
rec
=
*
msvcrt_get_thread_data
()
->
exc_record
;
}
}
if
(
rec
->
ExceptionCode
==
CXX_EXCEPTION
)
{
exc_type
=
(
cxx_exception_type
*
)
rec
->
ExceptionInformation
[
2
];
exc_type
=
(
cxx_exception_type
*
)
rec
->
ExceptionInformation
[
2
];
if
(
TRACE_ON
(
seh
))
if
(
TRACE_ON
(
seh
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment