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
4d2cfee1
Commit
4d2cfee1
authored
Mar 15, 2004
by
Mike Hearn
Committed by
Alexandre Julliard
Mar 15, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve message given on image map failure.
parent
9eb33c82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
virtual.c
dlls/ntdll/virtual.c
+4
-3
No files found.
dlls/ntdll/virtual.c
View file @
4d2cfee1
...
...
@@ -724,9 +724,10 @@ static NTSTATUS map_image( HANDLE hmapping, int fd, char *base, DWORD total_size
relocs
=
&
nt
->
OptionalHeader
.
DataDirectory
[
IMAGE_DIRECTORY_ENTRY_BASERELOC
];
if
(
!
relocs
->
VirtualAddress
||
!
relocs
->
Size
)
{
if
(
nt
->
OptionalHeader
.
ImageBase
==
0x400000
)
ERR
(
"Standard load address for a Win32 program (0x00400000) not available - security-patched kernel ?
\n
"
);
else
if
(
nt
->
OptionalHeader
.
ImageBase
==
0x400000
)
{
ERR
(
"Image was mapped at %p: standard load address for a Win32 program (0x00400000) not available
\n
"
,
ptr
);
ERR
(
"Do you have exec-shield or prelink active?
\n
"
);
}
else
ERR
(
"FATAL: Need to relocate module from addr %lx, but there are no relocation records
\n
"
,
nt
->
OptionalHeader
.
ImageBase
);
goto
error
;
...
...
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