Aric Stewart : wininet: use debugstr_a in NETCON_getNextLine TRACE to avoid overflow on long lines .
Module: wine Branch: master Commit: 32c3cf1db7747af1582235dc7c9ce12b9a3fb900 URL: http://source.winehq.org/git/wine.git/?a=commit;h=32c3cf1db7747af1582235dc7c... Author: Aric Stewart <aric(a)codeweavers.com> Date: Fri Feb 13 14:32:28 2009 -0600 wininet: use debugstr_a in NETCON_getNextLine TRACE to avoid overflow on long lines. --- dlls/wininet/netconnection.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c index c573407..ccf2928 100644 --- a/dlls/wininet/netconnection.c +++ b/dlls/wininet/netconnection.c @@ -659,7 +659,7 @@ BOOL NETCON_getNextLine(WININET_NETCONNECTION *connection, LPSTR lpszBuffer, LPD { lpszBuffer[nRecv++] = '\0'; *dwBuffer = nRecv; - TRACE(":%u %s\n", nRecv, lpszBuffer); + TRACE(":%u %s\n", nRecv, debugstr_a(lpszBuffer)); return TRUE; } if (lpszBuffer[nRecv] != '\r')
participants (1)
-
Alexandre Julliard