Author: tfaber
Date: Sun Oct 25 13:07:28 2015
New Revision: 69695
URL:
http://svn.reactos.org/svn/reactos?rev=69695&view=rev
Log:
[NTDLL:LDR]
- Take the right exit path from LdrpMapDll when an illegal dll relocation is encountered.
CID 1237071
Modified:
trunk/reactos/dll/ntdll/ldr/ldrutils.c
Modified: trunk/reactos/dll/ntdll/ldr/ldrutils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrutils.c?r…
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] Sun Oct 25 13:07:28 2015
@@ -1421,7 +1421,7 @@
/* Don't do relocation */
Status = STATUS_CONFLICTING_ADDRESSES;
- goto NoRelocNeeded;
+ goto FailRelocate;
}
/* Change the protection to prepare for relocation */
@@ -1459,7 +1459,7 @@
Status = LdrpSetProtection(ViewBase, TRUE);
}
}
-//FailRelocate:
+FailRelocate:
/* Handle any kind of failure */
if (!NT_SUCCESS(Status))
{