D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/ss5-3.8.9-22.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BIlM7m + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf ss5-3.8.9 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/ss5-3.8.9-8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ss5-3.8.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ss5-make.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ss5-ss5-ha-loc.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ss5-init.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ss5-3.8.9-openssl11.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HRKiOj + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ss5-3.8.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-epollio --with-gssapi --with-mysql --with-logpathbase=/var/log/ss5 --with-configfile=/etc/ss5/ss5.conf --with-passwordfile=/etc/ss5/ss5.passwd --with-logfile=/var/log/ss5/ss5.log --with-profilepath=/etc/ss5 --with-libpath=/usr/lib64 --with-tracepath=/var/log/ss5 --with-confpathbase=/etc configure: WARNING: unrecognized options: --disable-dependency-tracking checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for main in -ldl... yes checking for main in -lldap... yes checking for main in -lpam... yes checking for main in -lpam_misc... yes checking for main in -lpthread... yes checking for main in -lssl... yes checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking security/pam_misc.h usability... yes checking security/pam_misc.h presence... yes checking for security/pam_misc.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether aarch64-mageia-linux-gnu-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... yes checking for bzero... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strtol... yes checking for main in -lgssapi... no checking for main in -lgssglue... yes configure: creating ./config.status config.status: creating Makefile config.status: creating modules/Makefile config.status: creating modules/mod_authen/Makefile config.status: creating modules/mod_author/Makefile config.status: creating modules/mod_balance/Makefile config.status: creating modules/mod_bandwidth/Makefile config.status: creating modules/mod_dump/Makefile config.status: creating modules/mod_filter/Makefile config.status: creating modules/mod_log/Makefile config.status: creating modules/mod_proxy/Makefile config.status: creating modules/mod_socks4/Makefile config.status: creating modules/mod_socks5/Makefile config.status: creating modules/mod_statistics/Makefile config.status: creating common/Makefile config.status: creating src/Makefile config.status: creating include/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j2 'CXX=g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -fPIC -c -o SS5OpenLdap.o SS5OpenLdap.c make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_socks4.o SS5Mod_socks4.c SS5OpenLdap.c: In function 'DirectoryQuery': SS5OpenLdap.c:202:14: warning: implicit declaration of function 'ldap_bind_s' [-Wimplicit-function-declaration] 202 | if (( rc = ldap_bind_s( ld, S5Ldap[dirid].Dn, S5Ldap[dirid].Pass, LDAP_AUTH_SIMPLE )) != LDAP_SUCCESS ) { | ^~~~~~~~~~~ SS5OpenLdap.c:205:5: warning: implicit declaration of function 'ldap_unbind'; did you mean 'ldap_unbind_ext'? [-Wimplicit-function-declaration] 205 | ldap_unbind( ld ); | ^~~~~~~~~~~ | ldap_unbind_ext SS5OpenLdap.c:211:14: warning: implicit declaration of function 'ldap_search_st'; did you mean 'ldap_search_ext'? [-Wimplicit-function-declaration] 211 | if (( rc = ldap_search_st( ld, baseDn, LDAP_SCOPE_SUBTREE, searchFilter, attrsList, 0, &oldapTimeout, &result )) != LDAP_SUCCESS ) { | ^~~~~~~~~~~~~~ | ldap_search_ext SS5Mod_socks4.c: In function 'RequestParsing': SS5Mod_socks4.c:116:94: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 57 and 66 [-Wformat-truncation=] 116 | snprintf(logString,128,"[%u] [DEBU] [S4 REQUEST PACKET] Receiving socks destination ip %s and port: %d.",pid,ri->DstAddr,ri->DstPort); | ^~ SS5Mod_socks4.c:116:30: note: using the range [-2147483648, 2147483647] for directive argument 116 | snprintf(logString,128,"[%u] [DEBU] [S4 REQUEST PACKET] Receiving socks destination ip %s and port: %d.",pid,ri->DstAddr,ri->DstPort); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 76 and 222 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:100:7: note: in expansion of macro 'ERRNO' 100 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_socks4.c:137:94: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 57 and 66 [-Wformat-truncation=] 137 | snprintf(logString,128,"[%u] [DEBU] [S4 REQUEST PACKET] Receiving socks destination ip %s and port: %d.",pid,ri->DstAddr,ri->DstPort); | ^~ SS5Mod_socks4.c:137:30: note: using the range [-2147483648, 2147483647] for directive argument 137 | snprintf(logString,128,"[%u] [DEBU] [S4 REQUEST PACKET] Receiving socks destination ip %s and port: %d.",pid,ri->DstAddr,ri->DstPort); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 76 and 222 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:145:7: note: in expansion of macro 'ERRNO' 145 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:79:5: note: in expansion of macro 'ERRNO' 79 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:59:5: note: in expansion of macro 'ERRNO' 59 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_socks4.c: In function 'S5ResolvHostName': SS5Mod_socks4.c:738:54: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 99 and 108 [-Wformat-truncation=] 738 | snprintf(logString,128,"[%u] [VERB] Resolved %s to %s.",pid,ri->DstAddr,resolvedHostList[count].NextHost); | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 26 and 177 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: SS5Mod_socks4.c: In function 'FileCheck': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 93 and 102 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:831:7: note: in expansion of macro 'ERRNO' 831 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -fPIC -c -o SS5Radius.o SS5Radius.c In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 28 and 164 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: SS5Mod_socks4.c: In function 'UpstreamServing': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:205:11: note: in expansion of macro 'ERRNO' 205 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:264:9: note: in expansion of macro 'ERRNO' 264 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:299:9: note: in expansion of macro 'ERRNO' 299 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:279:9: note: in expansion of macro 'ERRNO' 279 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:251:7: note: in expansion of macro 'ERRNO' 251 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:242:7: note: in expansion of macro 'ERRNO' 242 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:232:7: note: in expansion of macro 'ERRNO' 232 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:184:5: note: in expansion of macro 'ERRNO' 184 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: SS5Mod_socks4.c: In function 'ConnectServing': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:385:15: note: in expansion of macro 'ERRNO' 385 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:364:11: note: in expansion of macro 'ERRNO' 364 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:399:11: note: in expansion of macro 'ERRNO' 399 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:409:15: note: in expansion of macro 'ERRNO' 409 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:349:7: note: in expansion of macro 'ERRNO' 349 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:435:5: note: in expansion of macro 'ERRNO' 435 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o ../../common/SS5OpenLdap.o ../../common/SS5OpenLdap.c ../../common/SS5OpenLdap.c: In function 'DirectoryQuery': ../../common/SS5OpenLdap.c:202:14: warning: implicit declaration of function 'ldap_bind_s' [-Wimplicit-function-declaration] 202 | if (( rc = ldap_bind_s( ld, S5Ldap[dirid].Dn, S5Ldap[dirid].Pass, LDAP_AUTH_SIMPLE )) != LDAP_SUCCESS ) { | ^~~~~~~~~~~ ../../common/SS5OpenLdap.c:205:5: warning: implicit declaration of function 'ldap_unbind'; did you mean 'ldap_unbind_ext'? [-Wimplicit-function-declaration] 205 | ldap_unbind( ld ); | ^~~~~~~~~~~ | ldap_unbind_ext ../../common/SS5OpenLdap.c:211:14: warning: implicit declaration of function 'ldap_search_st'; did you mean 'ldap_search_ext'? [-Wimplicit-function-declaration] 211 | if (( rc = ldap_search_st( ld, baseDn, LDAP_SCOPE_SUBTREE, searchFilter, attrsList, 0, &oldapTimeout, &result )) != LDAP_SUCCESS ) { | ^~~~~~~~~~~~~~ | ldap_search_ext gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -fPIC -c -o SS5MySql.o SS5MySql.c SS5MySql.c: In function 'MySqlQuery': SS5MySql.c:118:52: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'const char *' [-Wformat=] 118 | snprintf(logString, sizeof(logString) - 1,"[%u] [DEBU] %s\n", mysql_error(conn)); | ~^ ~~~~~~~~~~~~~~~~~ | | | | unsigned int const char * | %s SS5MySql.c:118:63: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 118 | snprintf(logString, sizeof(logString) - 1,"[%u] [DEBU] %s\n", mysql_error(conn)); | ~^ | | | char * SS5MySql.c:127:52: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'const char *' [-Wformat=] 127 | snprintf(logString, sizeof(logString) - 1,"[%u] [DEBU] %s\n", mysql_error(conn)); | ~^ ~~~~~~~~~~~~~~~~~ | | | | unsigned int const char * | %s SS5MySql.c:127:63: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 127 | snprintf(logString, sizeof(logString) - 1,"[%u] [DEBU] %s\n", mysql_error(conn)); | ~^ | | | char * SS5MySql.c:111:40: warning: ' '' directive output may be truncated writing 2 bytes into a region of size between 0 and 127 [-Wformat-truncation=] 111 | snprintf(query,sizeof(query) - 1,"%s '%s'",S5Mysql.SqlString,group); | ^~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5MySql.c:21: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 131) into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_socks4.so SS5Mod_socks4.o ../../common/SS5OpenLdap.o -lpthread make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Main.o SS5Main.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks5' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_socks5.o SS5Mod_socks5.c SS5Mod_socks5.c: In function 'GetRoute': SS5Mod_socks5.c:2116:19: warning: implicit declaration of function 'MySqlCheck' [-Wimplicit-function-declaration] 2116 | err=MySqlCheck(node->Group,uname); | ^~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Core.o SS5Core.c In file included from SS5Mod_socks5.c:20: SS5Mod_socks5.c: In function 'UdpAssociateResponse': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 82 and 91 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1819:5: note: in expansion of macro 'ERRNO' 1819 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 39 and 175 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'UdpAssociateResponse' at SS5Mod_socks5.c:1823:5: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'UdpAssociateResponse' at SS5Mod_socks5.c:1827:5: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c: In function 'ListPeer': SS5Core.c:1491:37: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1491 | snprintf(buf,sizeof(buf),"%16s\n",SS5Peer[index].IP); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 18 or more bytes into a destination of size 17 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c: In function 'ListOption': SS5Core.c:1507:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1507 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_ROLE_SLAVE","0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1514:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1514 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_DNSORDER","0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1521:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1521 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_CONSOLE","0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1528:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1528 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SRV","0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1535:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1535 | snprintf(buf,sizeof(buf),"%64s\n%64d\n","SS5_LDAP_TIMEOUT",SS5SocksOpt.LdapTimeout ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1549:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1549 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_LDAP_BASE","LDAP_FILTER" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1542:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1542 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_LDAP_BASE","LDAP_BASE" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1556:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1556 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_NETBIOS_DOMAIN","0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1563:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1563 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_PAM_AUTH","0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1570:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1570 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_RADIUS_AUTH","0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1577:44: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1577 | snprintf(buf,sizeof(buf),"%64s\n%64ld\n","SS5_RADIUS_INTERIM_INT",SS5SocksOpt.RadIntUpdInterval ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1584:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1584 | snprintf(buf,sizeof(buf),"%64s\n%64d\n","SS5_RADIUS_INTERIM_TIMEOUT",SS5SocksOpt.RadInterimTimeout ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1591:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1591 | snprintf(buf,sizeof(buf),"%64s\n%64d\n","SS5_AUTHCACHEAGE",SS5SocksOpt.AuthCacheAge ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1598:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1598 | snprintf(buf,sizeof(buf),"%64s\n%64d\n","SS5_AUTHOCACHEAGE",SS5SocksOpt.AuthoCacheAge ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1605:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1605 | snprintf(buf,sizeof(buf),"%64s\n%64d\n","SS5_STICKYAGE",SS5SocksOpt.StickyAge ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1612:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1612 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_STICKY_SESSION","0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1619:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1619 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_VERBOSE","0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1626:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1626 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_DEBUG","0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1633:44: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1633 | snprintf(buf,sizeof(buf),"%64s\n%64ld\n","SS5_STIMEOUT",SS5SocksOpt.SessionIdleTimeout ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1640:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1640 | snprintf(buf,sizeof(buf),"%64s\n%64d\n","SS5_ATIMEOUT",SS5SocksOpt.AcceptTimeout ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1647:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1647 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SUPAKEY",SS5SocksOpt.SupaKey ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1654:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1654 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_ICACHESERVER",SS5SocksOpt.ICacheServer ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1662:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1662 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_GSS_PRINC",SS5SocksOpt.GssPrincipal ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1670:43: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1670 | snprintf(buf,sizeof(buf),"%64s\n%64d\n","SS5_PROCESSLIFE",SS5SocksOpt.PreforkProcessLife ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1691:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1691 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_FACILITY","LOG_LOCAL7" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1689:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1689 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_FACILITY","LOG_LOCAL5" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1687:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1687 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_FACILITY","LOG_LOCAL4" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1685:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1685 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_FACILITY","LOG_LOCAL3" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1683:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1683 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_FACILITY","LOG_LOCAL2" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1681:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1681 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_FACILITY","LOG_LOCAL1" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1679:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1679 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_FACILITY","LOG_LOCAL0" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1713:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1713 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_LEVEL","LOG_DEBUG" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1711:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1711 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_LEVEL","LOG_INFO" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1709:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1709 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_LEVEL","LOG_NOTICE" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1707:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1707 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_LEVEL","LOG_WARNING" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1705:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1705 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_LEVEL","LOG_CRIT" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1703:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1703 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_LEVEL","LOG_ALERT" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1701:45: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 1701 | snprintf(buf,sizeof(buf),"%64s\n%64s\n","SS5_SYSLOG_LEVEL","LOG_EMERG" ); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 131 bytes into a destination of size 130 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: SS5Mod_socks5.c: In function 'MethodParsing': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 89 and 98 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:624:13: note: in expansion of macro 'ERRNO' 624 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 32 and 168 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 89 and 98 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:635:9: note: in expansion of macro 'ERRNO' 635 | ERRNO(pid); | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 32 and 168 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 89 and 98 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:582:9: note: in expansion of macro 'ERRNO' 582 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 32 and 168 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 89 and 98 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:564:9: note: in expansion of macro 'ERRNO' 564 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 32 and 168 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 89 and 98 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:652:9: note: in expansion of macro 'ERRNO' 652 | ERRNO(pid); | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 32 and 168 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 89 and 98 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:531:5: note: in expansion of macro 'ERRNO' 531 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 32 and 168 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_socks5.c: In function 'ListRoute': SS5Mod_socks5.c:71:67: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 71 | snprintf(buf,sizeof(buf),"%16lu\n%2u\n%16lu\n%64s\n%3u\n",lnode->SrcAddr,lnode->Mask,lnode->SrcIf,lnode->Group,lnode->sd); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 107 and 130 bytes into a destination of size 106 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_socks5.c: In function 'ListProxy': SS5Mod_socks5.c:128:88: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 128 | snprintf(buf,sizeof(buf),"%16lu\n%2u\n%16lu\n%5u\n%5u\n%16lu\n%5u\n%3u\n%3u\n",lnode->DstAddr,lnode->Mask,lnode->DstPort, | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 81 and 130 bytes into a destination of size 80 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c: In function 'S5Core': SS5Core.c:457:75: warning: ') (Pre authorization failed)' directive output may be truncated writing 28 bytes into a region of size between 10 and 230 [-Wformat-truncation=] 457 | snprintf(logString,256 - 1,"[%u] %s %s \"\" %s - - - (%s:%d -> %s:%d) (Pre authorization failed)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 54 or more bytes (assuming 274) into a destination of size 255 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1001:64: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 34 and 239 [-Wformat-truncation=] 1001 | snprintf(logString,256,"[%u] %s %s \"%s\" %s (%s:%d -> %s:%d) (Error opening dump file)", | ^~ SS5Core.c:1001:32: note: using the range [-2147483648, 2147483647] for directive argument 1001 | snprintf(logString,256,"[%u] %s %s \"%s\" %s (%s:%d -> %s:%d) (Error opening dump file)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 47 or more bytes (assuming 379) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1026:64: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 28 and 233 [-Wformat-truncation=] 1026 | snprintf(logString,256,"[%u] %s %s \"%s\" %s 0 0 0 (%s:%d -> %s:%d)",pid,SS5ClientInfo.SrcAddr,SS5ClientInfo.Username, | ^~ SS5Core.c:1026:26: note: using the range [-2147483648, 2147483647] for directive argument 1026 | snprintf(logString,256,"[%u] %s %s \"%s\" %s 0 0 0 (%s:%d -> %s:%d)",pid,SS5ClientInfo.SrcAddr,SS5ClientInfo.Username, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 27 or more bytes (assuming 359) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1409:75: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 28 and 233 [-Wformat-truncation=] 1409 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d) Idle timeout",pid,SS5ClientInfo.SrcAddr,SS5ClientInfo.Username, | ^~ SS5Core.c:1409:30: note: using the range [-2147483648, 2147483647] for directive argument 1409 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d) Idle timeout",pid,SS5ClientInfo.SrcAddr,SS5ClientInfo.Username, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 40 or more bytes (assuming 372) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1096:79: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 28 and 233 [-Wformat-truncation=] 1096 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d) Session timeout", | ^~ SS5Core.c:1096:34: note: using the range [-2147483648, 2147483647] for directive argument 1096 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d) Session timeout", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 43 or more bytes (assuming 375) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1159:79: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 28 and 233 [-Wformat-truncation=] 1159 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d) (Filter error)", | ^~ SS5Core.c:1159:34: note: using the range [-2147483648, 2147483647] for directive argument 1159 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d) (Filter error)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 42 or more bytes (assuming 374) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1226:79: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 28 and 233 [-Wformat-truncation=] 1226 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d) Session timeout", | ^~ SS5Core.c:1226:34: note: using the range [-2147483648, 2147483647] for directive argument 1226 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d) Session timeout", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 43 or more bytes (assuming 375) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1351:77: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 28 and 233 [-Wformat-truncation=] 1351 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d)",pid,SS5ClientInfo.SrcAddr,SS5ClientInfo.Username, | ^~ SS5Core.c:1351:32: note: using the range [-2147483648, 2147483647] for directive argument 1351 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d)",pid,SS5ClientInfo.SrcAddr,SS5ClientInfo.Username, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 27 or more bytes (assuming 359) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Core.c:1294:79: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 28 and 233 [-Wformat-truncation=] 1294 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d)",pid,SS5ClientInfo.SrcAddr,SS5ClientInfo.Username, | ^~ SS5Core.c:1294:34: note: using the range [-2147483648, 2147483647] for directive argument 1294 | snprintf(logString,256,"[%u] %s %s \"%s\" %s %ld %ld %.0f (%s:%d -> %s:%d)",pid,SS5ClientInfo.SrcAddr,SS5ClientInfo.Username, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Core.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 27 or more bytes (assuming 359) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_socks5.c: In function 'S5UdpResolvHostName': SS5Mod_socks5.c:1901:67: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 86 and 95 [-Wformat-truncation=] 1901 | snprintf(logString,128,"[%u] [DEBU] [DNS RESOLV] Resolved %s to %s.",pid,ri->udpDstAddr,resolvedHostList[count].NextHost); | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 39 and 190 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_socks5.c: In function 'S5ResolvHostName': SS5Mod_socks5.c:1962:67: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 86 and 95 [-Wformat-truncation=] 1962 | snprintf(logString,128,"[%u] [DEBU] [DNS RESOLV] Resolved %s to %s.",pid,ri->DstAddr,resolvedHostList[count].NextHost); | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 39 and 190 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: SS5Mod_socks5.c: In function 'FileCheck': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 93 and 102 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:2056:7: note: in expansion of macro 'ERRNO' 2056 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 28 and 164 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: SS5Mod_socks5.c: In function 'ConnectServing': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1227:15: note: in expansion of macro 'ERRNO' 1227 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1210:11: note: in expansion of macro 'ERRNO' 1210 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1241:11: note: in expansion of macro 'ERRNO' 1241 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1195:7: note: in expansion of macro 'ERRNO' 1195 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1300:9: note: in expansion of macro 'ERRNO' 1300 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: SS5Mod_socks5.c: In function 'BindServing': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 91 and 100 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1422:13: note: in expansion of macro 'ERRNO' 1422 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 166 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 91 and 100 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1408:11: note: in expansion of macro 'ERRNO' 1408 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 166 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 91 and 100 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1382:9: note: in expansion of macro 'ERRNO' 1382 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 166 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 91 and 100 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1374:7: note: in expansion of macro 'ERRNO' 1374 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 166 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 91 and 100 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1507:11: note: in expansion of macro 'ERRNO' 1507 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 166 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 91 and 100 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1538:11: note: in expansion of macro 'ERRNO' 1538 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 166 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 91 and 100 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1480:5: note: in expansion of macro 'ERRNO' 1480 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 166 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: SS5Mod_socks5.c: In function 'UpstreamServing': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:933:11: note: in expansion of macro 'ERRNO' 933 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:997:11: note: in expansion of macro 'ERRNO' 997 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:992:11: note: in expansion of macro 'ERRNO' 992 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:964:9: note: in expansion of macro 'ERRNO' 964 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:960:9: note: in expansion of macro 'ERRNO' 960 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:956:9: note: in expansion of macro 'ERRNO' 956 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:952:9: note: in expansion of macro 'ERRNO' 952 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1066:9: note: in expansion of macro 'ERRNO' 1066 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1050:13: note: in expansion of macro 'ERRNO' 1050 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1038:11: note: in expansion of macro 'ERRNO' 1038 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1026:11: note: in expansion of macro 'ERRNO' 1026 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1016:11: note: in expansion of macro 'ERRNO' 1016 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1089:9: note: in expansion of macro 'ERRNO' 1089 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1082:9: note: in expansion of macro 'ERRNO' 1082 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1111:9: note: in expansion of macro 'ERRNO' 1111 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1097:9: note: in expansion of macro 'ERRNO' 1097 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1140:9: note: in expansion of macro 'ERRNO' 1140 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:1121:9: note: in expansion of macro 'ERRNO' 1121 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks5.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks5.c:916:5: note: in expansion of macro 'ERRNO' 916 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_socks5.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_socks5.so SS5Mod_socks5.o ../../common/SS5OpenLdap.o -lpthread make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks5' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_authen' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_authentication.o SS5Mod_authentication.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Server.o SS5Server.c SS5Server.c: In function 'S5MakeDaemon': SS5Server.c:197:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 197 | chdir("/"); umask(0); | ^~~~~~~~~~ In file included from SS5Server.c:20: SS5Server.c: In function 'S5UIDSet': ../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 103 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Server.c:161:5: note: in expansion of macro 'ERRNO' 161 | ERRNO(0) | ^~~~~ ../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Server.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 27 and 154 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Server.c:20: SS5Server.c: In function 'S5ServerMake': ../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 99 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Server.c:244:5: note: in expansion of macro 'ERRNO' 244 | ERRNO(0) | ^~~~~ ../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Server.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 31 and 158 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Server.c:20: ../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 99 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Server.c:236:5: note: in expansion of macro 'ERRNO' 236 | ERRNO(0) | ^~~~~ ../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Server.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 31 and 158 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Server.c:20: ../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 99 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Server.c:212:5: note: in expansion of macro 'ERRNO' 212 | ERRNO(0) | ^~~~~ ../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Server.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 31 and 158 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Server.c:20: SS5Server.c: In function 'S5ServerAccept': ../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Server.c:259:5: note: in expansion of macro 'ERRNO' 259 | ERRNO(0) | ^~~~~ ../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Server.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 160 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Server.c:20: SS5Server.c: In function 'S5GetClientInfo': ../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Server.c:281:5: note: in expansion of macro 'ERRNO' 281 | ERRNO(pid); | ^~~~~ ../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Server.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Utils.o SS5Utils.c SS5Mod_authentication.c: In function 'ListAuthenCache': SS5Mod_authentication.c:335:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 335 | snprintf(buf,sizeof(buf),"%64s\n%64s\n%16lu\n",lnode->Usr,"XXXXXXXX",lnode->ttl); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_authentication.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 148 and 152 bytes into a destination of size 147 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c: In function 'S5LoadConfData': SS5Utils.c:1005:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1005 | fscanf(S5ConfFile,"%32s\n",confString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1017:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1017 | fscanf(S5ConfFile,"%6s\n",optionString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1036:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1036 | fscanf(S5ConfFile,"%6s\n",optionString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1040:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1040 | fscanf(S5ConfFile,"%6s\n",optionString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1044:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1044 | fscanf(S5ConfFile,"%6s\n",optionString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1048:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1048 | fscanf(S5ConfFile,"%6s\n",optionString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1052:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1052 | fscanf(S5ConfFile,"%6s\n",optionString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1065:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1065 | fscanf(S5ConfFile,"%12s\n",optionString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1069:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1069 | fscanf(S5ConfFile,"%6s\n",optionString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1073:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1073 | fscanf(S5ConfFile,"%16s\n",SS5SocksOpt.SupaKey); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1081:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1081 | fscanf(S5ConfFile,"%32s\n",pcf.slogFacil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1106:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1106 | fscanf(S5ConfFile,"%32s\n",pcf.slogFacil); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1131:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1131 | fscanf(S5ConfFile,"%16s\n",SS5SocksOpt.ICacheServer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1140:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1140 | fscanf(S5ConfFile,"%64s\n",SS5SocksOpt.GssPrincipal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1144:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1144 | fscanf(S5ConfFile,"%6s\n",optionString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Basic.o SS5Basic.c In file included from SS5Basic.c:20: SS5Basic.c: In function 'S5PwdFileCheck': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Basic.c:53:5: note: in expansion of macro 'ERRNO' 53 | ERRNO(0) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Basic.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 160 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Basic.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Basic.c:45:9: note: in expansion of macro 'ERRNO' 45 | ERRNO(0) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Basic.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 160 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Basic.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Basic.c:35:5: note: in expansion of macro 'ERRNO' 35 | ERRNO(0) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Basic.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 160 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5ExternalProgram.o SS5ExternalProgram.c SS5Utils.c: In function 'S5GetIf': SS5Utils.c:1620:48: warning: '%12s' directive output may be truncated writing between 12 and 81919 bytes into a region of size 111 [-Wformat-truncation=] 1620 | snprintf(logString,128,"[VERB] Interface %12s %16s %16s loaded.",ifr_x[index].ifr_name, | ^~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Utils.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 72 and 81979 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5ExternalProgram.c: In function 'S5AuthProgramCheck': SS5ExternalProgram.c:84:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | fscanf(stream,"%2s",resp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5ExternalProgram.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 84 and 93 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5ExternalProgram.c:87:5: note: in expansion of macro 'ERRNO' 87 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5ExternalProgram.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 37 and 173 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5ExternalProgram.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 84 and 93 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5ExternalProgram.c:78:5: note: in expansion of macro 'ERRNO' 78 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5ExternalProgram.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 37 and 173 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Pam.o SS5Pam.c SS5Utils.c: In function 'S5LoadConfData': SS5Utils.c:1158:57: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 236 [-Wformat-truncation=] 1158 | snprintf(logString,256 - 1,"[ERRO] Wrong line \"%s\" in configuration file.",confString); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Utils.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 44 and 299 bytes into a destination of size 255 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Utils.c:1152:51: warning: '%20s' directive output may be truncated writing between 20 and 255 bytes into a region of size 241 [-Wformat-truncation=] 1152 | snprintf(logString,256 - 1,"[VERB] Option %20s set.",confString); | ^~~~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Utils.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 40 and 275 bytes into a destination of size 255 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Pam.c: In function 'S5PAMConversation': SS5Pam.c:173:5: warning: ignoring return value of 'realloc' declared with attribute 'warn_unused_result' [-Wunused-result] 173 | realloc(reply, sizeof(struct pam_response)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Supa.o SS5Supa.c SS5Supa.c: In function 'ss5_secure_dh_decrypt_key': SS5Supa.c:353:3: warning: implicit declaration of function 'DES_ede3_cbcm_encrypt'; did you mean 'DES_ede3_cbc_encrypt'? [-Wimplicit-function-declaration] 353 | DES_ede3_cbcm_encrypt (pippo, pippo_crypt, l, &schedule1, &schedule2, &schedule1, &iv, &iv2, DES_DECRYPT); | ^~~~~~~~~~~~~~~~~~~~~ | DES_ede3_cbc_encrypt In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Supa.c:20: In function 'snprintf', inlined from 'ss5_validate_hk_req' at SS5Supa.c:76:7, inlined from 'ss5_secure_auth' at SS5Supa.c:407:8: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_validate_hk_req' at SS5Supa.c:84:5, inlined from 'ss5_secure_auth' at SS5Supa.c:407:8: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_auth' at SS5Supa.c:409:7: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_send_hk_req' at SS5Supa.c:112:7, inlined from 'ss5_secure_auth' at SS5Supa.c:416:8: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_auth' at SS5Supa.c:418:7: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_validate_dh_req' at SS5Supa.c:142:7, inlined from 'ss5_secure_auth' at SS5Supa.c:425:8: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_validate_dh_req' at SS5Supa.c:164:7, inlined from 'ss5_secure_auth' at SS5Supa.c:425:8: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_auth' at SS5Supa.c:427:7: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_dh_compute_key' at SS5Supa.c:218:7, inlined from 'ss5_secure_auth' at SS5Supa.c:433:24: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_dh_compute_key' at SS5Supa.c:233:9, inlined from 'ss5_secure_auth' at SS5Supa.c:433:24: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_dh_compute_key' at SS5Supa.c:247:7, inlined from 'ss5_secure_auth' at SS5Supa.c:433:24: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_dh_compute_key' at SS5Supa.c:267:7, inlined from 'ss5_secure_auth' at SS5Supa.c:433:24: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_auth' at SS5Supa.c:435:7: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_dh_decrypt_key' at SS5Supa.c:310:7, inlined from 'ss5_secure_auth' at SS5Supa.c:447:8: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_dh_decrypt_key' at SS5Supa.c:318:7, inlined from 'ss5_secure_auth' at SS5Supa.c:447:8: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_dh_decrypt_key' at SS5Supa.c:337:7, inlined from 'ss5_secure_auth' at SS5Supa.c:447:8: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_dh_decrypt_key' at SS5Supa.c:345:7, inlined from 'ss5_secure_auth' at SS5Supa.c:447:8: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ss5_secure_dh_decrypt_key' at SS5Supa.c:363:5, inlined from 'ss5_secure_auth' at SS5Supa.c:447:8: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_authentication.so SS5Mod_authentication.o SS5Basic.o SS5ExternalProgram.o SS5Pam.o ../../common/SS5Radius.o SS5Supa.o -lpthread make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_authen' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_author' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_authorization.o SS5Mod_authorization.c SS5Mod_authorization.c: In function 'S5CheckexpDate': SS5Mod_authorization.c:505:3: warning: implicit declaration of function 'strptime'; did you mean 'strftime'? [-Wimplicit-function-declaration] 505 | strptime(ps, "%d-%m-%Y %H:%M:%S", &tm); | ^~~~~~~~ | strftime SS5Mod_authorization.c: In function 'ListAutho': SS5Mod_authorization.c:220:118: warning: '%256s' directive output may be truncated writing 256 bytes into a region of size between 119 and 304 [-Wformat-truncation=] 220 | snprintf(buf,sizeof(buf),"%3u\n%16lu\n%64s\n%2u\n%16lu\n%5u\n%5u\n%16lu\n%64s\n%2u\n%16lu\n%5u\n%5u\n%16s\n%256s\n%16lu\n%10s\n%1u\n", | ^~~~~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_authorization.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 537 and 735 bytes into a destination of size 553 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_authorization.c: In function 'ListAuthoCache': SS5Mod_authorization.c:253:77: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 253 | snprintf(buf,sizeof(buf),"%64s\n%5u\n%64s\n%5u\n%64s\n%16lu\n%5u\n",lnode->Sa,lnode->Sp,lnode->Da,lnode->Dp,lnode->Us,lnode->ttl,lnode->Flg); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_authorization.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 231 and 250 bytes into a destination of size 230 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Thread.o SS5Thread.c In file included from SS5Mod_authorization.c:19: SS5Mod_authorization.c: In function 'FileCheck': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 93 and 102 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_authorization.c:472:7: note: in expansion of macro 'ERRNO' 472 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_authorization.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 28 and 164 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Thread.c: In function 'S5MainThread': SS5Thread.c:94:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 94 | if( pthread_create(&s5thread,&s5thread_attribute,(void *)S5Core,(void *)clientSocket) < 0 ) { | ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Debug.o SS5Debug.c SS5Debug.c: In function 'S5DebugFacilities': SS5Debug.c:77:67: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 211 and 220 [-Wformat-truncation=] 77 | snprintf(logString,256 - 1,"[%u] [DEBU] Facilities->Group %s.",pid,fa.Group); LOGUPDATE() | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Debug.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 37 and 301 bytes into a destination of size 255 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5GSSApi.o SS5GSSApi.c SS5GSSApi.c: In function 'S5GSSApiEncode': SS5GSSApi.c:422:79: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 422 | snprintf(logString,256 - 1,"[%u] [DEBUG] GSS encoding %d buffer bytes to %d token bytes.", pid,*len,outbuffer.length ); | ~^ ~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld SS5GSSApi.c: In function 'S5GSSApiDecode': SS5GSSApi.c:512:60: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 512 | snprintf(logString,256 - 1,"[%u] [DEBUG] GSS decoding %u token bytes to %u buffer bytes.", pid,inbuffer.length,outbuffer.length ); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu SS5GSSApi.c:512:78: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 512 | snprintf(logString,256 - 1,"[%u] [DEBUG] GSS decoding %u token bytes to %u buffer bytes.", pid,inbuffer.length,outbuffer.length ); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int size_t {aka long unsigned int} | %lu aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_authorization.so SS5Mod_authorization.o ../../common/SS5OpenLdap.o ../../common/SS5MySql.o -lpthread gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Modules.o SS5Modules.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_author' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_proxy' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_proxy.o SS5Mod_proxy.c In file included from SS5Mod_proxy.c:20: SS5Mod_proxy.c: In function 'ReceivingData': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 89 and 98 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_proxy.c:117:9: note: in expansion of macro 'ERRNO' 117 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_proxy.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 32 and 168 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_proxy.c: In function 'UdpSendingData': SS5Mod_proxy.c:501:78: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 75 and 84 [-Wformat-truncation=] 501 | snprintf(logString,256 - 1,"[%u] [DEBU] [PROXY DATA] UDP request sent to %s on port %d.",pid,ri->udpDstAddr,ri->udpDstPort); | ^~ SS5Mod_proxy.c:501:32: note: using the range [-2147483648, 2147483647] for directive argument 501 | snprintf(logString,256 - 1,"[%u] [DEBU] [PROXY DATA] UDP request sent to %s on port %d.",pid,ri->udpDstAddr,ri->udpDstPort); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_proxy.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 56 and 202 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_proxy.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_proxy.c:492:5: note: in expansion of macro 'ERRNO' 492 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_proxy.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'UdpSendingData' at SS5Mod_proxy.c:497:5: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_proxy.c:20: SS5Mod_proxy.c: In function 'UdpReceivingData': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 86 and 95 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_proxy.c:381:7: note: in expansion of macro 'ERRNO' 381 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_proxy.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 35 and 171 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_proxy.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 86 and 95 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_proxy.c:273:9: note: in expansion of macro 'ERRNO' 273 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_proxy.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 35 and 171 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_proxy.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 86 and 95 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_proxy.c:246:9: note: in expansion of macro 'ERRNO' 246 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_proxy.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 35 and 171 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_proxy.c:395:79: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 79 and 88 [-Wformat-truncation=] 395 | snprintf(logString,256 - 1,"[%u] [DEBU] FQDN destination address is: %s.",pid,ri->udpDstAddr); | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_proxy.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 42 and 178 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'UdpReceivingData' at SS5Mod_proxy.c:283:7: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'UdpReceivingData' at SS5Mod_proxy.c:288:7: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'UdpReceivingData' at SS5Mod_proxy.c:302:10: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'UdpReceivingData' at SS5Mod_proxy.c:400:12: /usr/include/bits/stdio2.h:70:10: warning: '__builtin___snprintf_chk' specified bound 255 exceeds destination size 128 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Srv.o SS5Srv.c aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_proxy.so SS5Mod_proxy.o -lpthread make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_proxy' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_log' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_log.o SS5Mod_log.c SS5Srv.c: In function 'Add_Permit': SS5Srv.c:161:91: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 161 | snprintf(buf,sizeof(buf),"ADD /%s=%1s\n%64s\n%16s\n%64s\n%16s\n%16s\n%256s\n%16s\n%10s\n",f==PERMIT?"permit":"deny",me,sa,sp,da,dp,fu,grp,ba,ed); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Srv.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 479 or more bytes (assuming 481) into a destination of size 480 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_log.so SS5Mod_log.o -lpthread SS5Srv.c: In function 'Del_Permit': SS5Srv.c:195:91: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 195 | snprintf(buf,sizeof(buf),"DEL /%s=%1s\n%64s\n%16s\n%64s\n%16s\n%16s\n%256s\n%16s\n%10s\n",f==PERMIT?"permit":"deny",me,sa,sp,da,dp,fu,grp,ba,ed); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Srv.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 479 or more bytes (assuming 481) into a destination of size 480 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_log' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_balance' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_balance.o SS5Mod_balance.c SS5Srv.c: In function 'Add_Dump': SS5Srv.c:231:61: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 231 | snprintf(buf,sizeof(buf),"ADD /dump=%64s\n%16s\n%1s\n%1s\n",da,dp,dc,dm); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Srv.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 97 or more bytes into a destination of size 96 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Srv.c: In function 'Del_Dump': SS5Srv.c:268:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 268 | snprintf(buf,sizeof(buf),"DEL /dump=%64s\n%16s\n%1s\n",da,dp,dm); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Srv.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 95 or more bytes into a destination of size 94 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Srv.c: In function 'Add_Bandwidth': SS5Srv.c:517:70: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 517 | snprintf(buf,sizeof(buf),"ADD /bandwidth=\n%64s\n%16s\n%16s\n%16s\n",user,lncon,lband,stime); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Srv.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 133 or more bytes into a destination of size 132 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_balance.c: In function 'Balancing': SS5Mod_balance.c:490:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 490 | snprintf(buf,74, "%16s\n%5u\n%16s\n%16lu\n%16lu\n",sa,node->vid,da,node->ttl,currentAge); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_balance.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 75 and 88 bytes into a destination of size 74 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Srv.c: In function 'Del_Bandwidth': SS5Srv.c:552:70: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 552 | snprintf(buf,sizeof(buf),"DEL /bandwidth=\n%64s\n%16s\n%16s\n%16s\n",user,lncon,lband,stime); | ^ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Srv.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 133 or more bytes into a destination of size 132 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_balance.c: In function 'ListVirtual': SS5Mod_balance.c:153:49: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 153 | snprintf(buf,sizeof(buf),"%16s\n%5u\n%5u\n",S5ConnectionTable.S5ConnectionEntry[count]->Real, | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_balance.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 40 bytes into a destination of size 29 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_balance.c: In function 'ListStikyCache': SS5Mod_balance.c:191:69: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 191 | snprintf(buf,sizeof(buf), "%16s\n%5u\n%16s\n%16lu\n%16lu\n",sa,lnode->vid,da,lnode->ttl,currentAge); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_balance.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 75 and 88 bytes into a destination of size 74 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../../include/SS5Main.h:36, from SS5Mod_balance.c:19: In function 'strncpy', inlined from 'S5AddReal2ConnectionTable' at SS5Mod_balance.c:259:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_balance.c: In function 'S5AddReal2ConnectionTable': SS5Mod_balance.c:259:3: note: length computed here 259 | strncpy(S5ConnectionTable._tmp_S5ConnectionEntry[idx]->Real,real,strlen(real)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Srv.c: In function 'List_Authorization': SS5Srv.c:837:37: warning: '%lu' directive output may be truncated writing between 1 and 20 bytes into a region of size 15 [-Wformat-truncation=] 837 | snprintf(ba,sizeof(ba) - 1,"%lu",lnode.Bandwidth); | ^~~ SS5Srv.c:837:36: note: directive argument in the range [1, 18446744073709551615] 837 | snprintf(ba,sizeof(ba) - 1,"%lu",lnode.Bandwidth); | ^~~~~ In file included from /usr/include/stdio.h:866, from ../include/SS5Main.h:33, from SS5Srv.c:19: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 21 bytes into a destination of size 15 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o balamgr.o balamgr.c aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_balance.so SS5Mod_balance.o -lpthread aarch64-mageia-linux-gnu-gcc -o balamgr.cgi balamgr.o -lpthread -rdynamic -ldl -lssl -lldap -lpam -lpam_misc -lcrypto make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_balance' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_filter' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_filter.o SS5Mod_filter.c SS5Mod_filter.c: In function 'S5ParseHttpHeader': SS5Mod_filter.c:524:70: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 244 [-Wformat-truncation=] 524 | snprintf(hr->proxyUrl,sizeof(hr->proxyUrl) - 1,"GET http://%s%s HTTP/1.0\n",hh[hc].hv,hr->url); | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_filter.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 22 or more bytes (assuming 277) into a destination of size 255 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_filter.c:525:62: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 248 [-Wformat-truncation=] 525 | snprintf(hr->icpUrl,sizeof(hr->icpUrl) - 1,"http://%s%s",hh[hc].hv,hr->url); | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_filter.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 263) into a destination of size 255 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o ss5 SS5Main.o SS5Core.o SS5Server.o SS5Utils.o SS5Thread.o SS5Debug.o SS5GSSApi.o SS5Modules.o ../common/SS5OpenLdap.o ../common/SS5Radius.o ../common/SS5MySql.o -lpthread -rdynamic -ldl -lssl -lldap -lpam -lpam_misc -lcrypto -lgssglue -L/usr/lib64/ -lmariadb SS5Mod_filter.c: In function 'S5FixupiCache': SS5Mod_filter.c:265:68: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 78 and 94 [-Wformat-truncation=] 265 | snprintf(logString,128,"[%u] [DEBU] Parsing http request: %s %s %s.", pid,http_request.cmd,http_request.url,http_request.proto ); | ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_filter.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 37 and 323 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_filter.c:338:84: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 195 and 204 [-Wformat-truncation=] 338 | snprintf(logString,256,"[%u] [ERRO] Timeout error receiving ICP response for %s.", pid, http_request.proxyUrl ); | ^~ ~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_filter.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 54 and 318 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_filter.c:329:80: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 203 and 212 [-Wformat-truncation=] 329 | snprintf(logString,256,"[%u] [ERRO] Error receiving ICP response for %s.", pid, http_request.proxyUrl ); | ^~ ~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_filter.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 46 and 310 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_filter.c:352:70: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 211 and 220 [-Wformat-truncation=] 352 | snprintf(logString,256,"[%u] [DEBU] ICP query HIT for object %s.", pid,http_request.proxyUrl ); | ^~ ~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_filter.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 38 and 302 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_filter.c:308:71: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 208 and 217 [-Wformat-truncation=] 308 | snprintf(logString,256,"[%u] [ERRO] Error sending ICP query for %s", pid, http_request.proxyUrl ); | ^~ ~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_filter.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 40 and 304 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o ss5srv SS5Srv.o -lpthread -rdynamic -ldl -lssl -lldap -lpam -lpam_misc -lcrypto -lgssglue -L/usr/lib64/ -lmariadb aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_filter.so SS5Mod_filter.o -lpthread make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/src' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_filter' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_statistics' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_statistics.o SS5Mod_statistics.c aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o statmgr.o statmgr.c SS5Mod_statistics.c: In function 'InitModule': SS5Mod_statistics.c:27:17: warning: assignment to 'UINT (*)(struct _SS5ClientInfo *, struct _SS5Socks5Data *)' {aka 'unsigned int (*)(struct _SS5ClientInfo *, struct _SS5Socks5Data *)'} from incompatible pointer type 'INT (*)(struct _SS5ClientInfo *, struct _SS5Socks5Data *)' {aka 'int (*)(struct _SS5ClientInfo *, struct _SS5Socks5Data *)'} [-Wincompatible-pointer-types] 27 | m->Statistics = Statistics; | ^ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_statistics.so SS5Mod_statistics.o -lpthread aarch64-mageia-linux-gnu-gcc -o statmgr.cgi statmgr.o -lpthread -rdynamic -ldl -lssl -lldap -lpam -lpam_misc -lcrypto make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_statistics' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_bandwidth' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_bandwidth.o SS5Mod_bandwidth.c SS5Mod_bandwidth.c: In function 'SrvBandwidth': SS5Mod_bandwidth.c:101:69: warning: embedded '\0' in format [-Wformat-contains-nul] 101 | sscanf(sd->MethodRequest,"DD /bandwidth=%64s\n%16s\n%16s\n%16s\n\0",usr,lncon,lband,stime); | ^~ SS5Mod_bandwidth.c:127:63: warning: embedded '\0' in format [-Wformat-contains-nul] 127 | sscanf(sd->MethodRequest,"EL /bandwidth=%64s\n%16s\n%16s\n\0",usr,lncon,lband); | ^~ SS5Mod_bandwidth.c: In function 'S5BrowseBandTable': SS5Mod_bandwidth.c:461:53: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'ULINT' {aka 'long unsigned int'} [-Wformat=] 461 | snprintf(buf,133,"%64s\n%16u\n%16lu\n%16u\n%16u\n",lnode->Usr,lnode->LNCon,lnode->LBand,lnode->NCon,lnode->STime); | ~~~^ ~~~~~~~~~~~~ | | | | unsigned int ULINT {aka long unsigned int} | %16lu SS5Mod_bandwidth.c: In function 'GetBandTableB': SS5Mod_bandwidth.c:160:31: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 160 | snprintf(s,sizeof(s) - 1,"%s",t); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_bandwidth.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 128 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_bandwidth.c: In function 'GetBandTableS': SS5Mod_bandwidth.c:160:31: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 160 | snprintf(s,sizeof(s) - 1,"%s",t); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_bandwidth.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 128 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_bandwidth.c: In function 'GetBandTableC': SS5Mod_bandwidth.c:160:31: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 160 | snprintf(s,sizeof(s) - 1,"%s",t); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_bandwidth.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 128 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_bandwidth.c: In function 'CheckBandTableC': SS5Mod_bandwidth.c:160:31: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 160 | snprintf(s,sizeof(s) - 1,"%s",t); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_bandwidth.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 128 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_bandwidth.c: In function 'UpdateBandTable': SS5Mod_bandwidth.c:160:31: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 160 | snprintf(s,sizeof(s) - 1,"%s",t); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_bandwidth.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 128 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_bandwidth.c: In function 'AddBandTable': SS5Mod_bandwidth.c:160:31: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 160 | snprintf(s,sizeof(s) - 1,"%s",t); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_bandwidth.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 128 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_bandwidth.c: In function 'S5BandTableHash': SS5Mod_bandwidth.c:160:31: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 160 | snprintf(s,sizeof(s) - 1,"%s",t); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_bandwidth.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 128 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_bandwidth.c: In function 'DelBandTable': SS5Mod_bandwidth.c:160:31: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 160 | snprintf(s,sizeof(s) - 1,"%s",t); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_bandwidth.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 128 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_bandwidth.c: In function 'CopyBandTable': SS5Mod_bandwidth.c:160:31: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 160 | snprintf(s,sizeof(s) - 1,"%s",t); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_bandwidth.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 128 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_bandwidth.c: In function 'S5BrowseBandTable': SS5Mod_bandwidth.c:461:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 461 | snprintf(buf,133,"%64s\n%16u\n%16lu\n%16u\n%16u\n",lnode->Usr,lnode->LNCon,lnode->LBand,lnode->NCon,lnode->STime); | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_bandwidth.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 134 and 138 bytes into a destination of size 133 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_bandwidth.so SS5Mod_bandwidth.o -lpthread make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_bandwidth' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_dump' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_dump.o SS5Mod_dump.c SS5Mod_dump.c: In function 'ListDump': SS5Mod_dump.c:54:76: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 54 | snprintf(buf,sizeof(buf),"%16lu\n%2u\n%16lu\n%5u\n%5u\n%1u\n%1u\n", lnode->DstAddr,lnode->Mask,lnode->DstPort, | ^ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_dump.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 54 and 98 bytes into a destination of size 53 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_dump.c: In function 'OpenDump': SS5Mod_dump.c:220:25: warning: '%s' directive writing up to 127 bytes into a region of size 64 [-Wformat-overflow=] 220 | sprintf(dumpFileName,"%s/ss5.%s.%u.%s.trc",S5TracePath,timeLog,pid,ci->Username); | ^~ ~~~~~~~~~~~ SS5Mod_dump.c:220:24: note: using the range [0, 4294967295] for directive argument 220 | sprintf(dumpFileName,"%s/ss5.%s.%u.%s.trc",S5TracePath,timeLog,pid,ci->Username); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_dump.c:20: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 13 and 243 bytes into a destination of size 64 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_dump.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 94 and 103 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_dump.c:223:5: note: in expansion of macro 'ERRNO' 223 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:866, from ../../include/SS5Main.h:33, from SS5Mod_dump.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 27 and 163 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_dump.so SS5Mod_dump.o -lpthread make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_dump' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.IT2rem + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64 + cd ss5-3.8.9 + '[' 1 -eq 1 ']' + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr exec_prefix=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr bindir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/bin sbindir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/sbin sysconfdir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/etc datadir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/share includedir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/include libdir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64 libexecdir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/libexec localstatedir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/var sharedstatedir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/var/lib mandir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/share/man infodir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/share/info install dst_dir=/home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64 + find /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64//usr/share/man -name '*.bz2' -exec rm '{}' ';' + /usr/bin/install -D -p -m 0644 /home/iurt/rpmbuild/SOURCES/ss5-tmpfiles.conf /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib/tmpfiles.d/ss5.conf + /usr/bin/install -D -m 644 /home/iurt/rpmbuild/SOURCES/ss5.service /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib/systemd/system/ss5.service + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 3.8.9-22.mga8 --unique-debug-suffix -3.8.9-22.mga8.aarch64 --unique-debug-src-base ss5-3.8.9-22.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/ss5-3.8.9 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/balamgr.cgi explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_authorization.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_bandwidth.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_authentication.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_balance.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_log.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_dump.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_filter.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/balamgr.cgi extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_balance.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_bandwidth.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_authentication.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_log.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_dump.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_filter.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_authorization.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_proxy.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_socks4.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_socks5.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_proxy.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_socks4.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_socks5.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_statistics.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/statmgr.cgi explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/sbin/ss5 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/mod_statistics.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/lib64/ss5/statmgr.cgi extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/sbin/ss5 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/sbin/ss5srv extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64/usr/sbin/ss5srv original debug info size: 1708kB, size after compression: 1340kB /usr/lib/rpm/sepdebugcrcfix: Updated 15 CRC32s, 0 CRC32s did match. 1121 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd Fixing pam.d config files...done + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files Warning: unused libraries in /usr/lib64/ss5/statmgr.cgi: libssl.so.1.1 libldap-2.4.so.2 libpam.so.0 libpam_misc.so.0 libcrypto.so.1.1 Warning: unused libraries in /usr/lib64/ss5/balamgr.cgi: libssl.so.1.1 libldap-2.4.so.2 libpam.so.0 libpam_misc.so.0 libcrypto.so.1.1 Warning: unused libraries in /usr/sbin/ss5srv: libssl.so.1.1 libldap-2.4.so.2 libpam.so.0 libpam_misc.so.0 libcrypto.so.1.1 libgssglue.so.1 libmariadb.so.3 Warning: unused libraries in /usr/sbin/ss5: libpam.so.0 libpam_misc.so.0 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ss5-3.8.9-22.mga8.aarch64 Provides: config(ss5) = 3.8.9-22.mga8 ss5 = 3.8.9-22.mga8 ss5(aarch-64) = 3.8.9-22.mga8 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh rpm-helper systemd >= 195 Requires(preun): /bin/sh rpm-helper Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) libgssglue.so.1()(64bit) libgssglue.so.1(libgssapi_CITI_2)(64bit) libldap-2.4.so.2()(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpam.so.0()(64bit) libpam_misc.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libssl.so.1.1()(64bit) Processing files: ss5-debugsource-3.8.9-22.mga8.aarch64 Provides: ss5-debugsource = 3.8.9-22.mga8 ss5-debugsource(aarch-64) = 3.8.9-22.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ss5-debuginfo-3.8.9-22.mga8.aarch64 Provides: debuginfo(build-id) = 0964f0d0f878dedf7b25902abea2ea1f76c0d0b7 debuginfo(build-id) = 18ef26931822435edd3eea0839ae4d5d67e7a2fa debuginfo(build-id) = 305a78a9a3cb1981607dc12c9c62cdd076312562 debuginfo(build-id) = 33fca1cd074488df87693c8dd189653c4f63ff96 debuginfo(build-id) = 44241285a5fbc5b8e1ad8234816dfdf80173d750 debuginfo(build-id) = a1251a57fa97a7e799bef8f086abe936b99eed51 debuginfo(build-id) = a3c530926e5391cfb3c432ab7321171cff01b9a3 debuginfo(build-id) = a889ef8aa279ff9d542624791c178e2652307530 debuginfo(build-id) = caa1c705b843d7a2cecb0ce7874a0a6d1fdbf5bd debuginfo(build-id) = d81d03fe7faa828f78d5f7f9cba061eddcfe4a6b debuginfo(build-id) = de1691fbe3c0801653145d8fb05205c7321b59ba debuginfo(build-id) = e017d4c7038d2bb1aa654165520856de70cfb6a2 debuginfo(build-id) = e739f57261d892609c607ed148d2c0f55ec69eda debuginfo(build-id) = e8c32880c227fc40a2208a8d46f5e098911be177 debuginfo(build-id) = fc05609fa9ede7b505c839981afaae241bda21bc ss5-debuginfo = 3.8.9-22.mga8 ss5-debuginfo(aarch-64) = 3.8.9-22.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ss5-debugsource(aarch-64) = 3.8.9-22.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ss5-3.8.9-22.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ss5-debugsource-3.8.9-22.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ss5-debuginfo-3.8.9-22.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XAqdDj + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ss5-3.8.9 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/ss5-3.8.9-22.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.isoVZj + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf ss5-3.8.9 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!