https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0013b0f71c5b87366e108…
commit 0013b0f71c5b87366e108ccb4cafcd4579db7321
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Fri Dec 28 11:28:43 2018 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Fri Dec 28 13:41:09 2018 +0100
[NTDLL:LDR] Avoid passing an uninitialized variable to another function.
---
dll/ntdll/ldr/ldrpe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dll/ntdll/ldr/ldrpe.c b/dll/ntdll/ldr/ldrpe.c
index d0bf128a63..d8d235b34b 100644
--- a/dll/ntdll/ldr/ldrpe.c
+++ b/dll/ntdll/ldr/ldrpe.c
@@ -1162,6 +1162,7 @@ FailurePath:
{
/* Import by name */
ForwardName = &ForwarderName;
+ ForwardOrdinal = 0;
}
/* Get the pointer */