qingdoa daoo : msvcrt: Fix a TRACE message to avoid buffer overflow.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 5 04:46:27 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 330978ec9ba0c33af92d0cd3caa91e00d0f6be95
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=330978ec9ba0c33af92d0cd3caa91e00d0f6be95

Author: qingdoa daoo <qingdao33122 at yahoo.com>
Date:   Tue Apr  4 18:21:26 2006 -0700

msvcrt: Fix a TRACE message to avoid buffer overflow.

---

 dlls/msvcrt/environ.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcrt/environ.c b/dlls/msvcrt/environ.c
index c59cd75..4b73b48 100644
--- a/dlls/msvcrt/environ.c
+++ b/dlls/msvcrt/environ.c
@@ -77,7 +77,7 @@ int _putenv(const char *str)
  char *dst;
  int ret;
 
- TRACE("%s\n", str);
+ TRACE("%s\n", debugstr_a(str));
 
  if (!str)
    return -1;




More information about the wine-cvs mailing list