mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[NTDLL]
- Result of LdrQueryImageFileExecutionOptions() shouldn't be used as a return status. Always reset it to STATUS_SUCCESS whatever the function returns. See bug #6231 for more details. svn path=/trunk/; revision=51668
This commit is contained in:
@@ -591,6 +591,9 @@ LdrpRunInitializeRoutines(IN PCONTEXT Context OPTIONAL)
|
||||
sizeof(ULONG),
|
||||
NULL);
|
||||
if (!NT_SUCCESS(Status)) BreakOnDllLoad = 0;
|
||||
|
||||
/* Reset status back to STATUS_SUCCESS */
|
||||
Status = STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/* Break if aksed */
|
||||
|
||||
Reference in New Issue
Block a user