Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
76969a86
Commit
76969a86
authored
Dec 20, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Don't call local_unwind2 when Cookie equals MSVCRT_JMP_MAGIC in longjmp.
parent
16cc2b87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
except_i386.c
dlls/msvcrt/except_i386.c
+6
-5
No files found.
dlls/msvcrt/except_i386.c
View file @
76969a86
...
...
@@ -1014,17 +1014,18 @@ void CDECL MSVCRT_longjmp(struct MSVCRT___JUMP_BUFFER *jmp, int retval)
if
(
jmp
->
Registration
)
{
if
(
!
IsBadReadPtr
(
&
jmp
->
Cookie
,
sizeof
(
long
))
&&
jmp
->
Cookie
==
MSVCRT_JMP_MAGIC
&&
jmp
->
UnwindFunc
)
if
(
IsBadReadPtr
(
&
jmp
->
Cookie
,
sizeof
(
long
))
||
jmp
->
Cookie
!=
MSVCRT_JMP_MAGIC
)
{
msvcrt_local_unwind2
((
MSVCRT_EXCEPTION_FRAME
*
)
jmp
->
Registration
,
jmp
->
TryLevel
,
(
void
*
)
jmp
->
Ebp
);
}
else
if
(
jmp
->
UnwindFunc
)
{
MSVCRT_unwind_function
unwind_func
;
unwind_func
=
(
MSVCRT_unwind_function
)
jmp
->
UnwindFunc
;
unwind_func
(
jmp
);
}
else
msvcrt_local_unwind2
((
MSVCRT_EXCEPTION_FRAME
*
)
jmp
->
Registration
,
jmp
->
TryLevel
,
(
void
*
)
jmp
->
Ebp
);
}
if
(
!
retval
)
...
...
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