mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[LDR] Don't dereference a possible nullptr
This commit is contained in:
parent
760027783a
commit
97d0595bf6
1 changed files with 4 additions and 2 deletions
|
@ -2135,8 +2135,10 @@ LdrpInitializeProcess(IN PCONTEXT Context,
|
|||
if (FreeCurDir) RtlFreeUnicodeString(&CurrentDirectory);
|
||||
}
|
||||
|
||||
/* Check if we should look for a .local file */
|
||||
if (ProcessParameters->Flags & RTL_USER_PROCESS_PARAMETERS_LOCAL_DLL_PATH)
|
||||
/* Check if we should look for a .local file
|
||||
FIXME: Thomas suggested that this check might actually be reversed, we should check this file
|
||||
if the flag is NOT set. */
|
||||
if (ProcessParameters && (ProcessParameters->Flags & RTL_USER_PROCESS_PARAMETERS_LOCAL_DLL_PATH))
|
||||
{
|
||||
/* FIXME */
|
||||
DPRINT1("We don't support .local overrides yet\n");
|
||||
|
|
Loading…
Reference in a new issue