https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6d89d19f396041e91f627…
commit 6d89d19f396041e91f627f16573b37f8e6d4c70f
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Fri Dec 28 19:27:32 2018 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Thu Jan 3 22:52:18 2019 +0100
[LDR] Ensure we start with a valid pointer
---
dll/ntdll/ldr/ldrutils.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dll/ntdll/ldr/ldrutils.c b/dll/ntdll/ldr/ldrutils.c
index 4aa1cfb1c1..6058a70335 100644
--- a/dll/ntdll/ldr/ldrutils.c
+++ b/dll/ntdll/ldr/ldrutils.c
@@ -1851,6 +1851,7 @@ LdrpSearchPath(IN PWCHAR *SearchPath,
/* FIXME: Setup TestName here */
Status = STATUS_NOT_FOUND;
+ BufEnd = Buffer;
/* Start loop */
do