https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ff50b0db2e64d472353edc...
commit ff50b0db2e64d472353edc3b924a1e1542998aa8 Author: Nguyen Trung Khanh nguyentrungkhanh97@gmail.com AuthorDate: Sat Aug 8 12:05:22 2020 +0700 Commit: GitHub noreply@github.com CommitDate: Sat Aug 8 14:05:22 2020 +0900
[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;