https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0d01b0087185cc6eeaef2…
commit 0d01b0087185cc6eeaef2f29f4038a86ac622ad0
Author: Ivan Labutin <linuxrf(a)gmail.com>
AuthorDate: Mon Nov 13 15:08:27 2017 +0100
[NTOS:FSRTL] Fixed incorrect comparison
---
ntoskrnl/fsrtl/unc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/fsrtl/unc.c b/ntoskrnl/fsrtl/unc.c
index 2f8a1afeb0..6738915f72 100644
--- a/ntoskrnl/fsrtl/unc.c
+++ b/ntoskrnl/fsrtl/unc.c
@@ -71,7 +71,7 @@ FsRtlpIsDfsEnabled(VOID)
return TRUE;
}
- return ((ULONG)KeyQueryOutput.KeyInfo.Data != 1);
+ return ((*(PULONG)KeyQueryOutput.KeyInfo.Data) != 1);
}
NTSTATUS