--- trunk/reactos/subsys/system/msiexec/msiexec.c 2005-05-06 19:16:10 UTC (rev 15056)
+++ trunk/reactos/subsys/system/msiexec/msiexec.c 2005-05-06 19:18:46 UTC (rev 15057)
@@ -145,7 +145,7 @@
continue;
len = value - list->str;
*p++ = ' ';
- strncpyW(p, list->str, len);
+ memcpy(p, list->str, len * sizeof(WCHAR));
p += len;
*p++ = '=';
@@ -155,7 +155,7 @@
if(needs_quote)
*p++ = '"';
len = lstrlenW(value);
- strncpyW(p, value, len);
+ memcpy(p, value, len * sizeof(WCHAR));
p += len;
if(needs_quote)
*p++ = '"';