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+