==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done ==> Making package: coturn 4.7.0-1 (Fri Jun 27 14:54:05 2025) ==> Retrieving sources... -> Found coturn-4.7.0.tar.gz -> Found turnserver.service -> Found turnserver.sysusers.d -> Found turnserver.tmpfiles.d ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... coturn-4.7.0.tar.gz ... Passed turnserver.service ... Passed turnserver.sysusers.d ... Passed turnserver.tmpfiles.d ... Passed ==> Making package: coturn 4.7.0-1 (Fri Jun 27 14:54:12 2025) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (4) liburing-2.11-1 hiredis-1.3.0-1 mariadb-libs-11.8.2-1 postgresql-libs-17.5-2 Total Download Size: 6.91 MiB Total Installed Size: 37.38 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... mariadb-libs-11.8.2-1-aarch64 downloading... postgresql-libs-17.5-2-aarch64 downloading... liburing-2.11-1-aarch64 downloading... hiredis-1.3.0-1-aarch64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing postgresql-libs... installing liburing... installing mariadb-libs... Optional dependencies for mariadb-libs krb5: for gssapi authentication [installed] installing hiredis... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Checking buildtime dependencies... ==> Retrieving sources... -> Found coturn-4.7.0.tar.gz -> Found turnserver.service -> Found turnserver.sysusers.d -> Found turnserver.tmpfiles.d ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting coturn-4.7.0.tar.gz with bsdtar ==> Starting build()... install is /usr/bin/install sqlite3 is /usr/bin/sqlite3 Use TMP dir /var/tmp Compiler: cc pkgconf is /usr/bin/pkgconf pkg-config: pkgconf Library option -lsocket cannot be used Library option -lwldap32 cannot be used Library option -lwldap64 cannot be used Sockets code is fine: no sin_len field present Ignore IP_RECVERR OpenSSL Crypto lib found. OpenSSL lib found. Libevent2 runtime found. Library option -lprom cannot be used Warning: Libprom development libraries are not installed properly in required location. Prometheus support will be disabled. See the docs/Prometheus.md file. Systemd library found. SQLite3 library found. PostgreSQL found. MySQL found. MongoDB not found. Building without MongoDB support. Hiredis found. PREFIX=/usr LOCALSTATEDIR=/var OSLIBS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd DBLIBS= -lsqlite3 -lpq -L/usr/lib/ -lmariadb -lhiredis OSCFLAGS=-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb DBCFLAGS= -I/usr/include/mysql/ -I/usr/include/hiredis -D_FILE_OFFSET_BITS=64 --prefix=/usr --manprefix=/usr/share --examplesdir=/usr/share/turnserver/examples --disable-rpath Makefile created: success. mkdir -p build/obj mkdir -p build/obj mkdir -p build/obj cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_ioaddr.c -o build/obj/ns_turn_ioaddr.o cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_msg_addr.c -o build/obj/ns_turn_msg_addr.o cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o rm -rf include install -d sqlite mkdir -p include/turn/client rm -rf sqlite/turndb cp -pf src/client/*.h include/turn/client/ sqlite3 sqlite/turndb < turndb/schema.sql cp -pf src/client++/*.h include/turn/client/ cp -pf src/ns_turn_defs.h include/turn/ src/client/ns_turn_ioaddr.c: In function 'make_ioa_addr': src/client/ns_turn_ioaddr.c:225:194: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] src/client/ns_turn_msg.c: In function 'stun_produce_integrity_key_str': src/client/ns_turn_msg.c:187:3: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] src/client/ns_turn_msg.c:179:17: note: length computed here src/client/ns_turn_msg.c: In function 'stun_attr_add_integrity_str': src/client/ns_turn_msg.c:1774:8: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized] src/client/ns_turn_msg.c:1441:5: note: by argument 4 of type 'const uint8_t *' {aka 'const unsigned char *'} to 'stun_attr_add_str' declared here src/client/ns_turn_msg.c:1756:11: note: 'hmac' declared here src/client/ns_turn_msg.c: In function 'convert_oauth_key_data': src/client/ns_turn_msg.c:2109:210: warning: '__builtin_strncpy' output may be truncated copying 129 bytes from a string of length 479 [-Wstringop-truncation] mkdir -p lib ar -r lib/libturnclient.a build/obj/ns_turn_ioaddr.o build/obj/ns_turn_msg_addr.o build/obj/ns_turn_msg.o ar: creating lib/libturnclient.a pwd pwd pwd /build/coturn/src/coturn-4.7.0 mkdir -p bin /build/coturn/src/coturn-4.7.0 pwd /build/coturn/src/coturn-4.7.0 mkdir -p bin mkdir -p bin cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/oauth/oauth.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_oauth -Llib -lturnclient -Llib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd /build/coturn/src/coturn-4.7.0 mkdir -p bin mkdir -p bin cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/natdiscovery/natdiscovery.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_natdiscovery -Llib -lturnclient -Llib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/stunclient/stunclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_stunclient -Llib -lturnclient -Llib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/uclient/uclient.c src/apps/uclient/startuclient.c src/apps/uclient/mainuclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_uclient -Llib -lturnclient -Llib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/rfc5769/rfc5769check.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_rfc5769check -Llib -lturnclient -Llib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd mkdir -p bin mkdir -p bin rm -rf bin/turnadmin cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/peer/mainudpserver.c src/apps/peer/udpserver.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_peer -Llib -lturnclient -Llib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -I/usr/include/mysql/ -I/usr/include/hiredis -D_FILE_OFFSET_BITS=64 -DTURN_NO_MONGO src/apps/relay/ns_ioalib_engine_impl.c src/apps/relay/turn_ports.c src/apps/relay/http_server.c src/apps/relay/acme.c -Ilib src/apps/relay/mainrelay.c src/apps/relay/netengine.c src/apps/relay/libtelnet.c src/apps/relay/turn_admin_server.c src/apps/relay/userdb.c src/apps/relay/tls_listener.c src/apps/relay/dtls_listener.c src/apps/relay/prom_server.c src/apps/relay/hiredis_libevent2.c src/apps/relay/dbdrivers/dbdriver.c src/apps/relay/dbdrivers/dbd_sqlite.c src/apps/relay/dbdrivers/dbd_pgsql.c src/apps/relay/dbdrivers/dbd_mysql.c src/apps/relay/dbdrivers/dbd_mongo.c src/apps/relay/dbdrivers/dbd_redis.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c src/client/ns_turn_ioaddr.c src/client/ns_turn_msg_addr.c src/client/ns_turn_msg.c src/server/ns_turn_allocation.c src/server/ns_turn_maps_rtcp.c src/server/ns_turn_maps.c src/server/ns_turn_server.c -o bin/turnserver -lsqlite3 -lpq -L/usr/lib/ -lmariadb -lhiredis -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd In file included from src/client/ns_turn_msg.h:38, from src/apps/common/apputils.c:35: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1089:9: note: in expansion of macro ‘STRCPY’ 1089 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_msg.h:38, from src/apps/common/apputils.c:35: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1089:9: note: in expansion of macro ‘STRCPY’ 1089 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_msg.h:38, from src/apps/common/apputils.c:35: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1089:9: note: in expansion of macro ‘STRCPY’ 1089 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/apps/common/ns_turn_utils.h:48, from src/apps/common/ns_turn_utils.c:35: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:310:7: note: in expansion of macro ‘STRCPY’ 310 | STRCPY(log_fn_base, fn); | ^~~~~~ src/apps/uclient/startuclient.c: In function ‘tcp_data_connect’: src/apps/uclient/startuclient.c:1591:64: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 1591 | elem->pinfo.tcp_conn[i] = (app_tcp_conn_info *)calloc(sizeof(app_tcp_conn_info), 1); | ^~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:1591:64: note: earlier argument should specify number of elements, later size of each element In file included from src/apps/common/ns_turn_utils.h:48, from src/apps/common/ns_turn_utils.c:35: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:310:7: note: in expansion of macro ‘STRCPY’ 310 | STRCPY(log_fn_base, fn); | ^~~~~~ In file included from src/apps/common/ns_turn_utils.h:48, from src/apps/common/ns_turn_utils.c:35: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:310:7: note: in expansion of macro ‘STRCPY’ 310 | STRCPY(log_fn_base, fn); | ^~~~~~ In file included from src/apps/uclient/startuclient.c:35: src/apps/uclient/startuclient.c: In function ‘clnet_connect’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c:289:5: note: in expansion of macro ‘STRCPY’ 289 | STRCPY(clnet_info->lsaddr, local_address); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c:290:5: note: in expansion of macro ‘STRCPY’ 290 | STRCPY(clnet_info->rsaddr, remote_address); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c:291:5: note: in expansion of macro ‘STRCPY’ 291 | STRCPY(clnet_info->ifname, (const char *)ifname); | ^~~~~~ src/apps/uclient/startuclient.c: In function ‘start_connection’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c:962:3: note: in expansion of macro ‘STRCPY’ 962 | STRCPY(remote_address, remote_address0); | ^~~~~~ src/apps/uclient/startuclient.c: In function ‘start_c2c_connection’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c:1198:3: note: in expansion of macro ‘STRCPY’ 1198 | STRCPY(remote_address, remote_address0); | ^~~~~~ In file included from src/apps/common/apputils.h:42, from src/apps/peer/mainudpserver.c:35: src/apps/peer/mainudpserver.c: In function ‘main’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/peer/mainudpserver.c:81:7: note: in expansion of macro ‘STRCPY’ 81 | STRCPY(ifname, optarg); | ^~~~~~ src/apps/relay/ns_ioalib_engine_impl.c: In function ‘create_unbound_relay_ioa_socket’: src/apps/relay/ns_ioalib_engine_impl.c:926:37: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 926 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:926:37: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function ‘create_ioa_socket_from_fd’: src/apps/relay/ns_ioalib_engine_impl.c:1345:37: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 1345 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:1345:37: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function ‘detach_ioa_socket’: src/apps/relay/ns_ioalib_engine_impl.c:1609:39: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 1609 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:1609:39: note: earlier argument should specify number of elements, later size of each element In file included from src/apps/common/apputils.h:42, from src/apps/uclient/mainuclient.c:34: src/apps/uclient/mainuclient.c: In function ‘main’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 513 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:401:7: note: in expansion of macro ‘STRCPY’ 401 | STRCPY(g_uname, new_uname); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:285:7: note: in expansion of macro ‘STRCPY’ 285 | STRCPY(g_upwd, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 513 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:282:7: note: in expansion of macro ‘STRCPY’ 282 | STRCPY(g_uname, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:235:7: note: in expansion of macro ‘STRCPY’ 235 | STRCPY(origin, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:377:7: note: in expansion of macro ‘STRCPY’ 377 | STRCPY(pkey_file, fn); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:368:7: note: in expansion of macro ‘STRCPY’ 368 | STRCPY(cert_file, fn); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:291:7: note: in expansion of macro ‘STRCPY’ 291 | STRCPY(client_ifname, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:360:7: note: in expansion of macro ‘STRCPY’ 360 | STRCPY(g_auth_secret, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:244:7: note: in expansion of macro ‘STRCPY’ 244 | STRCPY(cipher_suite, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:258:7: note: in expansion of macro ‘STRCPY’ 258 | STRCPY(ca_cert_file, fn); | ^~~~~~ In file included from src/apps/common/apputils.h:42, from src/apps/rfc5769/rfc5769check.c:46: src/apps/rfc5769/rfc5769check.c: In function ‘main’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/rfc5769/rfc5769check.c:122:13: note: in expansion of macro ‘STRCPY’ 122 | STRCPY(okdr.ikm_key, base64encoded_ltp); | ^~~~~~ In file included from src/apps/common/ns_turn_utils.h:48, from src/apps/peer/udpserver.h:40, from src/apps/peer/udpserver.c:35: src/apps/peer/udpserver.c: In function ‘udp_create_server_socket.isra’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/peer/udpserver.c:87:3: note: in expansion of macro ‘STRCPY’ 87 | STRCPY(server->ifname, ifname); | ^~~~~~ In file included from src/client/ns_turn_msg.h:38, from src/apps/common/apputils.c:35: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1089:9: note: in expansion of macro ‘STRCPY’ 1089 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_msg.h:38, from src/apps/common/apputils.c:35: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1089:9: note: in expansion of macro ‘STRCPY’ 1089 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_msg.h:38, from src/apps/common/apputils.c:35: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1089:9: note: in expansion of macro ‘STRCPY’ 1089 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/apps/common/ns_turn_utils.h:48, from src/apps/common/ns_turn_utils.c:35: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:310:7: note: in expansion of macro ‘STRCPY’ 310 | STRCPY(log_fn_base, fn); | ^~~~~~ In file included from src/apps/common/ns_turn_utils.h:48, from src/apps/common/ns_turn_utils.c:35: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:310:7: note: in expansion of macro ‘STRCPY’ 310 | STRCPY(log_fn_base, fn); | ^~~~~~ In file included from src/apps/common/ns_turn_utils.h:48, from src/apps/common/ns_turn_utils.c:35: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:310:7: note: in expansion of macro ‘STRCPY’ 310 | STRCPY(log_fn_base, fn); | ^~~~~~ In file included from src/server/ns_turn_allocation.h:38, from src/server/ns_turn_server.h:38, from src/apps/relay/ns_ioalib_engine_impl.c:36: src/apps/relay/ns_ioalib_engine_impl.c: In function ‘create_ioa_engine’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:438:7: note: in expansion of macro ‘STRCPY’ 438 | STRCPY(e->relay_ifname, relay_ifname); | ^~~~~~ src/apps/relay/http_server.c: In function ‘write_http_echo’: src/apps/relay/http_server.c:77:20: warning: pointer targets in initialization of ‘char *’ from ‘uint8_t *’ {aka ‘unsigned char *’} differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-sign-Wpointer-sign]8;;] 77 | char *data = ioa_network_buffer_data(nbh_http); | ^~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/http_server.c: In function ‘post_parse’: src/apps/relay/http_server.c:123:72: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 123 | struct headers_list *list = (struct headers_list *)calloc(sizeof(struct headers_list), 1); | ^~~~~~ src/apps/relay/http_server.c:123:72: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function ‘parse_http_request_1’: src/apps/relay/http_server.c:176:68: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 176 | struct evkeyvalq *kv = (struct evkeyvalq *)calloc(sizeof(struct evkeyvalq), 1); | ^~~~~~ src/apps/relay/http_server.c:176:68: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c:185:65: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 185 | ret->headers = (struct http_headers *)calloc(sizeof(struct http_headers), 1); | ^~~~~~ src/apps/relay/http_server.c:185:65: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c:201:67: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 201 | ret->headers = (struct http_headers *)calloc(sizeof(struct http_headers), 1); | ^~~~~~ src/apps/relay/http_server.c:201:67: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function ‘parse_http_request’: src/apps/relay/http_server.c:221:48: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 221 | ret = (struct http_request *)calloc(sizeof(struct http_request), 1); | ^~~~~~ src/apps/relay/http_server.c:221:48: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function ‘str_buffer_new’: src/apps/relay/http_server.c:338:63: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 338 | struct str_buffer *ret = (struct str_buffer *)calloc(sizeof(struct str_buffer), 1); | ^~~~~~ src/apps/relay/http_server.c:338:63: note: earlier argument should specify number of elements, later size of each element src/apps/relay/acme.c: In function ‘is_acme_req’: src/apps/relay/acme.c:59:26: warning: array subscript has type ‘char’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wchar-subscripts-Wchar-subscripts]8;;] 59 | if ((c > 127) || (A[c] == ' ')) { | ^ src/apps/relay/mainrelay.c: In function ‘set_ctx’: src/apps/relay/mainrelay.c:3563:5: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 3563 | strncpy(turn_params.cipher_list, DEFAULT_CIPHER_LIST, TURN_LONG_STRING_SIZE); | ^ In file included from src/apps/common/ns_turn_utils.h:48, from src/apps/relay/mainrelay.h:74, from src/apps/relay/mainrelay.c:35: src/apps/relay/mainrelay.c: In function ‘set_option’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2339:5: note: in expansion of macro ‘STRCPY’ 2339 | STRCPY(turn_params.acme_redirect, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2302:5: note: in expansion of macro ‘STRCPY’ 2302 | STRCPY(turn_params.secret_key_file, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:1898:5: note: in expansion of macro ‘STRCPY’ 1898 | STRCPY(turn_params.oauth_server_name, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:1999:7: note: in expansion of macro ‘STRCPY’ 1999 | STRCPY(procgroupname, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:1988:7: note: in expansion of macro ‘STRCPY’ 1988 | STRCPY(procusername, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2299:5: note: in expansion of macro ‘STRCPY’ 2299 | STRCPY(turn_params.dh_file, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2296:5: note: in expansion of macro ‘STRCPY’ 2296 | STRCPY(turn_params.ca_cert_file, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2336:5: note: in expansion of macro ‘STRCPY’ 2336 | STRCPY(turn_params.pidfile, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2333:5: note: in expansion of macro ‘STRCPY’ 2333 | STRCPY(turn_params.cipher_list, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2211:5: note: in expansion of macro ‘STRCPY’ 2211 | STRCPY(turn_params.prometheus_path, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 513 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2308:5: note: in expansion of macro ‘STRCPY’ 2308 | STRCPY(turn_params.tls_password, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2305:5: note: in expansion of macro ‘STRCPY’ 2305 | STRCPY(turn_params.pkey_file, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2290:5: note: in expansion of macro ‘STRCPY’ 2290 | STRCPY(turn_params.cert_file, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2004:5: note: in expansion of macro ‘STRCPY’ 2004 | STRCPY(turn_params.relay_ifname, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2175:5: note: in expansion of macro ‘STRCPY’ 2175 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2017:5: note: in expansion of macro ‘STRCPY’ 2017 | STRCPY(turn_params.listener_ifname, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2169:5: note: in expansion of macro ‘STRCPY’ 2169 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2197:5: note: in expansion of macro ‘STRCPY’ 2197 | STRCPY(turn_params.redis_statsdb.connection_string, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2193:5: note: in expansion of macro ‘STRCPY’ 2193 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2181:5: note: in expansion of macro ‘STRCPY’ 2181 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2382:5: note: in expansion of macro ‘STRCPY’ 2382 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb_sanitized, userdb_sanitized); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2387:5: note: in expansion of macro ‘STRCPY’ 2387 | STRCPY(turn_params.redis_statsdb.connection_string_sanitized, connection_string); | ^~~~~~ src/apps/relay/mainrelay.c: In function ‘read_config_file’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2442:13: note: in expansion of macro ‘STRCPY’ 2442 | STRCPY(config_file, argv[i + 1]); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1035 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2497:11: note: in expansion of macro ‘STRCPY’ 2497 | STRCPY(sarg, s); | ^~~~~~ src/apps/relay/mainrelay.c: In function ‘main’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 128 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:3068:5: note: in expansion of macro ‘STRCPY’ 3068 | STRCPY(get_realm(NULL)->options.name, turn_params.domain); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 2049 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:3306:13: note: in expansion of macro ‘STRCPY’ 3306 | STRCPY(s, *ppfs); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 513 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2682:7: note: in expansion of macro ‘STRCPY’ 2682 | STRCPY(user, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2637:7: note: in expansion of macro ‘STRCPY’ 2637 | STRCPY(secret, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2701:7: note: in expansion of macro ‘STRCPY’ 2701 | STRCPY(pwd, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2659:7: note: in expansion of macro ‘STRCPY’ 2659 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2653:7: note: in expansion of macro ‘STRCPY’ 2653 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2645:9: note: in expansion of macro ‘STRCPY’ 2645 | STRCPY(secret, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2677:7: note: in expansion of macro ‘STRCPY’ 2677 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2665:7: note: in expansion of macro ‘STRCPY’ 2665 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg); | ^~~~~~ src/apps/relay/turn_admin_server.c: In function ‘cliserver_input_handler’: src/apps/relay/turn_admin_server.c:1175:72: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 1175 | struct cli_session *clisession = (struct cli_session *)calloc(sizeof(struct cli_session), 1); | ^~~~~~ src/apps/relay/turn_admin_server.c:1175:72: note: earlier argument should specify number of elements, later size of each element src/apps/relay/turn_admin_server.c: In function ‘handle_logon_request’: src/apps/relay/turn_admin_server.c:3313:50: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 3313 | as = (struct admin_session *)calloc(sizeof(struct admin_session), 1); | ^~~~~~ src/apps/relay/turn_admin_server.c:3313:50: note: earlier argument should specify number of elements, later size of each element In file included from src/apps/common/ns_turn_utils.h:48, from src/apps/relay/mainrelay.h:74, from src/apps/relay/turn_admin_server.c:69: src/apps/relay/turn_admin_server.c: In function ‘cli_telnet_event_handler’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:1023:9: note: in expansion of macro ‘STRCPY’ 1023 | STRCPY(cs->origin, cmd + 3); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:1015:9: note: in expansion of macro ‘STRCPY’ 1015 | STRCPY(cs->realm, cmd + 3); | ^~~~~~ src/apps/relay/turn_admin_server.c: In function ‘handle_https’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3739:17: note: in expansion of macro ‘STRCPY’ 3739 | STRCPY(key.realm, add_realm); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3742:15: note: in expansion of macro ‘STRCPY’ 3742 | STRCPY(key.ikm_key, add_ikm); | ^~~~~~ src/apps/relay/turn_admin_server.c:3616:13: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 3616 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/apps/relay/turn_admin_server.c:3616:13: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] src/apps/relay/turn_admin_server.c:3616:13: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] src/apps/relay/turn_admin_server.c:3616:13: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 127 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 127 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3655:17: note: in expansion of macro ‘STRCPY’ 3655 | STRCPY(o, corigin); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3656:17: note: in expansion of macro ‘STRCPY’ 3656 | STRCPY(r, add_realm); | ^~~~~~ src/apps/relay/turn_admin_server.c:3542:13: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 3542 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3557:19: note: in expansion of macro ‘STRCPY’ 3557 | STRCPY(ss, secret); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3558:19: note: in expansion of macro ‘STRCPY’ 3558 | STRCPY(r, realm); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3592:17: note: in expansion of macro ‘STRCPY’ 3592 | STRCPY(ss, add_secret); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3593:17: note: in expansion of macro ‘STRCPY’ 3593 | STRCPY(r, add_realm); | ^~~~~~ src/apps/relay/turn_admin_server.c:3441:13: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 3441 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 513 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3456:19: note: in expansion of macro ‘STRCPY’ 3456 | STRCPY(u, user); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3457:19: note: in expansion of macro ‘STRCPY’ 3457 | STRCPY(r, realm); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 513 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3501:21: note: in expansion of macro ‘STRCPY’ 3501 | STRCPY(u, add_user); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3502:21: note: in expansion of macro ‘STRCPY’ 3502 | STRCPY(r, add_realm); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3503:21: note: in expansion of macro ‘STRCPY’ 3503 | STRCPY(p, pwd); | ^~~~~~ src/apps/relay/turn_admin_server.c:3401:11: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 3401 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3259:13: note: in expansion of macro ‘STRCPY’ 3259 | STRCPY(realm, r); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3294:15: note: in expansion of macro ‘STRCPY’ 3294 | STRCPY(realm, r); | ^~~~~~ src/apps/relay/turn_admin_server.c:3388:11: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 3388 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 33 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3328:13: note: in expansion of macro ‘STRCPY’ 3328 | STRCPY(as->as_login, uname); | ^~~~~~ src/apps/relay/turn_admin_server.c:3802:9: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 1024 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 3802 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/apps/relay/userdb.c: In function ‘get_ip_list’: src/apps/relay/userdb.c:1208:59: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 1208 | ip_range_list_t *ret = (ip_range_list_t *)calloc(sizeof(ip_range_list_t), 1); | ^~~~~~~~~~~~~~~ src/apps/relay/userdb.c:1208:59: note: earlier argument should specify number of elements, later size of each element In file included from src/server/ns_turn_maps.h:38, from src/apps/relay/dbdrivers/../userdb.h:43, from src/apps/relay/dbdrivers/dbdriver.h:39, from src/apps/relay/userdb.c:55: src/apps/relay/userdb.c: In function ‘set_default_realm_name’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:154:3: note: in expansion of macro ‘STRCPY’ 154 | STRCPY(default_realm_params_ptr->options.name, realm); | ^~~~~~ src/apps/relay/userdb.c: In function ‘get_realm.part.0’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:171:7: note: in expansion of macro ‘STRCPY’ 171 | STRCPY(ret->options.name, name); | ^~~~~~ src/apps/relay/userdb.c: In function ‘start_user_check’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 513 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:655:3: note: in expansion of macro ‘STRCPY’ 655 | STRCPY(am.username, usname); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:656:3: note: in expansion of macro ‘STRCPY’ 656 | STRCPY(am.realm, realm); | ^~~~~~ src/apps/relay/userdb.c: In function ‘add_ip_list_range’: src/ns_turn_defs.h:200:9: warning: ‘__builtin___strncpy_chk’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:1284:3: note: in expansion of macro ‘STRCPY’ 1284 | STRCPY(list->rs[list->ranges_number - 1].str, range); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 513 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:1286:5: note: in expansion of macro ‘STRCPY’ 1286 | STRCPY(list->rs[list->ranges_number - 1].realm, realm); | ^~~~~~ In file included from src/apps/common/apputils.h:42, from src/apps/relay/tls_listener.c:35: src/apps/relay/tls_listener.c: In function ‘create_tls_listener_server’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/tls_listener.c:317:5: note: in expansion of macro ‘STRCPY’ 317 | STRCPY(server->ifname, ifname); | ^~~~~~ In file included from src/apps/common/apputils.h:42, from src/apps/relay/dtls_listener.c:35: src/apps/relay/dtls_listener.c: In function ‘create_dtls_listener_server’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dtls_listener.c:906:5: note: in expansion of macro ‘STRCPY’ 906 | STRCPY(server->ifname, ifname); | ^~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c: In function ‘get_sqlite_connection’: src/apps/relay/dbdrivers/dbd_sqlite.c:151:5: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 151 | strncpy(dir_fixed, home, szh); | ^ In function ‘fix_user_directory’, inlined from ‘get_sqlite_connection’ at src/apps/relay/dbdrivers/dbd_sqlite.c:196:3: src/apps/relay/dbdrivers/dbd_sqlite.c:148:18: note: length computed here 148 | size_t szh = strlen(home); | ^~~~~~~~~~~~ In file included from src/server/ns_turn_maps.h:38, from src/apps/relay/dbdrivers/../userdb.h:43, from src/apps/relay/dbdrivers/dbdriver.h:39, from src/apps/relay/dbdrivers/dbd_sqlite.h:39, from src/apps/relay/dbdrivers/dbd_sqlite.c:36: src/apps/relay/dbdrivers/dbd_sqlite.c: In function ‘sqlite_get_oauth_key’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:328:7: note: in expansion of macro ‘STRCPY’ 328 | STRCPY(key->ikm_key, sqlite3_column_text(st, 0)); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 65 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:331:7: note: in expansion of macro ‘STRCPY’ 331 | STRCPY(key->as_rs_alg, sqlite3_column_text(st, 3)); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:332:7: note: in expansion of macro ‘STRCPY’ 332 | STRCPY(key->realm, sqlite3_column_text(st, 4)); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:333:7: note: in expansion of macro ‘STRCPY’ 333 | STRCPY(key->kid, kid); | ^~~~~~ In file included from src/server/ns_turn_maps.h:38, from src/apps/relay/dbdrivers/../userdb.h:43, from src/apps/relay/dbdrivers/dbdriver.h:39, from src/apps/relay/dbdrivers/dbd_pgsql.h:39, from src/apps/relay/dbdrivers/dbd_pgsql.c:36: src/apps/relay/dbdrivers/dbd_pgsql.c: In function ‘pgsql_get_oauth_key’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:184:7: note: in expansion of macro ‘STRCPY’ 184 | STRCPY(key->ikm_key, PQgetvalue(res, 0, 0)); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 65 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:187:7: note: in expansion of macro ‘STRCPY’ 187 | STRCPY(key->as_rs_alg, PQgetvalue(res, 0, 3)); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:188:7: note: in expansion of macro ‘STRCPY’ 188 | STRCPY(key->realm, PQgetvalue(res, 0, 4)); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:189:7: note: in expansion of macro ‘STRCPY’ 189 | STRCPY(key->kid, kid); | ^~~~~~ In file included from src/server/ns_turn_maps.h:38, from src/apps/relay/dbdrivers/../userdb.h:43, from src/apps/relay/dbdrivers/dbdriver.h:39, from src/apps/relay/dbdrivers/dbd_mysql.h:39, from src/apps/relay/dbdrivers/dbd_mysql.c:36: src/apps/relay/dbdrivers/dbd_mysql.c: In function ‘mysql_get_oauth_key’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_mysql.c:443:13: note: in expansion of macro ‘STRCPY’ 443 | STRCPY(key->kid, kid); | ^~~~~~ In file included from src/server/ns_turn_maps.h:38, from src/apps/relay/dbdrivers/../userdb.h:43, from src/apps/relay/dbdrivers/dbdriver.h:39, from src/apps/relay/dbdrivers/dbd_redis.h:40, from src/apps/relay/dbdrivers/dbd_redis.c:36: src/apps/relay/dbdrivers/dbd_redis.c: In function ‘redis_get_oauth_key’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:506:5: note: in expansion of macro ‘STRCPY’ 506 | STRCPY(key->kid, kid); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:527:15: note: in expansion of macro ‘STRCPY’ 527 | STRCPY(key->ikm_key, val); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:525:15: note: in expansion of macro ‘STRCPY’ 525 | STRCPY(key->realm, val); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 65 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:523:15: note: in expansion of macro ‘STRCPY’ 523 | STRCPY(key->as_rs_alg, val); | ^~~~~~ In file included from src/client/ns_turn_msg.h:38, from src/apps/common/apputils.c:35: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1089:9: note: in expansion of macro ‘STRCPY’ 1089 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/apps/common/ns_turn_utils.h:48, from src/apps/common/ns_turn_utils.c:35: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:310:7: note: in expansion of macro ‘STRCPY’ 310 | STRCPY(log_fn_base, fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:38, from src/client/ns_turn_ioaddr.c:35: src/client/ns_turn_ioaddr.c: In function ‘make_ioa_addr’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/client/ns_turn_ioaddr.c:225:3: note: in expansion of macro ‘STRCPY’ 225 | STRCPY(ssaddr, saddr0); | ^~~~~~ src/client/ns_turn_msg.c: In function ‘stun_produce_integrity_key_str’: src/client/ns_turn_msg.c:187:3: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 187 | strncpy((char *)str + ulen + 1, (const char *)realm, sz - ulen - 1); | ^ src/client/ns_turn_msg.c:179:17: note: length computed here 179 | size_t rlen = strlen((const char *)realm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function ‘stun_attr_add_integrity_str’: src/client/ns_turn_msg.c:1774:8: warning: ‘hmac’ may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1774 | if (!stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1441:6: note: by argument 4 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} to ‘stun_attr_add_str’ declared here 1441 | bool stun_attr_add_str(uint8_t *buf, size_t *len, uint16_t attr, const uint8_t *avalue, int alen) { | ^~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1756:11: note: ‘hmac’ declared here 1756 | uint8_t hmac[MAXSHASIZE]; | ^~~~ In file included from src/client/ns_turn_msg.h:38, from src/client/ns_turn_msg.c:35: src/client/ns_turn_msg.c: In function ‘convert_oauth_key_data’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ output may be truncated copying 129 bytes from a string of length 479 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/client/ns_turn_msg.c:2109:5: note: in expansion of macro ‘STRCPY’ 2109 | STRCPY(key->kid, oakd->kid); | ^~~~~~ src/server/ns_turn_maps_rtcp.c: In function ‘rtcp_map_create’: src/server/ns_turn_maps_rtcp.c:180:45: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 180 | rtcp_map *map = (rtcp_map *)calloc(sizeof(rtcp_map), 1); | ^~~~~~~~ src/server/ns_turn_maps_rtcp.c:180:45: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_maps_rtcp.c: In function ‘rtcp_map_put’: src/server/ns_turn_maps_rtcp.c:197:63: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 197 | rtcp_alloc_type *value = (rtcp_alloc_type *)calloc(sizeof(rtcp_alloc_type), 1); | ^~~~~~~~~~~~~~~ src/server/ns_turn_maps_rtcp.c:197:63: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_server.c: In function ‘create_new_ss’: src/server/ns_turn_server.c:806:66: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Wcalloc-transposed-args]8;;] 806 | ts_ur_super_session *ss = (ts_ur_super_session *)calloc(sizeof(ts_ur_super_session), 1); | ^~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:806:66: note: earlier argument should specify number of elements, later size of each element In file included from src/server/ns_turn_allocation.h:38, from src/server/ns_turn_server.h:38, from src/server/ns_turn_server.c:35: src/server/ns_turn_server.c: In function ‘inc_quota’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 513 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/server/ns_turn_server.c:202:7: note: in expansion of macro ‘STRCPY’ 202 | STRCPY(ss->username, username); | ^~~~~~ src/server/ns_turn_server.c: In function ‘turn_session_info_copy_from’: src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 17 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/server/ns_turn_server.c:500:7: note: in expansion of macro ‘STRCPY’ 500 | STRCPY(tsi->tls_method, get_ioa_socket_tls_method(ss->client_socket)); | ^~~~~~ src/ns_turn_defs.h:200:9: warning: ‘__builtin_strncpy’ specified bound 65 equals destination size []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;] 200 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/server/ns_turn_server.c:501:7: note: in expansion of macro ‘STRCPY’ 501 | STRCPY(tsi->tls_cipher, get_ioa_socket_tls_cipher(ss->client_socket)); | ^~~~~~ cd bin; ln -s turnserver turnadmin ==> Entering fakeroot environment... ==> Starting package()... install -d /build/coturn/pkg/coturn/usr install -d /build/coturn/pkg/coturn/usr/bin install -d /build/coturn/pkg/coturn/var/db install -d /build/coturn/pkg/coturn/usr/share/man/man1 install -d /build/coturn/pkg/coturn/usr/etc install -d /build/coturn/pkg/coturn/usr/lib install -d /build/coturn/pkg/coturn/usr/share/turnserver/examples install -d /build/coturn/pkg/coturn/usr/share/doc/turnserver install -d /build/coturn/pkg/coturn/usr/share/turnserver install -d /build/coturn/pkg/coturn/usr/include/turn install -p bin/turnserver /build/coturn/pkg/coturn/usr/bin install -p bin/turnadmin /build/coturn/pkg/coturn/usr/bin install -p bin/turnutils_uclient /build/coturn/pkg/coturn/usr/bin install -p bin/turnutils_peer /build/coturn/pkg/coturn/usr/bin install -p bin/turnutils_stunclient /build/coturn/pkg/coturn/usr/bin install -p bin/turnutils_oauth /build/coturn/pkg/coturn/usr/bin install -p bin/turnutils_natdiscovery /build/coturn/pkg/coturn/usr/bin install -p -m 0644 man/man1/turnserver.1 /build/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnadmin.1 /build/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils.1 /build/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_uclient.1 /build/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_stunclient.1 /build/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_oauth.1 /build/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_natdiscovery.1 /build/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_peer.1 /build/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/coturn.1 /build/coturn/pkg/coturn/usr/share/man/man1/ install -p lib/libturnclient.a /build/coturn/pkg/coturn/usr/lib install -p -m 0644 LICENSE /build/coturn/pkg/coturn/usr/share/doc/turnserver install -p -m 0644 README.turnserver /build/coturn/pkg/coturn/usr/share/doc/turnserver install -p -m 0644 README.turnadmin /build/coturn/pkg/coturn/usr/share/doc/turnserver install -p -m 0644 README.turnutils /build/coturn/pkg/coturn/usr/share/doc/turnserver install -p -m 0644 INSTALL /build/coturn/pkg/coturn/usr/share/doc/turnserver install -p -m 0644 postinstall.txt /build/coturn/pkg/coturn/usr/share/doc/turnserver install -p -m 0644 turndb/schema.sql /build/coturn/pkg/coturn/usr/share/turnserver install -p -m 0644 turndb/schema.mongo.sh /build/coturn/pkg/coturn/usr/share/turnserver install -p -m 0644 turndb/testredisdbsetup.sh /build/coturn/pkg/coturn/usr/share/turnserver install -p -m 0644 turndb/testmongosetup.sh /build/coturn/pkg/coturn/usr/share/turnserver install -p -m 0644 turndb/testsqldbsetup.sql /build/coturn/pkg/coturn/usr/share/turnserver install -p -m 0644 turndb/schema.userdb.redis /build/coturn/pkg/coturn/usr/share/turnserver install -p -m 0644 turndb/schema.stats.redis /build/coturn/pkg/coturn/usr/share/turnserver if [ -f sqlite/turndb ] ; then install -p -m 0644 sqlite/turndb /build/coturn/pkg/coturn/var/db/turndb; fi install -p -m 0644 examples/etc/turnserver.conf /build/coturn/pkg/coturn/usr/etc/turnserver.conf.default cp -rpf examples/etc /build/coturn/pkg/coturn/usr/share/turnserver/examples cp -rpf examples/scripts /build/coturn/pkg/coturn/usr/share/turnserver/examples rm -rf /build/coturn/pkg/coturn/usr/share/turnserver/examples/scripts/rfc5769.sh cp -rpf include/turn/client /build/coturn/pkg/coturn/usr/include/turn install -p -m 0644 include/turn/ns_turn_defs.h /build/coturn/pkg/coturn/usr/include/turn cat /build/coturn/pkg/coturn/usr/share/doc/turnserver/postinstall.txt See docs folder or go to https://github.com/coturn/coturn/docs/PostInstall.md==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "coturn"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: coturn 4.7.0-1 (Fri Jun 27 14:55:10 2025) ==> Cleaning up...