Andrew Eikum : wininet: Don't crash by debug printing too long URLs.
Alexandre Julliard
julliard at winehq.org
Wed Sep 28 10:34:00 CDT 2016
Module: wine
Branch: master
Commit: 7e841432ed54286a67566ab6eee86087f014527a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e841432ed54286a67566ab6eee86087f014527a
Author: Andrew Eikum <aeikum at codeweavers.com>
Date: Tue Sep 27 15:14:06 2016 -0500
wininet: Don't crash by debug printing too long URLs.
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wininet/urlcache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c
index c6cc2ee..7db5eab 100644
--- a/dlls/wininet/urlcache.c
+++ b/dlls/wininet/urlcache.c
@@ -2562,7 +2562,7 @@ BOOL WINAPI UnlockUrlCacheEntryFileA(LPCSTR lpszUrlName, DWORD dwReserved)
if (!urlcache_find_hash_entry(pHeader, lpszUrlName, &pHashEntry))
{
cache_container_unlock_index(pContainer, pHeader);
- TRACE("entry %s not found!\n", lpszUrlName);
+ TRACE("entry %s not found!\n", debugstr_a(lpszUrlName));
SetLastError(ERROR_FILE_NOT_FOUND);
return FALSE;
}
@@ -3309,7 +3309,7 @@ BOOL WINAPI DeleteUrlCacheEntryA(LPCSTR lpszUrlName)
if (!urlcache_find_hash_entry(pHeader, lpszUrlName, &pHashEntry))
{
cache_container_unlock_index(pContainer, pHeader);
- TRACE("entry %s not found!\n", lpszUrlName);
+ TRACE("entry %s not found!\n", debugstr_a(lpszUrlName));
SetLastError(ERROR_FILE_NOT_FOUND);
return FALSE;
}
More information about the wine-cvs
mailing list