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
00761353
Commit
00761353
authored
Jul 24, 1999
by
Kevin Holbrook
Committed by
Alexandre Julliard
Jul 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid crashing on a bad symbol address of 0x0000.
parent
e02a540b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
types.c
debugger/types.c
+8
-0
No files found.
debugger/types.c
View file @
00761353
...
...
@@ -392,6 +392,14 @@ DEBUG_GetExprValue(DBG_ADDR * addr, char ** format)
if
(
!
DBG_CHECK_READ_PTR
(
&
address
,
1
))
return
0
;
rtn
=
(
unsigned
int
)
*
((
unsigned
char
**
)
addr
->
off
);
type2
=
addr
->
type
->
un
.
pointer
.
pointsto
;
if
(
!
type2
)
{
def_format
=
"Internal symbol error: unable to access memory location 0x%08x"
;
rtn
=
0
;
break
;
}
if
(
type2
->
type
==
DT_BASIC
&&
type2
->
un
.
basic
.
basic_size
==
1
)
{
def_format
=
"
\"
%s
\"
"
;
...
...
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