msi 2: Initialize the size parameter

James Hawkins truiken at gmail.com
Thu Jul 26 19:34:10 CDT 2007


Hi,

Changelog:
* Initialize the size parameter.

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

-- 
James Hawkins
-------------- next part --------------
diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index cc08c29..54efc85 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -842,6 +842,7 @@ static UINT HANDLE_CustomType23(MSIPACKA
 
     static const WCHAR backslash[] = {'\\',0};
 
+    size = MAX_PATH;
     MSI_GetPropertyW(package, cszSourceDir, package_path, &size);
     lstrcatW(package_path, backslash);
     lstrcatW(package_path, source);
-- 
1.4.1


More information about the wine-patches mailing list