From 92b8d327b9225d8cb5ed84c90d200239c564d2d8 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 11 Oct 2017 15:33:15 +0200 Subject: [PATCH] [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 de05a92a48f..f955818f78f 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; } -- 2.17.1