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
d751c2e5
Commit
d751c2e5
authored
Jan 07, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Correctly walk up the list of trylevels in except_handler3.
parent
c89617e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
except.c
dlls/msvcrt/except.c
+4
-4
No files found.
dlls/msvcrt/except.c
View file @
d751c2e5
...
...
@@ -219,10 +219,10 @@ int CDECL _except_handler3(PEXCEPTION_RECORD rec,
while
(
trylevel
!=
TRYLEVEL_END
)
{
TRACE
(
"level %d prev %d filter %p
\n
"
,
trylevel
,
pScopeTable
[
trylevel
].
previousTryLevel
,
pScopeTable
[
trylevel
].
lpfnFilter
);
if
(
pScopeTable
[
trylevel
].
lpfnFilter
)
{
TRACE
(
"filter = %p
\n
"
,
pScopeTable
[
trylevel
].
lpfnFilter
);
retval
=
call_filter
(
pScopeTable
[
trylevel
].
lpfnFilter
,
&
exceptPtrs
,
&
frame
->
_ebp
);
TRACE
(
"filter returned %s
\n
"
,
retval
==
EXCEPTION_CONTINUE_EXECUTION
?
...
...
@@ -241,13 +241,13 @@ int CDECL _except_handler3(PEXCEPTION_RECORD rec,
/* Set our trylevel to the enclosing block, and call the __finally
* code, which won't return
*/
frame
->
trylevel
=
pScopeTable
->
previousTryLevel
;
frame
->
trylevel
=
pScopeTable
[
trylevel
].
previousTryLevel
;
TRACE
(
"__finally block %p
\n
"
,
pScopeTable
[
trylevel
].
lpfnHandler
);
call_finally_block
(
pScopeTable
[
trylevel
].
lpfnHandler
,
&
frame
->
_ebp
);
ERR
(
"Returned from __finally block - expect crash!
\n
"
);
}
}
trylevel
=
pScopeTable
->
previousTryLevel
;
trylevel
=
pScopeTable
[
trylevel
].
previousTryLevel
;
}
}
#else
...
...
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