winmm: Clear adwInfo when the struct MMIOINFO is initialized by MMIO_Open

Bruno Jesus 00cpxxx at gmail.com
Sun Oct 25 05:20:51 CDT 2015


On Friday, October 23, 2015, Andrew Eikum <aeikum at codeweavers.com
<javascript:_e(%7B%7D,'cvml','aeikum at codeweavers.com');>> wrote:

> This looks OK to me. What do you think about zeroing the whole
> structure instead of just some of the fields, just to prevent this
> problem happening again in the future?
>

I believe it makes sense, better to have 0 in all fields than garbage.

https://source.winehq.org/patches/data/115723

Thanks,
Bruno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20151025/2df5506c/attachment.html>


More information about the wine-devel mailing list