[PATCH 01/10] msi: Make sure we don't access pcchValueBuf when szBuffer is NULL, as pcchValueBuf is not required to be initialized in this case.

James Hawkins truiken at gmail.com
Sun Dec 13 21:35:27 CST 2009


Fixes several valgrind errors of the form:

Conditional jump or move depends on uninitialised value(s)
    at  MSI_GetProductInfo (msi.c:1041)
    by  MsiGetProductInfoW (msi.c:1108)
    by  InstallerImpl_ProductInfo (automation.c:2106)
---
 dlls/msi/msi.c       |   30 +++++++++++++++++-------------
 dlls/msi/tests/msi.c |    4 ++--
 2 files changed, 19 insertions(+), 15 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msi-Make-sure-we-don-t-access-pcchValueBuf-when-szBu.patch
Type: text/x-patch
Size: 2665 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091213/ab9e0947/attachment-0001.bin>


More information about the wine-patches mailing list