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
1 changed files with 1 additions and 0 deletions

View File

@ -582,6 +582,7 @@ static WCHAR *build_server( struct path *path, int *len )
{
p[0] = p[1] = '\\';
p[2] = '.';
p[3] = 0;
}
return ret;
}