[RFA] remote debugging patches

Michal Ludvig mludvig@suse.cz
Wed Mar 13 08:17:00 GMT 2002


Andreas Schwab wrote:
> Why are you truncating the name to 100 characters?

It is just an informational message and 100 chars shoud be enough almost 
everytime.
1) IPv4 (or IPv6 sometime in the future) address can't be as long.
2) I didn't expect to have a resolved domainname such long.
3) Neither serial port names are so long.
4) I take care about buffer-overruns using snprintf.

Should I change it?
Michal Ludvig
-- 
* SuSE CR, s.r.o     * mludvig@suse.cz
* +420 2 9654 5373   * http://www.suse.cz



More information about the Gdb-patches mailing list