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

This commit is contained in:
Hans Leidekker 2014-05-13 13:42:34 +02:00 committed by Alexandre Julliard
parent e17276b528
commit 59ca80cb3d

View file

@ -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;
} }