msi: Only double the returned size when szValueBuf is NULL

James Hawkins truiken at gmail.com
Mon Oct 15 22:25:16 CDT 2007


Hi,

The double size 'bug' only happens when the caller requests the size
by sending in a NULL szValueBuf.  The size is correct when filling out
the value.  Verified on native and the Adobe Photoshop Album installer
requires this behavior.  Fixes bug 9946.
http://bugs.winehq.org/show_bug.cgi?id=9946

Changelog:
* Only double the returned size when szValueBuf is NULL.

 dlls/msi/package.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
James Hawkins
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0008-Only-double-the-returned-size-when-szValueBuf-is-NULL.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20071015/26c2e261/attachment.txt 


More information about the wine-patches mailing list