wmiutils: Always null-terminate the server string in build_server (valgrind).
Hans Leidekker
hans at codeweavers.com
Tue May 13 06:42:34 CDT 2014
---
dlls/wmiutils/path.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/wmiutils/path.c b/dlls/wmiutils/path.c
index b2b4945..7977416 100644
--- a/dlls/wmiutils/path.c
+++ b/dlls/wmiutils/path.c
@@ -582,6 +582,7 @@ static WCHAR *build_server( struct path *path, int *len )
{
p[0] = p[1] = '\\';
p[2] = '.';
+ p[3] = 0;
}
return ret;
}
--
2.0.0.rc2
More information about the wine-patches
mailing list