mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[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:
parent
4c14eaa561
commit
e0526b4623
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue