msi: Correctly size packagecode as it's an unsquashed guid.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b0d04e69bb
commit
5ac02423b0
|
@ -1108,7 +1108,7 @@ static UINT MSI_GetProductInfo(LPCWSTR szProduct, LPCWSTR szAttribute,
|
||||||
MSIINSTALLCONTEXT context = MSIINSTALLCONTEXT_USERUNMANAGED;
|
MSIINSTALLCONTEXT context = MSIINSTALLCONTEXT_USERUNMANAGED;
|
||||||
UINT r = ERROR_UNKNOWN_PROPERTY;
|
UINT r = ERROR_UNKNOWN_PROPERTY;
|
||||||
HKEY prodkey, userdata, source;
|
HKEY prodkey, userdata, source;
|
||||||
WCHAR *val = NULL, squashed_pc[SQUASHED_GUID_SIZE], packagecode[SQUASHED_GUID_SIZE];
|
WCHAR *val = NULL, squashed_pc[SQUASHED_GUID_SIZE], packagecode[GUID_SIZE];
|
||||||
BOOL badconfig = FALSE;
|
BOOL badconfig = FALSE;
|
||||||
LONG res;
|
LONG res;
|
||||||
DWORD type = REG_NONE;
|
DWORD type = REG_NONE;
|
||||||
|
|
Loading…
Reference in New Issue