[2/4] dlls/ole32: Zero out returned stats when IEnumSTATSTG::Next reaches end of enumeration.

Dmitry Timoshkov dmitry at baikal.ru
Sat Oct 31 22:08:34 CDT 2015


Vincent Povirk <madewokherd at gmail.com> wrote:

> Are you sure we shouldn't be zeroing the entire remaining buffer? And
> maybe we should put it after the loop, given there are multiple exits.

I have the tests only for case of fetching one element at end of enum,
that's why the patch fixes only this. If there is a theory that zeroing
should be done for the remaining cells as well, that should be a separate
change with new tests.

-- 
Dmitry.



More information about the wine-devel mailing list