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
d82f06c0
Commit
d82f06c0
authored
Oct 18, 2019
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Properly handle 0 returns from unw_step().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aa482426
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
signal_arm64.c
dlls/ntdll/signal_arm64.c
+5
-1
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+6
-1
No files found.
dlls/ntdll/signal_arm64.c
View file @
d82f06c0
...
...
@@ -523,7 +523,11 @@ static NTSTATUS libunwind_virtual_unwind( ULONG_PTR ip, ULONG_PTR *frame, CONTEX
ip
,
(
unsigned
long
)
info
.
start_ip
,
(
unsigned
long
)
info
.
end_ip
,
(
unsigned
long
)
info
.
handler
,
(
unsigned
long
)
info
.
lsda
,
(
unsigned
long
)
info
.
unwind_info
);
rc
=
unw_step
(
&
cursor
);
if
(
!
(
rc
=
unw_step
(
&
cursor
)))
{
WARN
(
"last frame
\n
"
);
return
STATUS_SUCCESS
;
}
if
(
rc
<
0
)
{
WARN
(
"failed to unwind: %d
\n
"
,
rc
);
...
...
dlls/ntdll/signal_x86_64.c
View file @
d82f06c0
...
...
@@ -1524,7 +1524,12 @@ static NTSTATUS libunwind_virtual_unwind( ULONG64 ip, BOOL* got_info, ULONG64 *f
ip
,
(
unsigned
long
)
info
.
start_ip
,
(
unsigned
long
)
info
.
end_ip
,
(
unsigned
long
)
info
.
handler
,
(
unsigned
long
)
info
.
lsda
,
(
unsigned
long
)
info
.
unwind_info
);
rc
=
unw_step
(
&
cursor
);
if
(
!
(
rc
=
unw_step
(
&
cursor
)))
{
WARN
(
"last frame
\n
"
);
*
got_info
=
FALSE
;
return
STATUS_SUCCESS
;
}
if
(
rc
<
0
)
{
WARN
(
"failed to unwind: %d
\n
"
,
rc
);
...
...
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