Module: wine Branch: refs/heads/master Commit: 39c905f6d062cd04208a0d61124178e0ff1ec47b URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=39c905f6d062cd04208a0d61...
Author: Mike McCormack mike@codeweavers.com Date: Mon Jun 19 16:57:43 2006 +0900
wininet: Make sure to null terminate a string before copying it.
---
dlls/wininet/urlcache.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c index 033e3c3..5d5f3b0 100644 --- a/dlls/wininet/urlcache.c +++ b/dlls/wininet/urlcache.c @@ -560,6 +560,7 @@ void URLCacheContainers_CreateDefaults(v }
wszCachePath[path_len] = '\'; + wszCachePath[path_len+1] = 0;
strcpyW(wszMutexName, wszCachePath);