msi: Only double the returned size when szValueBuf is NULL.
This commit is contained in:
parent
d4ea51ddc9
commit
0e2db26fa3
|
@ -1477,7 +1477,7 @@ static UINT MSI_GetProperty( MSIHANDLE handle, LPCWSTR name,
|
|||
r = msi_strcpy_to_awstring( value, szValueBuf, pchValueBuf );
|
||||
|
||||
/* Bug required by Adobe installers */
|
||||
if (!szValueBuf->unicode)
|
||||
if (!szValueBuf->unicode && !szValueBuf->str.a)
|
||||
*pchValueBuf *= sizeof(WCHAR);
|
||||
|
||||
done:
|
||||
|
|
Loading…
Reference in New Issue