msi: Fix the size allocated for the deferred custom action string

James Hawkins truiken at gmail.com
Fri Aug 3 19:03:36 CDT 2007


Hi,

This fixes a regression in the Acrobat 8 installer.

Changelog:
* Fix the size allocated for the deferred custom action string.

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

-- 
James Hawkins
-------------- next part --------------
diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 390113e..9084e46 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -153,7 +153,7 @@ static LPWSTR msi_get_deferred_action(LP
         return strdupW(action);
 
     len = lstrlenW(action) + lstrlenW(actiondata) +
-          lstrlenW(usersid) + lstrlenW(prodcode) + 5;
+          lstrlenW(usersid) + lstrlenW(prodcode) + 7;
     deferred = msi_alloc(len * sizeof(WCHAR));
 
     sprintfW(deferred, format, actiondata, usersid, prodcode, action);
-- 
1.4.1


More information about the wine-patches mailing list