Albert Lee : ws2_32: WS_getaddrinfo TRACE message can crash Wine.
Alexandre Julliard
julliard at winehq.org
Wed Jun 18 12:54:53 CDT 2008
Module: wine
Branch: master
Commit: b4057a6f39cd28298c5a1577b01d58369879ecc8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b4057a6f39cd28298c5a1577b01d58369879ecc8
Author: Albert Lee <trisk at acm.jhu.edu>
Date: Sun Jun 15 03:01:20 2008 -0400
ws2_32: WS_getaddrinfo TRACE message can crash Wine.
---
dlls/ws2_32/socket.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 889f88f..e41a646 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -3454,7 +3454,7 @@ int WINAPI WS_getaddrinfo(LPCSTR nodename, LPCSTR servname, const struct WS_addr
/* getaddrinfo(3) is thread safe, no need to wrap in CS */
result = getaddrinfo(nodename, servname, punixhints, &unixaires);
- TRACE("%s, %s %p -> %p %d\n", nodename, servname, hints, res, result);
+ TRACE("%s, %s %p -> %p %d\n", debugstr_a(nodename), debugstr_a(servname), hints, res, result);
HeapFree(GetProcessHeap(), 0, node);
HeapFree(GetProcessHeap(), 0, serv);
More information about the wine-cvs
mailing list