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
dfbaa901
Commit
dfbaa901
authored
Nov 06, 2002
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced assert by simple if + warning message for too long symbols.
parent
23be4ff0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
hash.c
programs/winedbg/hash.c
+7
-4
No files found.
programs/winedbg/hash.c
View file @
dfbaa901
...
...
@@ -389,10 +389,13 @@ enum get_sym_val DEBUG_GetSymbolValue( const char * name,
{
char
buffer
[
512
];
assert
(
strlen
(
name
)
<
sizeof
(
buffer
)
-
2
);
/* one for '_', one for '\0' */
buffer
[
0
]
=
'_'
;
strcpy
(
buffer
+
1
,
name
);
num
=
DEBUG_GSV_Helper
(
buffer
,
lineno
,
value
,
NUMDBGV
,
bp_flag
);
if
(
strlen
(
name
)
<
sizeof
(
buffer
)
-
2
)
/* one for '_', one for '\0' */
{
buffer
[
0
]
=
'_'
;
strcpy
(
buffer
+
1
,
name
);
num
=
DEBUG_GSV_Helper
(
buffer
,
lineno
,
value
,
NUMDBGV
,
bp_flag
);
}
else
DEBUG_Printf
(
DBG_CHN_WARN
,
"Way too long symbol (%s)
\n
"
,
name
);
}
/* now get the local symbols if any */
...
...
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