Eric Pouech : dbghelp: Prevent debug overflow of internal buffer while tracing.
Alexandre Julliard
julliard at winehq.org
Mon Apr 7 06:50:21 CDT 2008
Module: wine
Branch: master
Commit: ce7656d218cd9dcd9772992b29e965b92c2a0609
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ce7656d218cd9dcd9772992b29e965b92c2a0609
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sat Apr 5 09:35:28 2008 +0200
dbghelp: Prevent debug overflow of internal buffer while tracing.
---
dlls/dbghelp/msc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index a2454d0..a2d0c23 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -1575,7 +1575,7 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
while (*ptr1)
{
ptr2 = ptr1 + strlen(ptr1) + 1;
- TRACE("\t%s => %s\n", ptr1, ptr2);
+ TRACE("\t%s => %s\n", ptr1, debugstr_a(ptr2));
ptr1 = ptr2 + strlen(ptr2) + 1;
}
}
More information about the wine-cvs
mailing list