mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 05:20:54 +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:
parent
037bb97747
commit
a02b3fc01f
1 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue