wininet: Make sure to null terminate a string before copying it.
This commit is contained in:
parent
1a2417d9bc
commit
39c905f6d0
|
@ -560,6 +560,7 @@ void URLCacheContainers_CreateDefaults(void)
|
|||
}
|
||||
|
||||
wszCachePath[path_len] = '\\';
|
||||
wszCachePath[path_len+1] = 0;
|
||||
|
||||
strcpyW(wszMutexName, wszCachePath);
|
||||
|
||||
|
|
Loading…
Reference in New Issue