[patch 1/3] Code cleanup: strcpy + strlen -> sprintf

Mark Kettenis mark.kettenis@xs4all.nl
Wed Oct 19 00:24:00 GMT 2011


> 
> Hi,
> 
> I do not understand much the reasons, maybe a fear about violating C
> sequence points.  I hope it is not due to incompatible sprintf on
> MS-Windows CE or some such gdbserver platform.

Please use snprintf(3) instead of sprintf(3).



More information about the Gdb-patches mailing list