msi: Initialize the size parameter.
This commit is contained in:
parent
b0ac20e951
commit
fb45206ed7
@ -842,6 +842,7 @@ static UINT HANDLE_CustomType23(MSIPACKAGE *package, LPCWSTR source,
|
|||||||
|
|
||||||
static const WCHAR backslash[] = {'\\',0};
|
static const WCHAR backslash[] = {'\\',0};
|
||||||
|
|
||||||
|
size = MAX_PATH;
|
||||||
MSI_GetPropertyW(package, cszSourceDir, package_path, &size);
|
MSI_GetPropertyW(package, cszSourceDir, package_path, &size);
|
||||||
lstrcatW(package_path, backslash);
|
lstrcatW(package_path, backslash);
|
||||||
lstrcatW(package_path, source);
|
lstrcatW(package_path, source);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user