mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 09:46:21 +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),
|
sizeof(ULONG),
|
||||||
NULL);
|
NULL);
|
||||||
if (!NT_SUCCESS(Status)) BreakOnDllLoad = 0;
|
if (!NT_SUCCESS(Status)) BreakOnDllLoad = 0;
|
||||||
|
|
||||||
|
/* Reset status back to STATUS_SUCCESS */
|
||||||
|
Status = STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Break if aksed */
|
/* Break if aksed */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue