diff --git a/Globe.c b/Globe.c index 434ac8b..fb3e65c 100644 --- a/Globe.c +++ b/Globe.c @@ -528,7 +528,7 @@ void onImageLoading(HINTERNET hInternet, DWORD_PTR dwContext, DWORD dwInternetSt if (counts.count == 0) { allImagesRequestedPresent = 1; } - char* cacheFilePath = malloc(cachePathLength + 25 + 1); + char* cacheFilePath = malloc(cachePathLength + 24 + 1); if (cacheFilePath != NULL) { char* idStartInCachePath = cacheFilePath + cachePathLength; memcpy(cacheFilePath, cachePath, cachePathLength); diff --git a/distributables/Globe.exe b/distributables/Globe.exe index dfdcb2d..daa6ed4 100644 Binary files a/distributables/Globe.exe and b/distributables/Globe.exe differ