https://git.reactos.org/?p=reactos.git;a=commitdiff;h=92b8d327b9225d8cb5ed8…
commit 92b8d327b9225d8cb5ed84c90d200239c564d2d8
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Wed Oct 11 15:33:15 2017 +0200
[NTOSKRNL] Fix return of uninitialized variable in PspSetQuotaLimits
CID-1322247
---
ntoskrnl/ps/quota.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ntoskrnl/ps/quota.c b/ntoskrnl/ps/quota.c
index de05a92a48..f955818f78 100644
--- a/ntoskrnl/ps/quota.c
+++ b/ntoskrnl/ps/quota.c
@@ -444,6 +444,10 @@ PspSetQuotaLimits(
Status = STATUS_SUCCESS;
}
+ else
+ {
+ Status = STATUS_SUCCESS;
+ }
return Status;
}