[NTDLL:LDR]

- Take the right exit path from LdrpMapDll when an illegal dll relocation is encountered. CID 1237071

svn path=/trunk/; revision=69695
This commit is contained in:
Thomas Faber 2015-10-25 13:07:28 +00:00
parent 4c14eaa561
commit e0526b4623

View file

@ -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))
{