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[2] = '.';
|
||||
p[3] = 0;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user