1b47bd987f
Replace first patch (which is not in master after nearly 4 years) with a new set of pending patches to fix the following build failure with gcc >= 7: liboping.c: In function 'ping_set_ttl': liboping.c:207:9: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size 242 [-Werror=format-truncation=] 207 | "%s: %s", function, message); | ^~ ...... 829 | sstrerror (ret, errbuf, sizeof (errbuf))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ liboping.c:206:2: note: 'snprintf' output between 15 and 270 bytes into a destination of size 256 206 | snprintf (obj->errmsg, sizeof (obj->errmsg), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | "%s: %s", function, message); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/31083354e9064b2deef86917d67e92a88af0fa46 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> |
||
---|---|---|
.. | ||
0001-fix-utf8-support.patch | ||
0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch | ||
0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch | ||
0004-Fix-compile-error-on-GCC-7.patch | ||
Config.in | ||
liboping.hash | ||
liboping.mk |