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
48325f1f
Commit
48325f1f
authored
Oct 31, 1998
by
Stephen Langasek
Committed by
Alexandre Julliard
Oct 31, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix for fixup_imports: Enable checking for terminating import
struct with Characteristics bitfield set to 0.
parent
bf1bc516
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
pe_image.c
loader/pe_image.c
+2
-4
No files found.
loader/pe_image.c
View file @
48325f1f
...
...
@@ -238,8 +238,7 @@ DWORD fixup_imports (PDB32 *process,WINE_MODREF *wm)
if
(
!
pe_imp
)
ERR
(
win32
,
"no import directory????
\n
"
);
/* FIXME: should terminate on 0 Characteristics */
for
(
i
=
0
;
pe_imp
->
Name
;
pe_imp
++
)
for
(
i
=
0
;
pe_imp
->
Name
&&
pe_imp
->
u
.
Characteristics
;
pe_imp
++
)
i
++
;
/* Allocate module dependency list */
...
...
@@ -250,8 +249,7 @@ DWORD fixup_imports (PDB32 *process,WINE_MODREF *wm)
* added to the modref list of the process.
*/
/* FIXME: should terminate on 0 Characteristics */
for
(
i
=
0
,
pe_imp
=
pem
->
pe_import
;
pe_imp
->
Name
;
pe_imp
++
)
{
for
(
i
=
0
,
pe_imp
=
pem
->
pe_import
;
pe_imp
->
Name
&&
pe_imp
->
u
.
Characteristics
;
pe_imp
++
)
{
HMODULE32
hImpModule
;
IMAGE_IMPORT_BY_NAME
*
pe_name
;
PIMAGE_THUNK_DATA
import_list
,
thunk_list
;
...
...
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