Hans Leidekker : winhttp: Fix invalid reads with tracing on (Valgrind).
Alexandre Julliard
julliard at winehq.org
Wed Oct 4 15:37:14 CDT 2017
Module: wine
Branch: master
Commit: 6283f4ed96339d9e30e263572cfee8b92add1180
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6283f4ed96339d9e30e263572cfee8b92add1180
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Oct 4 16:49:42 2017 +0200
winhttp: Fix invalid reads with tracing on (Valgrind).
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winhttp/request.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index a355887..96a2c91 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -519,7 +519,7 @@ BOOL WINAPI WinHttpAddRequestHeaders( HINTERNET hrequest, LPCWSTR headers, DWORD
BOOL ret;
request_t *request;
- TRACE("%p, %s, 0x%x, 0x%08x\n", hrequest, debugstr_w(headers), len, flags);
+ TRACE("%p, %s, %u, 0x%08x\n", hrequest, debugstr_wn(headers, len), len, flags);
if (!headers || !len)
{
@@ -2172,8 +2172,8 @@ BOOL WINAPI WinHttpSendRequest( HINTERNET hrequest, LPCWSTR headers, DWORD heade
BOOL ret;
request_t *request;
- TRACE("%p, %s, 0x%x, %u, %u, %lx\n",
- hrequest, debugstr_w(headers), headers_len, optional_len, total_len, context);
+ TRACE("%p, %s, %u, %u, %u, %lx\n", hrequest, debugstr_wn(headers, headers_len), headers_len, optional_len,
+ total_len, context);
if (!(request = (request_t *)grab_object( hrequest )))
{
More information about the wine-cvs
mailing list