Commit 59ca80cb authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wmiutils: Always null-terminate the server string in build_server (valgrind).

parent e17276b5
...@@ -582,6 +582,7 @@ static WCHAR *build_server( struct path *path, int *len ) ...@@ -582,6 +582,7 @@ static WCHAR *build_server( struct path *path, int *len )
{ {
p[0] = p[1] = '\\'; p[0] = p[1] = '\\';
p[2] = '.'; p[2] = '.';
p[3] = 0;
} }
return ret; return ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment