From 39c905f6d062cd04208a0d61124178e0ff1ec47b Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 19 Jun 2006 16:57:43 +0900 Subject: [PATCH] wininet: Make sure to null terminate a string before copying it. --- dlls/wininet/urlcache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c index 033e3c326b4..5d5f3b03dc7 100644 --- a/dlls/wininet/urlcache.c +++ b/dlls/wininet/urlcache.c @@ -560,6 +560,7 @@ void URLCacheContainers_CreateDefaults(void) } wszCachePath[path_len] = '\\'; + wszCachePath[path_len+1] = 0; strcpyW(wszMutexName, wszCachePath);