Skip to content

Commit ff50b0d

Browse files
authored
[NTUSER] Fix stack memory disclosure in NtUserBuildPropList (reactos#3023)
Fix structure alignment cause to stack memory disclosure in NtUserBuildPropList.
1 parent f7865b8 commit ff50b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32ss/user/ntuser/prop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ NtUserBuildPropList(
143143
PWND Window;
144144
PPROPERTY Property;
145145
PLIST_ENTRY ListEntry;
146-
PROPLISTITEM listitem, *li;
146+
PROPLISTITEM listitem = { 0 }, *li;
147147
NTSTATUS Status;
148148
DWORD Cnt = 0;
149149

0 commit comments

Comments
 (0)