dbghelp: Prevent debug overflow of internal buffer while tracing.
This commit is contained in:
parent
95f2d367b3
commit
5ccf6a3394
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue