Heinrich Schuchardt cd1db46353 easylogo: avoid buffer overrun
Building easylogo with `HOST_TOOLS_ALL=y make tools` results in a build
warning due to a possible buffer overrun:

tools/easylogo/easylogo.c:453:4: note: ‘sprintf’ output between 7 and
262 bytes into a destination of size 256
    sprintf (str, "%s, 0x%02x", app, *dataptr++);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Truncate the output to fit into the destination buffer.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-08-20 12:20:33 -04:00
..
2019-08-20 12:20:33 -04:00
2019-08-11 16:43:41 -04:00
2019-07-29 00:20:31 +02:00
2019-02-01 14:13:46 -05:00
2019-01-01 14:12:18 +01:00
2019-07-29 00:20:31 +02:00
2009-04-28 01:16:46 +02:00