mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
comctl32: Fix read of uninitialized data in notify_itemactivate (Valgrind).
This commit is contained in:
parent
f2df2f38e6
commit
60b5d91abb
@ -865,6 +865,7 @@ static inline void notify_itemactivate(const LISTVIEW_INFO *infoPtr, const LVHIT
|
||||
item.mask = LVIF_PARAM|LVIF_STATE;
|
||||
item.iItem = htInfo->iItem;
|
||||
item.iSubItem = 0;
|
||||
item.stateMask = (UINT)-1;
|
||||
if (LISTVIEW_GetItemT(infoPtr, &item, TRUE)) {
|
||||
nmia.lParam = item.lParam;
|
||||
nmia.uOldState = item.state;
|
||||
|
Loading…
Reference in New Issue
Block a user