From ff50b0db2e64d472353edc3b924a1e1542998aa8 Mon Sep 17 00:00:00 2001 From: Nguyen Trung Khanh Date: Sat, 8 Aug 2020 12:05:22 +0700 Subject: [PATCH] [NTUSER] Fix stack memory disclosure in NtUserBuildPropList (#3023) Fix structure alignment cause to stack memory disclosure in NtUserBuildPropList. --- win32ss/user/ntuser/prop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32ss/user/ntuser/prop.c b/win32ss/user/ntuser/prop.c index e325ed45cfa..038f909d80d 100644 --- a/win32ss/user/ntuser/prop.c +++ b/win32ss/user/ntuser/prop.c @@ -143,7 +143,7 @@ NtUserBuildPropList( PWND Window; PPROPERTY Property; PLIST_ENTRY ListEntry; - PROPLISTITEM listitem, *li; + PROPLISTITEM listitem = { 0 }, *li; NTSTATUS Status; DWORD Cnt = 0;