[NTDLL:LDR] Avoid passing an uninitialized variable to another function.
authorThomas Faber <thomas.faber@reactos.org>
Fri, 28 Dec 2018 10:28:43 +0000 (11:28 +0100)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 28 Dec 2018 12:41:09 +0000 (13:41 +0100)
dll/ntdll/ldr/ldrpe.c

index d0bf128..d8d235b 100644 (file)
@@ -1162,6 +1162,7 @@ FailurePath:
             {
                 /* Import by name */
                 ForwardName = &ForwarderName;
+                ForwardOrdinal = 0;
             }
 
             /* Get the pointer */