mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 00:27:16 +00:00
wmiutils: Always null-terminate the server string in build_server (valgrind).
This commit is contained in:
parent
e17276b528
commit
59ca80cb3d
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue