27 Jun
2004
27 Jun
'04
8:51 a.m.
Jon Griffiths a écrit :
Hi,
Some overly long stabs cause crashes when debug tracing is enabled.
Cheers, Jon
+dlls/dbghelp/stabs.c Prevent the debug buffer from overflowing on long stabs You shouldn't use debugstr_an with a fixed value, since all strings are '\0' terminated. Either fix dlls/ntdll/debugtools.c to handle properly those long string conditions (and remove the ugly call to abort()), or use min(256, strlen(ptr)) as the actual length of the string in debugstr_an calls. I'd prefer the first solution. A+
7841
Age (days ago)
7841
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eric Pouech