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
009c59af
Commit
009c59af
authored
Jun 30, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Don't crash on an invalid nrestab NE header value.
parent
9bdd0272
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ne.c
tools/winedump/ne.c
+3
-3
No files found.
tools/winedump/ne.c
View file @
009c59af
...
...
@@ -151,12 +151,12 @@ static void dump_ne_names( const IMAGE_OS2_HEADER *ne )
}
if
(
ne
->
ne_cbnrestab
)
{
unsigned
int
pos
=
ne
->
ne_nrestab
;
printf
(
"
\n
Non-resident name table:
\n
"
);
pstr
=
PRD
(
ne
->
ne_nrestab
,
0
);
while
(
*
pstr
)
while
((
pstr
=
PRD
(
pos
,
0
))
&&
*
pstr
)
{
printf
(
" %4d: %*.*s
\n
"
,
get_word
(
pstr
+
*
pstr
+
1
),
*
pstr
,
*
pstr
,
pstr
+
1
);
p
str
+=
*
pstr
+
1
+
sizeof
(
WORD
);
p
os
+=
*
pstr
+
1
+
sizeof
(
WORD
);
}
}
}
...
...
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