wininet: Make sure to null terminate a string before copying it.

This commit is contained in:
Mike McCormack 2006-06-19 16:57:43 +09:00 committed by Alexandre Julliard
parent 1a2417d9bc
commit 39c905f6d0
1 changed files with 1 additions and 0 deletions

View File

@ -560,6 +560,7 @@ void URLCacheContainers_CreateDefaults(void)
}
wszCachePath[path_len] = '\\';
wszCachePath[path_len+1] = 0;
strcpyW(wszMutexName, wszCachePath);