comctl32: Fix read of uninitialized data in LISTVIEW_GetItemExtT when LVIF_TEXT is not set (Valgrind).

Alexander Scott-Johns alexander.scott.johns at googlemail.com
Sat Feb 19 07:49:27 CST 2011


On 19 February 2011 11:42, Nikolay Sivov <bunglehead at gmail.com> wrote:
> I think it's enough to add a mask check here:
> ---
>    if (bResult && lpLVItem->pszText != pszText)
> ---
>
> to keep a single call of GetItem.

But isn't

     pszText = lpLVItem->pszText;

undefined behaviour if lpLVItem->pszText is not initialized?



More information about the wine-devel mailing list