Displaying 1 result from an estimated 1 matches for "handle_network".
2020 Feb 18
1
install_prereq install-unpackaged fails on Debian Buster
...A nbs-trunk/nbscat.c
A nbs-trunk/Makefile
A nbs-trunk/nbscat8k
A nbs-trunk/xmms-nbs-1.2.10.patch
A nbs-trunk/xmms-nbs-orig.patch
Révision 15 extraite.
cc -g -Wall -O2 -D_NBS_PRIVATE -Wmissing-prototypes -Werror
-Wno-pointer-sign -D_REENTRANT -c -o nbsd.o nbsd.c
nbsd.c: In function ‘handle_network’:
nbsd.c:453:5: error: ‘strncpy’ output may be truncated copying 79 bytes
from a string of length 79 [-Werror=stringop-truncation]
strncpy(ns->name, si->streamname, sizeof(ns->name) - 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nbsd.c:454:5: error: ‘strncpy’ outpu...