projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c14eaa
)
[NTDLL:LDR]
author
Thomas Faber
<thomas.faber@reactos.org>
Sun, 25 Oct 2015 13:07:28 +0000
(13:07 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sun, 25 Oct 2015 13:07:28 +0000
(13:07 +0000)
- Take the right exit path from LdrpMapDll when an illegal dll relocation is encountered. CID
1237071
svn path=/trunk/; revision=69695
reactos/dll/ntdll/ldr/ldrutils.c
patch
|
blob
|
history
diff --git
a/reactos/dll/ntdll/ldr/ldrutils.c
b/reactos/dll/ntdll/ldr/ldrutils.c
index
eab10c0
..
44dde71
100644
(file)
--- a/
reactos/dll/ntdll/ldr/ldrutils.c
+++ b/
reactos/dll/ntdll/ldr/ldrutils.c
@@
-1421,7
+1421,7
@@
SkipCheck:
/* Don't do relocation */
Status = STATUS_CONFLICTING_ADDRESSES;
- goto
NoRelocNeeded
;
+ goto
FailRelocate
;
}
/* Change the protection to prepare for relocation */
@@
-1459,7
+1459,7
@@
SkipCheck:
Status = LdrpSetProtection(ViewBase, TRUE);
}
}
-
//
FailRelocate:
+FailRelocate:
/* Handle any kind of failure */
if (!NT_SUCCESS(Status))
{