- Make behavior consistent: if there is no relocation information, return SUCCESS in both possible cases.

See issue #2268 for more details.

svn path=/trunk/; revision=29895
This commit is contained in:
Aleksey Bragin 2007-10-26 08:48:04 +00:00
parent f6640c9b72
commit 0b279a26b2

View file

@ -1230,7 +1230,7 @@ LdrPerformRelocations(PIMAGE_NT_HEADERS NTHeaders,
if (NTHeaders->FileHeader.Characteristics & IMAGE_FILE_RELOCS_STRIPPED)
{
return STATUS_UNSUCCESSFUL;
return STATUS_SUCCESS;
}
RelocationDDir =