dbghelp: Prevent debug overflow of internal buffer while tracing.

This commit is contained in:
Eric Pouech 2008-04-30 21:28:59 +02:00 committed by Alexandre Julliard
parent 95f2d367b3
commit 5ccf6a3394
1 changed files with 1 additions and 1 deletions

View File

@ -1561,7 +1561,7 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
while (*ptr1) while (*ptr1)
{ {
ptr2 = ptr1 + strlen(ptr1) + 1; 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; ptr1 = ptr2 + strlen(ptr2) + 1;
} }
} }