[PATCH] msi: allocate correct buffer size (Coverity)

Hans Leidekker hans at codeweavers.com
Mon Jun 20 03:11:33 CDT 2016


On Sat, 2016-06-18 at 10:02 +0200, Marcus Meissner wrote:
> 713180 Out-of-bounds access
> 713179 Out-of-bounds access
> 
> We pass in a size of 1 character more to MBtoWC than we allocated earlier.

No, Coverity doesn't see that MsiEnumComponentsExW and MsiEnumProductsExW return
size excluding the terminating null.





More information about the wine-devel mailing list