MSI: make sure strings are nul terminated
Mike McCormack
mike at codeweavers.com
Tue Feb 22 10:24:57 CST 2005
ChangeLog:
* make sure strings are nul terminated
-------------- next part --------------
Index: dlls/msi/action.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/action.c,v
retrieving revision 1.90
diff -u -p -r1.90 action.c
--- dlls/msi/action.c 22 Feb 2005 15:47:00 -0000 1.90
+++ dlls/msi/action.c 22 Feb 2005 16:25:53 -0000
@@ -5184,7 +5184,7 @@ static UINT ACTION_RegisterProduct(MSIPA
static const WCHAR szPropKeys[][80] =
{
{'A','R','P','A','U','T','H','O','R','I','Z','E','D','C','D','F','P','R','E','F','I','X',0},
-{'A','R','P','C','O','N','T','A','C','T'},
+{'A','R','P','C','O','N','T','A','C','T',0},
{'A','R','P','C','O','M','M','E','N','T','S',0},
{'P','r','o','d','u','c','t','N','a','m','e',0},
{'P','r','o','d','u','c','t','V','e','r','s','i','o','n',0},
@@ -5221,7 +5221,7 @@ static UINT ACTION_RegisterProduct(MSIPA
static const WCHAR path[] = {
'C',':','\\','W','i','n','d','o','w','s','\\',
- 'I','n','s','t','a','l','l','e','r','\\'};
+ 'I','n','s','t','a','l','l','e','r','\\',0};
static const WCHAR fmt[] = {
'C',':','\\','W','i','n','d','o','w','s','\\',
'I','n','s','t','a','l','l','e','r','\\',
@@ -5352,14 +5352,14 @@ static UINT ACTION_ForceReboot(MSIPACKAG
'M','i','c','r','o','s','o','f','t','\\',
'W','i','n','d','o','w','s','\\',
'C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\',
- 'R','u','n','O','n','c','e'};
+ 'R','u','n','O','n','c','e',0};
static const WCHAR InstallRunOnce[] = {
'S','o','f','t','w','a','r','e','\\',
'M','i','c','r','o','s','o','f','t','\\',
'W','i','n','d','o','w','s','\\',
'C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\',
'I','n','s','t','a','l','l','e','r','\\',
- 'R','u','n','O','n','c','e','E','n','t','r','i','e','s'};
+ 'R','u','n','O','n','c','e','E','n','t','r','i','e','s',0};
static const WCHAR msiexec_fmt[] = {
'C',':','\\','W','i','n','d','o','w','s','\\','S','y','s','t','e','m',
More information about the wine-patches
mailing list