Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/medusa.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672075432.655480/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s4lg7n56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s4lg7n56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b00ddfc24fe74cf5bfac0e4855d88a7a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672075432.655480/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s4lg7n56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/medusa.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1660521600 Wrote: /builddir/build/SRPMS/medusa-2.2-21.20181216git292193b.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/medusa.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672075432.655480/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s4lg7n56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s4lg7n56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '67ce32434fb34390b4d4e1b56ecd59e9', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672075432.655480/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s4lg7n56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/medusa.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1660521600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1NNwWY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf medusa-292193b3995444aede53ff873899640b08129fc7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/medusa-2.2-292193b.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd medusa-292193b3995444aede53ff873899640b08129fc7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mFWBNk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd medusa-292193b3995444aede53ff873899640b08129fc7 + autoreconf -vif autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:3: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:3: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1089: AM_CONFIG_HEADER is expanded from... configure.ac:3: the top level configure.ac:14: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:14: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:14: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory '.' + export 'CPPFLAGS=-Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon' + CPPFLAGS='-Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon' + export 'CFLAGS=-Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon' + CFLAGS='-Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon' + CFLAGS='-Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-26 17:25:36.593086248 +0000 +++ ./configure 2022-12-26 17:25:37.288094015 +0000 @@ -2020,7 +2020,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-module-afp=yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of short... 2 checking whether to enable debugging... yes configure: checking for pthread support... checking for main in -lpthread... yes configure: checking for dlopen/dlclose... checking for dlclose in -ldl... yes checking for library containing clock_gettime... none required checking for clock_gettime... yes configure: checking for OpenSSL Library and Header files... checking /usr//include/openssl/ssh.h... found checking for CRYPTO_lock in -lcrypto... no configure: WARNING: *** LibCrypto may be required for *BSD *** checking for openssl/ssl.h... yes checking for main in -lssl... yes checking for openssl/crypto.h... yes checking for main in -lssl... (cached) yes configure: *** Checking module dependencies and enabling accordingly *** configure: checking for AFPFS-NG Library and Header files... checking for afpfs-ng/afp_protocol.h... yes checking for main in -lafpclient... yes checking whether to enable AFP module... yes checking whether to enable CVS module... yes checking whether to enable FTP module... yes checking whether to enable HTTP module... yes checking whether to enable IMAP module... yes checking whether to enable MSSQL module... yes checking whether to enable MYSQL module... yes configure: checking for NCPFS Library and Header files... checking for ncp/nwcalls.h... no configure: WARNING: *** NCPFS header files required for NCP module. *** The NCPFS package must be installed for the NCP module to function. This includes both the library and header files. If your distribution does not include these files or offer a ncpfs-devel package, the files can be manually installed using "make install-dev" within the NCPFS source. The NCP module will NOT be built. checking whether to enable NCP module... no checking whether to enable NNTP module... yes checking whether to enable PCANYWHERE module... yes checking whether to enable POP3 module... yes configure: checking for PostgreSQL Library and Header files... checking for libpq-fe.h... yes checking for main in -lpq... yes checking whether to enable POSTGRES module... yes checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for FREERDP2... yes configure: checking for FreeRDP Library and Header files... checking for freerdp/freerdp.h... yes checking for main in -lfreerdp2... yes checking whether to enable RDP module... yes checking whether to enable REXEC module... yes checking whether to enable RLOGIN module... yes checking whether to enable RSH module... yes checking whether to enable SMBNT module... yes checking whether to enable SMTP module... yes checking whether to enable SMTP-VRFY module... yes checking whether to enable SNMP module... yes configure: checking for Libssh2 Library files... checking for main in -lssh2... yes checking whether to enable SSH module... yes configure: checking for Subversion Library and Header files... checking for apr-1-config... /usr/bin/apr-1-config checking for /usr/include/apr-1/apr_tables.h... yes checking for subversion-1/svn_client.h... yes checking for main in -lsvn_client-1... yes checking for svn_client_list3 in -lsvn_client-1... yes checking whether to enable SVN module... yes checking whether to enable TELNET module... yes checking whether to enable VMAUTHD module... yes checking whether to enable VNC module... yes checking whether to enable WRAPPER module... yes checking whether to enable WEB-FORM module... yes configure: configure: ******************************************************* configure: Medusa Module Build Summary configure: configure: AFP Enabled configure: CVS Enabled configure: FTP Enabled configure: HTTP Enabled configure: IMAP Enabled configure: MSSQL Enabled configure: MYSQL Enabled configure: NCP ** Disabled ** configure: NNTP Enabled configure: PCANYWHERE Enabled configure: POP3 Enabled configure: POSTGRES Enabled configure: RDP Enabled configure: REXEC Enabled configure: RLOGIN Enabled configure: RSH Enabled configure: SMBNT Enabled configure: SMTP Enabled configure: SMTP-VRFY Enabled configure: SNMP Enabled configure: SSH Enabled configure: SVN Enabled configure: TELNET Enabled configure: VMAUTHD Enabled configure: VNC Enabled configure: WRAPPER Enabled configure: WEB-FORM Enabled configure: configure: If a module is unexpectedly marked as disabled, check configure: above output and verify dependancies were satisfied. configure: configure: It should also be noted that, by default, not all of configure: the modules are built. Incomplete modules or modules configure: which have not been sufficiently tested may be configure: disabled. To enable non-default modules, use the configure: "--enable-module-MODULE_NAME" configure option. configure: ******************************************************* configure: checking for strcasestr... yes checking for asprintf... yes checking for vasprintf... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/modsrc/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j2 V=1 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7' Making all in src make[2]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src' Making all in modsrc make[3]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src/modsrc' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o afp.o afp.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o cvs.o cvs.c cvs.c: In function 'tryLogin': cvs.c:315:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 315 | strncpy(szPassTmp, szPassword, strlen(szPassword)); | ^ cvs.c:315:3: note: length computed here 315 | strncpy(szPassTmp, szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cvs.c: In function 'go': cvs.c:123:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 123 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ cvs.c:123:7: note: length computed here 123 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cvs.c:137:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 137 | strncpy((char *)psSessionData->szDir, pOpt, strlen(pOpt)); | ^ cvs.c:137:11: note: length computed here 137 | strncpy((char *)psSessionData->szDir, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o ftp.o ftp.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o http.o http.c ftp.c: In function 'go': ftp.c:152:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 152 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ ftp.c:152:7: note: length computed here 152 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o ntlm.o ntlm.c http.c: In function 'sendAuthDigest': http.c:654:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 654 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^ http.c:654:5: note: length computed here 654 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:647:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 647 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^ http.c:647:5: note: length computed here 647 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:896:93: warning: '%s' directive writing up to 2147483646 bytes into a region of size 2147483594 [-Wformat-overflow=] 896 | sprintf((char*)bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nAuthorization: %s\r\nConnection: keep-alive\r\n%s\r\n", | ^~ In file included from /usr/include/stdio.h:906, from ../medusa-net.h:26, from module.h:35, from http.c:34: In function 'sprintf', inlined from 'sendAuthDigest' at http.c:896:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 82 or more bytes (assuming 2147483728) into a destination of size 2147483647 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ntlm.c: In function 'buildAuthResponse': ntlm.c:1242:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1242 | MD5_Init(&Md5Ctx); | ^~~~~~~~ In file included from ntlm.h:39, from ntlm.c:49: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ ntlm.c:1243:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1243 | MD5_Update(&Md5Ctx, challenge->challengeData, 8); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ ntlm.c:1244:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1244 | MD5_Update(&Md5Ctx, clientNonce, 8); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ ntlm.c:1245:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1245 | MD5_Final(sessionNonce, &Md5Ctx); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ ntlm.c:1260:32: warning: the address of 'lmRespData' will always evaluate as 'true' [-Waddress] 1260 | AddBytes(response,lmResponse,lmRespData,24); | ^~~~~~~~~~ ntlm.c:1064:5: note: in definition of macro 'AddBytes' 1064 | if (buf && count) \ | ^~~ ntlm.c:1261:32: warning: the address of 'ntRespData' will always evaluate as 'true' [-Waddress] 1261 | AddBytes(response,ntResponse,ntRespData,24); | ^~~~~~~~~~ ntlm.c:1064:5: note: in definition of macro 'AddBytes' 1064 | if (buf && count) \ | ^~~ ntlm.c:1098:29: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1098 | AddBytes(ptr, header, b, len*2); \ | ~~~^~ ntlm.c:1064:12: note: in definition of macro 'AddBytes' 1064 | if (buf && count) \ | ^~~~~ ntlm.c:1264:3: note: in expansion of macro 'AddUnicodeString' 1264 | AddUnicodeString(response,uDomain,domain); | ^~~~~~~~~~~~~~~~ ntlm.c:1098:29: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1098 | AddBytes(ptr, header, b, len*2); \ | ~~~^~ ntlm.c:1064:12: note: in definition of macro 'AddBytes' 1064 | if (buf && count) \ | ^~~~~ ntlm.c:1267:3: note: in expansion of macro 'AddUnicodeString' 1267 | AddUnicodeString(response,uUser,u); | ^~~~~~~~~~~~~~~~ ntlm.c:1098:29: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1098 | AddBytes(ptr, header, b, len*2); \ | ~~~^~ ntlm.c:1064:12: note: in definition of macro 'AddBytes' 1064 | if (buf && count) \ | ^~~~~ ntlm.c:1270:3: note: in expansion of macro 'AddUnicodeString' 1270 | AddUnicodeString(response,uWks,w); | ^~~~~~~~~~~~~~~~ http.c: In function 'go': http.c:198:11: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 198 | strncpy(psSessionData->szCustomHeader + nCustomHeadersSize + strlen(pOpt), "\r\n", 2); | ^ http.c:151:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 151 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ http.c:151:7: note: length computed here 151 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:229:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 229 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^ http.c:229:11: note: length computed here 229 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:197:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 197 | strncpy(psSessionData->szCustomHeader + nCustomHeadersSize, pOpt, strlen(pOpt)); | ^ http.c:197:11: note: length computed here 197 | strncpy(psSessionData->szCustomHeader + nCustomHeadersSize, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:179:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 179 | strncpy(psSessionData->szUserAgent, pOpt, strlen(pOpt) + 1); | ^ http.c:179:53: note: length computed here 179 | strncpy(psSessionData->szUserAgent, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ http.c:165:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 165 | strncpy(psSessionData->szDir, pOpt, strlen(pOpt) + 1); | ^ http.c:165:47: note: length computed here 165 | strncpy(psSessionData->szDir, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o http-digest.o http-digest.c http-digest.c: In function 'DigestCalcHA1': http-digest.c:57:7: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 57 | MD5_Init(&Md5Ctx); | ^~~~~~~~ In file included from http-digest.h:6, from http-digest.c:18: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ http-digest.c:58:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 | MD5_Update(&Md5Ctx, pszUserName, strlen(pszUserName)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:59:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:60:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | MD5_Update(&Md5Ctx, pszRealm, strlen(pszRealm)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:61:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 61 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:62:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 62 | MD5_Update(&Md5Ctx, pszPassword, strlen(pszPassword)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:63:7: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 63 | MD5_Final(HA1, &Md5Ctx); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ http-digest.c:66:13: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 66 | MD5_Init(&Md5Ctx); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ http-digest.c:67:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | MD5_Update(&Md5Ctx, SessionKey, strlen(SessionKey)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:67:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 67 | MD5_Update(&Md5Ctx, SessionKey, strlen(SessionKey)); | ^~~~~~~~~~ | | | unsigned char * In file included from http-digest.c:17: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http-digest.c:68:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:69:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 69 | MD5_Update(&Md5Ctx, pszNonce, strlen(pszNonce)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:70:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 70 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:71:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 71 | MD5_Update(&Md5Ctx, pszCNonce, strlen(pszCNonce)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:72:13: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 72 | MD5_Final(HA1, &Md5Ctx); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ http-digest.c: In function 'DigestCalcResponse': http-digest.c:96:7: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 96 | MD5_Init(&Md5Ctx); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ http-digest.c:97:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 97 | MD5_Update(&Md5Ctx, pszMethod, strlen(pszMethod)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:98:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:99:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 99 | MD5_Update(&Md5Ctx, pszDigestUri, strlen(pszDigestUri)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:101:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 101 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:102:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 102 | MD5_Update(&Md5Ctx, HEntity, HASHHEXLEN); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:104:7: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 104 | MD5_Final(HA2, &Md5Ctx); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ http-digest.c:108:7: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 108 | MD5_Init(&Md5Ctx); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ http-digest.c:109:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 109 | MD5_Update(&Md5Ctx, HA1, HASHHEXLEN); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:110:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 110 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:111:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 111 | MD5_Update(&Md5Ctx, pszNonce, strlen(pszNonce)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:112:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 112 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:115:11: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 115 | MD5_Update(&Md5Ctx, pszNonceCount, strlen(pszNonceCount)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:116:11: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 116 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:117:11: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 117 | MD5_Update(&Md5Ctx, pszCNonce, strlen(pszCNonce)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:118:11: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 118 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:119:11: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | MD5_Update(&Md5Ctx, pszQop, strlen(pszQop)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:120:11: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 120 | MD5_Update(&Md5Ctx, ":", 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:122:7: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | MD5_Update(&Md5Ctx, HA2Hex, HASHHEXLEN); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http-digest.c:123:7: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 123 | MD5_Final(RespHash, &Md5Ctx); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o imap.o imap.c imap.c: In function 'sendAuthPlain': imap.c:584:30: warning: ' ' directive writing 2 bytes into a region of size between 1 and 2147483647 [-Wformat-overflow=] 584 | sprintf((char*)bufSend, "%s\r\n", szEncodedAuth); | ^~~~ In file included from /usr/include/stdio.h:906, from imap.c:35: In function 'sprintf', inlined from 'sendAuthPlain' at imap.c:584:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 3 and 2147483649 bytes into a destination of size 2147483647 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ imap.c: In function 'go': imap.c:156:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 156 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ imap.c:156:7: note: length computed here 156 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:200:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 200 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^ imap.c:200:11: note: length computed here 200 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:170:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 170 | strncpy(psSessionData->szTag, pOpt, strlen(pOpt) + 1); | ^ imap.c:170:47: note: length computed here 170 | strncpy(psSessionData->szTag, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o mssql.o mssql.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o mysql.o mysql.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o sha1.o sha1.c mysql.c: In function 'MySQLPrepareAuthOld': mysql.c:490:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 490 | strncpy((char*)response + 9, szLogin, login_len); | ^ mysql.c:466:19: note: length computed here 466 | int login_len = strlen(szLogin) > 16 ? 16 : strlen(szLogin); | ^~~~~~~~~~~~~~~ mysql.c: In function 'MySQLPrepareAuth': mysql.c:567:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 567 | strncpy((char*)response + 36, szLogin, login_len); /* NULL terminated username */ | ^ mysql.c:532:19: note: length computed here 532 | int login_len = strlen(szLogin) > 16 ? 16 : strlen(szLogin); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o nntp.o nntp.c mysql.c: In function 'go': mysql.c:149:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 149 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ mysql.c:149:7: note: length computed here 149 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o pcanywhere.o pcanywhere.c pcanywhere.c: In function 'pcaUserAuth': pcanywhere.c:399:12: warning: the comparison will always evaluate as 'true' for the pointer operand in 'bufReceive + 6' must not be NULL [-Waddress] 399 | else if (bufReceive + 6) | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o pop3.o pop3.c pcanywhere.c:372:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 372 | strncpy(szTmp, szDomain, strlen(szDomain)); | ^ pcanywhere.c:372:7: note: length computed here 372 | strncpy(szTmp, szDomain, strlen(szDomain)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcanywhere.c:374:7: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 374 | strncpy(szTmp + strlen(szDomain) + 1, szLogin, strlen(szLogin)); | ^ pcanywhere.c:374:7: note: length computed here 374 | strncpy(szTmp + strlen(szDomain) + 1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcanywhere.c: In function 'go': pcanywhere.c:145:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 145 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ pcanywhere.c:145:7: note: length computed here 145 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o postgres.o postgres.c pop3.c: In function 'sendAuthPLAIN': pop3.c:543:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 543 | strncpy(szTmpBuf, szLogin, strlen(szLogin)); | ^ pop3.c:543:3: note: length computed here 543 | strncpy(szTmpBuf, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:544:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 544 | strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin)); | ^ pop3.c:544:3: note: length computed here 544 | strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:545:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 545 | strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); | ^ pop3.c:545:3: note: length computed here 545 | strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:555:39: warning: '%s' directive output between 0 and 2147483646 bytes may cause result to exceed 'INT_MAX' [-Wformat-overflow=] 555 | sprintf((char*)bufSend, "AUTH PLAIN %s\r\n", szTmpBuf64); | ^~ postgres.c: In function 'go': postgres.c:126:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 126 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ postgres.c:126:7: note: length computed here 126 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgres.c:140:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 140 | strncpy((char *)psSessionData->szDB, pOpt, strlen(pOpt)); | ^ postgres.c:140:11: note: length computed here 140 | strncpy((char *)psSessionData->szDB, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function 'go': pop3.c:145:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 145 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ pop3.c:145:7: note: length computed here 145 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:189:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 189 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^ pop3.c:189:11: note: length computed here 189 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o rdp.o rdp.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o rexec.o rexec.c rdp.c: In function 'initModule': rdp.c:231:30: warning: assignment to 'pPreConnect' {aka 'int (*)(struct rdp_freerdp *)'} from incompatible pointer type 'signed char (*)(struct rdp_freerdp *)' [-Wincompatible-pointer-types] 231 | instance->PreConnect = (signed char (*)(struct rdp_freerdp *))tf_pre_connect; | ^ rdp.c:232:31: warning: assignment to 'pPostConnect' {aka 'int (*)(struct rdp_freerdp *)'} from incompatible pointer type 'signed char (*)(struct rdp_freerdp *)' [-Wincompatible-pointer-types] 232 | instance->PostConnect = (signed char (*)(struct rdp_freerdp *))tf_post_connect; | ^ rexec.c: In function 'tryLogin': rexec.c:227:3: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 227 | strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); | ^ rexec.c:227:3: note: length computed here 227 | strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexec.c:229:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 229 | strncpy((char *)bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); | ^ rexec.c:229:3: note: length computed here 229 | strncpy((char *)bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o rlogin.o rlogin.c rdp.c: In function 'tryLogin': rdp.c:516:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 516 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^ rdp.c:516:9: note: length computed here 516 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp.c:517:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 517 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ rdp.c:517:9: note: length computed here 517 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp.c:525:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 525 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^ rdp.c:525:9: note: length computed here 525 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp.c:526:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 526 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ rdp.c:526:9: note: length computed here 526 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp.c: In function 'go': rdp.c:155:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 155 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ rdp.c:155:7: note: length computed here 155 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp.c:169:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 169 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^ rdp.c:169:11: note: length computed here 169 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'tryLogin': rlogin.c:229:3: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 229 | strncpy((char *)bufSend+1+strlen(szLogin)+1+strlen(szLogin)+1, "xterm", 5); | ^ rlogin.c:225:3: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 225 | strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); | ^ rlogin.c:225:3: note: length computed here 225 | strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c:227:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 227 | strncpy((char *)bufSend+2+strlen(szLogin), szLogin, strlen(szLogin)); | ^ rlogin.c:227:3: note: length computed here 227 | strncpy((char *)bufSend+2+strlen(szLogin), szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o rsh.o rsh.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o smbnt.o smbnt.c rsh.c: In function 'initModule': rsh.c:139:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 139 | else | ^~~~ rsh.c:141:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 141 | params.nSourcePort = 1023; | ^~~~~~ rsh.c: In function 'tryLogin': rsh.c:230:3: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 230 | strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); | ^ rsh.c:230:3: note: length computed here 230 | strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsh.c:232:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 232 | strncpy((char *)bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); | ^ rsh.c:232:3: note: length computed here 232 | strncpy((char *)bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c: In function 'MakeKey': smbnt.c:591:3: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 591 | DES_set_odd_parity((DES_cblock *) des_key); | ^~~~~~~~~~~~~~~~~~ In file included from smbnt.c:104: /usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ smbnt.c: In function 'DesEncrypt': smbnt.c:601:3: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 601 | DES_set_key(&des_key, &key_schedule); | ^~~~~~~~~~~ /usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ smbnt.c:602:3: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 602 | DES_ecb_encrypt((DES_cblock *) clear, (DES_cblock *) cipher, &key_schedule, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ smbnt.c: In function 'MakeNTLM': smbnt.c:761:7: warning: 'MD4_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 761 | MD4_Init(&md4Context); | ^~~~~~~~ In file included from smbnt.c:103: /usr/include/openssl/md4.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); | ^~~~~~~~ smbnt.c:762:7: warning: 'MD4_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 762 | MD4_Update(&md4Context, unicodePassword, mdlen); | ^~~~~~~~~~ /usr/include/openssl/md4.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ smbnt.c:763:7: warning: 'MD4_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 763 | MD4_Final(hash, &md4Context); /* Tell MD4 we're done */ | ^~~~~~~~~ /usr/include/openssl/md4.h:52:27: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); | ^~~~~~~~~ smbnt.c:808:5: warning: 'MD4_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 808 | MD4_Init(&md4Context); | ^~~~~~~~ /usr/include/openssl/md4.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); | ^~~~~~~~ smbnt.c:809:5: warning: 'MD4_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 809 | MD4_Update(&md4Context, unicodePassword, mdlen); | ^~~~~~~~~~ /usr/include/openssl/md4.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ smbnt.c:810:5: warning: 'MD4_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 810 | MD4_Final(hash, &md4Context); /* Tell MD4 we're done */ | ^~~~~~~~~ /usr/include/openssl/md4.h:52:27: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o hmacmd5.o hmacmd5.c hmacmd5.c: In function 'hmac_md5_init_rfc2104': hmacmd5.c:46:17: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | MD5_Init(&tctx); | ^~~~~~~~ In file included from hmacmd5.c:28: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ hmacmd5.c:47:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 47 | MD5_Update(&tctx, (void *)key, key_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ hmacmd5.c:48:17: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 48 | MD5_Final(tk, &tctx); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ hmacmd5.c:66:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 66 | MD5_Init(&ctx->ctx); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ hmacmd5.c:67:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | MD5_Update(&ctx->ctx, ctx->k_ipad, 64); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ hmacmd5.c: In function 'hmac_md5_init_limK_to_64': hmacmd5.c:96:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 96 | MD5_Init(&ctx->ctx); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ hmacmd5.c:97:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 97 | MD5_Update(&ctx->ctx, ctx->k_ipad, 64); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ hmacmd5.c: In function 'hmac_md5_update': hmacmd5.c:106:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 106 | MD5_Update(&ctx->ctx, (void *)text, text_len); /* then text of datagram */ | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ hmacmd5.c: In function 'hmac_md5_final': hmacmd5.c:117:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 117 | MD5_Final(digest, &ctx->ctx); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ hmacmd5.c:119:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | MD5_Init(&ctx_o); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ hmacmd5.c:120:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 120 | MD5_Update(&ctx_o, ctx->k_opad, 64); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ hmacmd5.c:121:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | MD5_Update(&ctx_o, digest, 16); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ hmacmd5.c:122:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | MD5_Final(digest, &ctx_o); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o smtp.o smtp.c smbnt.c: In function 'parseFullyQualifiedUsername': smbnt.c:560:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 560 | strncpy(szUser, szLogin, strlen(szLogin)); | ^ smbnt.c:560:5: note: length computed here 560 | strncpy(szUser, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:539:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 539 | strncpy(pOptTmp, szLogin, strlen(szLogin)); | ^ smbnt.c:539:5: note: length computed here 539 | strncpy(pOptTmp, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:543:5: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 543 | strncpy((char *) _psSessionData->workgroup_other, pOpt, 16); | ^ smbnt.c:549:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 549 | strncpy(szUser, pOpt, strlen(pOpt)); | ^ smbnt.c:549:5: note: length computed here 549 | strncpy(szUser, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'sendAuthPLAIN': smtp.c:529:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 529 | strncpy((char *)szTmpBuf, szLogin, strlen((char *)szLogin)); | ^ smtp.c:529:3: note: length computed here 529 | strncpy((char *)szTmpBuf, szLogin, strlen((char *)szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c:530:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 530 | strncpy((char *)szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin)); | ^ smtp.c:530:3: note: length computed here 530 | strncpy((char *)szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c:531:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 531 | strncpy((char *)szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); | ^ smtp.c:531:3: note: length computed here 531 | strncpy((char *)szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c:541:31: warning: ' ' directive output between 2 and 2 bytes may cause result to exceed 'INT_MAX' [-Wformat-overflow=] 541 | sprintf((char *)bufSend, "%s\r\n", szTmpBuf64); | ^~~~ smbnt.c: In function 'SMBSessionSetup': smbnt.c:1684:24: warning: 'iByteCount' may be used uninitialized [-Wmaybe-uninitialized] 1684 | memcpy(buf + iOffset + iByteCount, szLogin, strlen(szLogin)); | ^ smbnt.c:1436:7: note: 'iByteCount' declared here 1436 | int iByteCount; | ^~~~~~~~~~ smbnt.c: In function 'tryLogin': smbnt.c:1895:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1895 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^ smbnt.c:1895:7: note: length computed here 1895 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:1896:7: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1896 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ smbnt.c:1896:7: note: length computed here 1896 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:1926:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1926 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^ smbnt.c:1926:7: note: length computed here 1926 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:1927:7: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1927 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ smbnt.c:1927:7: note: length computed here 1927 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'go': smtp.c:147:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 147 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ smtp.c:147:7: note: length computed here 147 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c:190:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 190 | strncpy((char *) psSessionData->szEHLO, pOpt, strlen(pOpt)); | ^ smtp.c:190:11: note: length computed here 190 | strncpy((char *) psSessionData->szEHLO, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c:177:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 177 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^ smtp.c:177:11: note: length computed here 177 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o smtp-vrfy.o smtp-vrfy.c smbnt.c: In function 'go': smbnt.c:293:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 293 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ smbnt.c:293:7: note: length computed here 293 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:321:11: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 321 | strncpy((char *) psSessionData->workgroup_other, pOpt, 16); | ^ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o snmp.o snmp.c smtp-vrfy.c: In function 'tryLogin': smtp-vrfy.c:526:7: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 526 | strncpy(szVerb, "RCPT TO:", 8); | ^ smtp-vrfy.c:522:7: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 522 | strncpy(szVerb, "EXPN", 4); | ^ smtp-vrfy.c:518:7: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 518 | strncpy(szVerb, "VRFY", 4); | ^ smtp-vrfy.c:534:41: warning: '%.250s' directive writing up to 250 bytes into a region of size between 48 and 298 [-Wformat-overflow=] 534 | sprintf((char *)bufSend, "%s %.250s@%.250s\r\n", szVerb, szAccount, szDomain); | ^~~~~~ In file included from /usr/include/stdio.h:906, from smtp-vrfy.c:29: In function 'sprintf', inlined from 'tryLogin' at smtp-vrfy.c:534:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 5 or more bytes (assuming 505) into a destination of size 300 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smtp-vrfy.c: In function 'go': smtp-vrfy.c:149:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 149 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ smtp-vrfy.c:149:7: note: length computed here 149 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp-vrfy.c:195:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 195 | strncpy((char *) psSessionData->szMAILFROM, pOpt, strlen(pOpt)); | ^ smtp-vrfy.c:195:11: note: length computed here 195 | strncpy((char *) psSessionData->szMAILFROM, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp-vrfy.c:182:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 182 | strncpy((char *) psSessionData->szHELO, pOpt, strlen(pOpt)); | ^ smtp-vrfy.c:182:11: note: length computed here 182 | strncpy((char *) psSessionData->szHELO, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o ssh.o ssh.c snmp.c: In function 'sendWrite': snmp.c:677:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 677 | strncpy((char *)bufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w), szLocation, strlen(szLocation)); | ^ snmp.c:677:3: note: length computed here 677 | strncpy((char *)bufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w), szLocation, strlen(szLocation)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snmp.c: In function 'go': snmp.c:167:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 167 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ snmp.c:167:7: note: length computed here 167 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o svn.o svn.c ssh.c: In function 'response_callback': ssh.c:424:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 424 | strncpy(responses[i].text, pPass, strlen(pPass)); | ^ ssh.c:424:9: note: length computed here 424 | strncpy(responses[i].text, pPass, strlen(pPass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssh.c: In function 'go': ssh.c:136:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 136 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ ssh.c:136:7: note: length computed here 136 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssh.c:146:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 146 | strncpy((char *) psSessionData->szBannerMsg, pOpt, strlen(pOpt)); | ^ ssh.c:146:11: note: length computed here 146 | strncpy((char *) psSessionData->szBannerMsg, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o telnet.o telnet.c svn.c: In function 'tryLogin': svn.c:353:3: warning: 'svn_client_list3' is deprecated [-Wdeprecated-declarations] 353 | err = svn_client_list3(canonical, &revision, &revision, svn_depth_empty, SVN_DIRENT_ALL, FALSE, FALSE, print_dirent, &ctx->auth_baton, ctx, pool); | ^~~ In file included from svn.c:47: /usr/include/subversion-1/svn_client.h:6806:1: note: declared here 6806 | svn_client_list3(const char *path_or_url, | ^~~~~~~~~~~~~~~~ telnet.c: In function 'initModule': telnet.c:277:67: warning: comparison between pointer and zero character constant [-Wpointer-compare] 277 | if (strcasestr((char *)bufReceive, (char *)"Sign On") != '\0') | ^~ telnet.c:277:17: note: did you mean to dereference the pointer? 277 | if (strcasestr((char *)bufReceive, (char *)"Sign On") != '\0') | ^ telnet.c:306:74: warning: comparison between pointer and zero character constant [-Wpointer-compare] 306 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^~ telnet.c:306:19: note: did you mean to dereference the pointer? 306 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^ telnet.c:318:72: warning: comparison between pointer and zero character constant [-Wpointer-compare] 318 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^~ telnet.c:318:19: note: did you mean to dereference the pointer? 318 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^ telnet.c: In function 'tryLogin': telnet.c:482:66: warning: comparison between pointer and zero character constant [-Wpointer-compare] 482 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^~ telnet.c:482:13: note: did you mean to dereference the pointer? 482 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^ telnet.c:494:70: warning: comparison between pointer and zero character constant [-Wpointer-compare] 494 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^~ telnet.c:494:15: note: did you mean to dereference the pointer? 494 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^ telnet.c:582:70: warning: comparison between pointer and zero character constant [-Wpointer-compare] 582 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^~ telnet.c:582:15: note: did you mean to dereference the pointer? 582 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^ telnet.c:597:68: warning: comparison between pointer and zero character constant [-Wpointer-compare] 597 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^~ telnet.c:597:15: note: did you mean to dereference the pointer? 597 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^ svn.c: In function 'go': svn.c:132:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 132 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ svn.c:132:7: note: length computed here 132 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svn.c:146:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 146 | strncpy((char *)psSessionData->szBranch, pOpt, strlen(pOpt)); | ^ svn.c:146:11: note: length computed here 146 | strncpy((char *)psSessionData->szBranch, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o vmauthd.o vmauthd.c telnet.c: In function 'tryLoginAS400': telnet.c:764:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 764 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^ telnet.c:764:5: note: length computed here 764 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:754:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 754 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^ telnet.c:754:5: note: length computed here 754 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:744:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 744 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^ telnet.c:744:5: note: length computed here 744 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:734:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 734 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^ telnet.c:734:5: note: length computed here 734 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:711:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 711 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^ telnet.c:711:5: note: length computed here 711 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:701:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 701 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^ telnet.c:701:5: note: length computed here 701 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:691:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 691 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^ telnet.c:691:5: note: length computed here 691 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o vnc.o vnc.c telnet.c: In function 'go': telnet.c:155:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 155 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ telnet.c:155:7: note: length computed here 155 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o d3des.o d3des.c vnc.c: In function 'sendAuthMSLogin': vnc.c:813:3: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 813 | dh_struct = DH_new(); | ^~~~~~~~~ In file included from vnc.c:51: /usr/include/openssl/dh.h:199:27: note: declared here 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ vnc.c:816:3: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 816 | DH_set0_pqg(dh_struct, (BIGNUM*) &p, (BIGNUM*) &client_priv, (BIGNUM*) &g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:255:27: note: declared here 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ vnc.c:828:3: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 828 | if (DH_generate_key(dh_struct) == 0) | ^~ /usr/include/openssl/dh.h:223:27: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ vnc.c:831:3: warning: 'DH_check' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 831 | DH_check(dh_struct, &dh_error); | ^~~~~~~~ /usr/include/openssl/dh.h:220:27: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^~~~~~~~ vnc.c:841:3: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 841 | DH_set0_key(dh_struct, (BIGNUM*) &client_pub, (BIGNUM*) &client_priv); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:258:27: note: declared here 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ vnc.c:850:3: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 850 | dh_secret = malloc( DH_size(dh_struct) ); | ^~~~~~~~~ /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ vnc.c:851:3: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 851 | DH_compute_key(dh_secret, server_pub, dh_struct); | ^~~~~~~~~~~~~~ /usr/include/openssl/dh.h:224:27: note: declared here 224 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ vnc.c:857:3: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 857 | if (DH_size(dh_struct) < 8) | ^~ /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ vnc.c:858:5: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 858 | for (i=0; i < DH_size(dh_struct); i++) | ^~~ /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ vnc.c:859:7: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 859 | key[8 - DH_size(dh_struct) + i] = dh_secret[i]; | ^~~ /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ vnc.c:861:3: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 861 | DH_free(dh_struct); | ^~~~~~~ /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o web-form.o web-form.c vnc.c:870:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 870 | strncpy((char *)ms_user, _psSessionData->szDomain, strlen(_psSessionData->szDomain)); | ^ vnc.c:868:38: note: length computed here 868 | if ((_psSessionData->szDomain) && (strlen(_psSessionData->szDomain) + 1 + strlen(szLogin) < 256)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vnc.c:872:5: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 872 | strncat((char *)ms_user, szLogin, strlen(szLogin)); | ^ vnc.c:872:5: note: length computed here 872 | strncat((char *)ms_user, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vnc.c:875:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 875 | strncpy((char *)ms_user, szLogin, 256); | ^ vnc.c:877:3: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 877 | strncpy((char *)ms_passwd, szPassword, 64); | ^ vnc.c: In function 'go': vnc.c:160:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 160 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ vnc.c:160:7: note: length computed here 160 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vnc.c:184:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 184 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^ vnc.c:184:11: note: length computed here 184 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'initModule': web-form.c:356:15: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 356 | strncpy(_psSessionData->szFormUser, pTemp, strlen(pTemp)); | ^ web-form.c:356:15: note: length computed here 356 | strncpy(_psSessionData->szFormUser, pTemp, strlen(pTemp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:364:15: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 364 | strncpy(_psSessionData->szFormPass, pTemp, strlen(pTemp)); | ^ web-form.c:364:15: note: length computed here 364 | strncpy(_psSessionData->szFormPass, pTemp, strlen(pTemp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:372:15: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 372 | strncpy(_psSessionData->szFormRest, pTemp, strlen(pTemp)); | ^ web-form.c:372:15: note: length computed here 372 | strncpy(_psSessionData->szFormRest, pTemp, strlen(pTemp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o wrapper.o wrapper.c web-form.c: In function 'go': web-form.c:221:13: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 221 | strncpy(psSessionData->szCustomHeader + strlen(pOpt), "\r\n", 2); | ^ web-form.c:230:13: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 230 | strncpy(psSessionData->szCustomHeader + oldSize + strlen(pOpt), "\r\n", 2); | ^ web-form.c:148:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 148 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ web-form.c:148:7: note: length computed here 148 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:229:13: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 229 | strncpy(psSessionData->szCustomHeader + oldSize, pOpt, strlen(pOpt)); | ^ web-form.c:229:13: note: length computed here 229 | strncpy(psSessionData->szCustomHeader + oldSize, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:220:13: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 220 | strncpy(psSessionData->szCustomHeader, pOpt, strlen(pOpt)); | ^ web-form.c:220:13: note: length computed here 220 | strncpy(psSessionData->szCustomHeader, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:204:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 204 | strncpy(psSessionData->szUserAgent, pOpt, strlen(pOpt)); | ^ web-form.c:204:11: note: length computed here 204 | strncpy(psSessionData->szUserAgent, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:190:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 190 | strncpy(psSessionData->szFormData, pOpt, strlen(pOpt)); | ^ web-form.c:190:11: note: length computed here 190 | strncpy(psSessionData->szFormData, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:176:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 176 | strncpy(psSessionData->szDenySignal, pOpt, strlen(pOpt)); | ^ web-form.c:176:11: note: length computed here 176 | strncpy(psSessionData->szDenySignal, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:162:11: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 162 | strncpy(psSessionData->szDir, pOpt, strlen(pOpt)); | ^ web-form.c:162:11: note: length computed here 162 | strncpy(psSessionData->szDir, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o ../medusa-trace.o ../medusa-trace.c wrapper.c: In function 'tryLogin': wrapper.c:567:40: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 567 | strncpy(pBufTmp, buffer, sizeof(buffer)); | ^ wrapper.c: In function 'initModule': wrapper.c:275:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 275 | strncpy(szCmdTmp + nCmdPartLength, psLogin->psServer->pHostIP, strlen(psLogin->psServer->pHostIP)); | ^ wrapper.c:275:11: note: length computed here 275 | strncpy(szCmdTmp + nCmdPartLength, psLogin->psServer->pHostIP, strlen(psLogin->psServer->pHostIP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c:294:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 294 | strncpy(_psSessionData->szCmdParamFull + nCmdPartLength, psCredSet->psUser->pUser, strlen(psCredSet->psUser->pUser)); | ^ wrapper.c:294:11: note: length computed here 294 | strncpy(_psSessionData->szCmdParamFull + nCmdPartLength, psCredSet->psUser->pUser, strlen(psCredSet->psUser->pUser)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c:313:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 313 | strncpy(szCmdTmp + nCmdPartLength, psCredSet->pPass, strlen(psCredSet->pPass)); | ^ wrapper.c:313:11: note: length computed here 313 | strncpy(szCmdTmp + nCmdPartLength, psCredSet->pPass, strlen(psCredSet->pPass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c:335:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 335 | strncpy(_psSessionData->szCmdFull, _psSessionData->szCmd, strlen(_psSessionData->szCmd)); | ^ wrapper.c:335:9: note: length computed here 335 | strncpy(_psSessionData->szCmdFull, _psSessionData->szCmd, strlen(_psSessionData->szCmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c:337:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 337 | strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); | ^ wrapper.c:337:9: note: length computed here 337 | strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c: In function 'go': wrapper.c:147:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 147 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^ wrapper.c:147:7: note: length computed here 147 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c:189:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 189 | strncpy((char *)psSessionData->szCmdParam, pOpt, strlen(pOpt) + 1); | ^ wrapper.c:189:60: note: length computed here 189 | strncpy((char *)psSessionData->szCmdParam, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ wrapper.c:175:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 175 | strncpy((char *)psSessionData->szCmd, pOpt, strlen(pOpt) + 1); | ^ wrapper.c:175:55: note: length computed here 175 | strncpy((char *)psSessionData->szCmd, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o afp.mod afp.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o cvs.mod cvs.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o ftp.mod ftp.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o http.mod http.o ntlm.o http-digest.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o imap.mod imap.o ntlm.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm http.c: In function 'sendAuthDigest': http.c:654:5: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 654 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^ http.c:654:5: note: length computed here 654 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^ http.c:647:5: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 647 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^ http.c:647:5: note: length computed here 647 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^ gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o mssql.mod mssql.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o mysql.mod mysql.o ../medusa-trace.o sha1.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o nntp.mod nntp.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o pcanywhere.mod pcanywhere.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o pop3.mod pop3.o ntlm.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o postgres.mod postgres.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o rdp.mod rdp.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm rdp.c: In function 'tryLogin': rdp.c:517:9: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 517 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ rdp.c:517:9: note: length computed here 517 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ rdp.c:526:9: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 526 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ rdp.c:526:9: note: length computed here 526 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o rexec.mod rexec.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o rlogin.mod rlogin.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o rsh.mod rsh.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o smbnt.mod smbnt.o hmacmd5.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o smtp.mod smtp.o ntlm.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm smbnt.c: In function 'tryLogin': smbnt.c:1896:7: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1896 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ smbnt.c:1896:7: note: length computed here 1896 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ smbnt.c:1927:7: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 1927 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ smbnt.c:1927:7: note: length computed here 1927 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^ gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o smtp-vrfy.mod smtp-vrfy.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o snmp.mod snmp.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o ssh.mod ssh.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o svn.mod svn.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o telnet.mod telnet.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o vmauthd.mod vmauthd.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o vnc.mod vnc.o d3des.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o web-form.mod web-form.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm vnc.c: In function 'sendAuthMSLogin': vnc.c:872:5: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 872 | strncat((char *)ms_user, szLogin, strlen(szLogin)); | ^ vnc.c:872:5: note: length computed here 872 | strncat((char *)ms_user, szLogin, strlen(szLogin)); | ^ gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o wrapper.mod wrapper.o ../medusa-trace.o -lafpclient -lpq -lfreerdp2 -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm wrapper.c: In function 'initModule': wrapper.c:337:9: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 337 | strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); | ^ wrapper.c:337:9: note: length computed here 337 | strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); | ^ make[3]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src/modsrc' make[3]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o listModules.o listModules.c gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o medusa.o medusa.c listModules.c: In function 'listModules': listModules.c:79:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 79 | strncpy( pszTarget, pszDir, strlen(pszDir) ); | ^ listModules.c:79:7: note: length computed here 79 | strncpy( pszTarget, pszDir, strlen(pszDir) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ listModules.c:109:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 109 | strncpy( pszLibName, pszTarget, strlen(pszTarget) ); | ^ listModules.c:109:13: note: length computed here 109 | strncpy( pszLibName, pszTarget, strlen(pszTarget) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ listModules.c:111:13: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 111 | strncat( pszLibName, pdeEntry[j]->d_name, strlen(pdeEntry[j]->d_name) ); | ^ listModules.c:111:13: note: length computed here 111 | strncat( pszLibName, pdeEntry[j]->d_name, strlen(pdeEntry[j]->d_name) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o medusa-thread-pool.o medusa-thread-pool.c medusa.c: In function 'startLoginThreadPool': medusa.c:1583:3: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized] 1583 | inet_ntop (res->ai_family, ptr, _psServer->pHostIP, 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:1539:9: note: 'ptr' was declared here 1539 | void *ptr; | ^~~ medusa.c: In function 'sigint_handler': medusa.c:1964:5: warning: 'strncat' output may be truncated copying 8 bytes from a string of length 10 [-Wstringop-truncation] 1964 | strncat(szResumeMap, szTmp, 8); | ^ medusa.c:1922:7: warning: 'strncat' output may be truncated copying 10 bytes from a string of length 10 [-Wstringop-truncation] 1922 | strncat(szResumeMap, szTmp, 10); | ^ medusa.c:1947:9: warning: 'strncat' output may be truncated copying 10 bytes from a string of length 10 [-Wstringop-truncation] 1947 | strncat(szResumeMap, szTmp, 10); | ^ medusa.c:1935:11: warning: 'strncat' output may be truncated copying 10 bytes from a string of length 10 [-Wstringop-truncation] 1935 | strncat(szResumeMap, szTmp, 10); | ^ medusa.c: In function 'invokeModule': medusa.c:398:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 398 | strncpy(modPath, szModulePaths[i], strlen(szModulePaths[i])); | ^ medusa.c:398:7: note: length computed here 398 | strncpy(modPath, szModulePaths[i], strlen(szModulePaths[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:400:7: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 400 | strncat(modPath, pModuleName, strlen(pModuleName)); | ^ medusa.c:400:7: note: length computed here 400 | strncat(modPath, pModuleName, strlen(pModuleName)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c: In function 'checkOptions': medusa.c:175:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 175 | strncpy(_psAudit->pGlobalUser, optarg, strlen(optarg)); | ^ medusa.c:175:9: note: length computed here 175 | strncpy(_psAudit->pGlobalUser, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:204:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 204 | strncpy(_psAudit->pGlobalPass, optarg, strlen(optarg)); | ^ medusa.c:204:9: note: length computed here 204 | strncpy(_psAudit->pGlobalPass, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:295:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 295 | strncpy(szTempModuleParam, optarg, strlen(optarg)); | ^ medusa.c:295:7: note: length computed here 295 | strncpy(szTempModuleParam, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:147:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 147 | strncpy(_psAudit->pGlobalHost, optarg, strlen(optarg)); | ^ medusa.c:147:9: note: length computed here 147 | strncpy(_psAudit->pGlobalHost, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:323:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 323 | strncpy(_psAudit->pOptResume, optarg, strlen(optarg)); | ^ medusa.c:323:7: note: length computed here 323 | strncpy(_psAudit->pOptResume, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:190:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 190 | strncpy(_psAudit->pOptUser, optarg, strlen(optarg)); | ^ medusa.c:190:9: note: length computed here 190 | strncpy(_psAudit->pOptUser, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:219:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 219 | strncpy(_psAudit->pOptPass, optarg, strlen(optarg)); | ^ medusa.c:219:9: note: length computed here 219 | strncpy(_psAudit->pOptPass, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:231:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 231 | strncpy(_psAudit->pOptOutput, optarg, strlen(optarg)); | ^ medusa.c:231:7: note: length computed here 231 | strncpy(_psAudit->pOptOutput, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:288:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 288 | strncpy(szModuleName, optarg, strlen(optarg)); | ^ medusa.c:288:7: note: length computed here 288 | strncpy(szModuleName, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:161:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 161 | strncpy(_psAudit->pOptHost, optarg, strlen(optarg)); | ^ medusa.c:161:9: note: length computed here 161 | strncpy(_psAudit->pOptHost, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:226:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 226 | strncpy(_psAudit->pOptCombo, optarg, strlen(optarg)); | ^ medusa.c:226:7: note: length computed here 226 | strncpy(_psAudit->pOptCombo, optarg, strlen(optarg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o medusa-thread-ssl.o medusa-thread-ssl.c medusa.c: In function 'findNextUser': medusa.c:829:5: warning: 'pComboTmp' may be used uninitialized [-Wmaybe-uninitialized] 829 | writeError(ERR_DEBUG, "[findNextUser] Combo User: %s", _pUser); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:809:9: note: 'pComboTmp' was declared here 809 | char* pComboTmp; | ^~~~~~~~~ medusa.c: In function 'findLocalPass': medusa.c:903:5: warning: 'pComboTmp' may be used uninitialized [-Wmaybe-uninitialized] 903 | writeError(ERR_DEBUG, "[findLocalPass] pPass: %s", pPass); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:884:9: note: 'pComboTmp' was declared here 884 | char *pComboTmp; | ^~~~~~~~~ medusa.c: In function 'loadLoginInfo': medusa.c:962:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 962 | strncpy(psHost->pHost, pHost, strlen(pHost) + 1); | ^ medusa.c:962:37: note: length computed here 962 | strncpy(psHost->pHost, pHost, strlen(pHost) + 1); | ^~~~~~~~~~~~~ medusa.c:1006:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1006 | strncpy(psUser->pUser, pUser, strlen(pUser)); | ^ medusa.c:1006:9: note: length computed here 1006 | strncpy(psUser->pUser, pUser, strlen(pUser)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:1030:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1030 | strncpy(psPass->pPass, pPass, strlen(pPass)); | ^ medusa.c:1030:9: note: length computed here 1030 | strncpy(psPass->pPass, pPass, strlen(pPass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o medusa-net.o medusa-net.c medusa.c: In function 'addMissedCredSet': medusa.c:1482:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1482 | strncpy(psCredSetMissed->pPass, _psCredSet->pPass, strlen(_psCredSet->pPass)); | ^ medusa.c:1482:3: note: length computed here 1482 | strncpy(psCredSetMissed->pPass, _psCredSet->pPass, strlen(_psCredSet->pPass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa-net.c: In function 'sslTempRSACallback': medusa-net.c:331:5: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 331 | RSA_generate_key_ex(rsa, 512, (BIGNUM*) RSA_F4, NULL); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from medusa-net.c:43: /usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ medusa-net.c: In function 'medusaConnectSSLInternal': medusa-net.c:363:5: warning: 'TLSv1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 363 | sslContext = SSL_CTX_new(TLSv1_client_method()); | ^~~~~~~~~~ /usr/include/openssl/ssl.h:2022:50: note: declared here 2022 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2/ -I/usr/include/winpr2 -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -c -o medusa-utils.o medusa-utils.c gcc -Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fcommon -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -L/usr//lib -rdynamic -o medusa listModules.o medusa.o medusa-thread-pool.o medusa-thread-ssl.o medusa-net.o medusa-trace.o medusa-utils.o -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm listModules.c: In function 'listModules': listModules.c:111:13: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 111 | strncat( pszLibName, pdeEntry[j]->d_name, strlen(pdeEntry[j]->d_name) ); | ^ listModules.c:111:13: note: length computed here 111 | strncat( pszLibName, pdeEntry[j]->d_name, strlen(pdeEntry[j]->d_name) ); | ^ medusa.c: In function 'invokeModule': medusa.c:400:7: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 400 | strncat(modPath, pModuleName, strlen(pModuleName)); | ^ medusa.c:400:7: note: length computed here 400 | strncat(modPath, pModuleName, strlen(pModuleName)); | ^ make[3]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src' make[2]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src' make[2]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7' make[2]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7' make[1]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sILpU5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd medusa-292193b3995444aede53ff873899640b08129fc7 + export 'CPPFLAGS=-Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CPPFLAGS='-Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export 'CFLAGS=-Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CFLAGS='-Doff64_t=__off64_t -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + make DESTDIR=/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64 install Making install in src make[1]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src' Making install in modsrc make[2]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src/modsrc' make[3]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src/modsrc' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules' /usr/bin/install -c afp.mod cvs.mod ftp.mod http.mod imap.mod mssql.mod mysql.mod nntp.mod pcanywhere.mod pop3.mod postgres.mod rdp.mod rexec.mod rlogin.mod rsh.mod smbnt.mod smtp.mod smtp-vrfy.mod snmp.mod ssh.mod svn.mod telnet.mod vmauthd.mod vnc.mod web-form.mod wrapper.mod '/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules' make[3]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src/modsrc' make[2]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src/modsrc' make[2]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src' make[3]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/bin' /usr/bin/install -c medusa '/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src' make[2]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src' make[1]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7/src' make[1]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7' make[2]: Entering directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 doc/medusa.1 '/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7' make[1]: Leaving directory '/builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.2-21.20181216git292193b.fc38 --unique-debug-suffix -2.2-21.20181216git292193b.fc38.x86_64 --unique-debug-src-base medusa-2.2-21.20181216git292193b.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7 extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/bin/medusa extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/afp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/cvs.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/ftp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/http.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/imap.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/mysql.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/mssql.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/nntp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/pcanywhere.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/pop3.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/postgres.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/rdp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/rexec.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/rlogin.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/rsh.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/smbnt.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/smtp-vrfy.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/smtp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/snmp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/ssh.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/svn.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/telnet.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/vmauthd.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/vnc.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/web-form.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/lib64/medusa/modules/wrapper.mod original debug info size: 2280kB, size after compression: 1964kB /usr/bin/sepdebugcrcfix: Updated 27 CRC32s, 0 CRC32s did match. 1763 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: medusa-2.2-21.20181216git292193b.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pSRet9 + umask 022 + cd /builddir/build/BUILD + cd medusa-292193b3995444aede53ff873899640b08129fc7 + DOCDIR=/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/share/doc/medusa + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/share/doc/medusa + cp -pr AUTHORS /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/share/doc/medusa + cp -pr COPYING /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/share/doc/medusa + cp -pr ChangeLog /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/share/doc/medusa + cp -pr README /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/share/doc/medusa + cp -pr TODO /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64/usr/share/doc/medusa + RPM_EC=0 ++ jobs -p + exit 0 Provides: medusa = 2.2-21.20181216git292193b.fc38 medusa(x86-64) = 2.2-21.20181216git292193b.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libafpclient.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libfreerdp2.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpq.so.5()(64bit) libpq.so.5(RHPG_9.6)(64bit) libssh2.so.1()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libsvn_client-1.so.0()(64bit) rtld(GNU_HASH) Processing files: medusa-debugsource-2.2-21.20181216git292193b.fc38.x86_64 Provides: medusa-debugsource = 2.2-21.20181216git292193b.fc38 medusa-debugsource(x86-64) = 2.2-21.20181216git292193b.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: medusa-debuginfo-2.2-21.20181216git292193b.fc38.x86_64 Provides: debuginfo(build-id) = 1f4311b2acdd392f0a2f17fb39d55fe5d9df5f5a debuginfo(build-id) = 22fbaecf23ef9159cad6245567b796da451c63ac debuginfo(build-id) = 274cbfe1471b82ed8c889ddd45546f45936819ef debuginfo(build-id) = 341a7254aed4b47e26ee2e2668c12578c933cd70 debuginfo(build-id) = 37aad279dbd99a6a66d6d00eec557a8149f3fcda debuginfo(build-id) = 3a1abc3ebc185382bfd67132a822f991b52e548b debuginfo(build-id) = 42064fa318328b3531f108c21f8c3d90cc4091ee debuginfo(build-id) = 4b5acd0c695f4088620162a6c6a36b1fcf871f62 debuginfo(build-id) = 6482771823077b96a4cd62fb9bc22fff7998f29d debuginfo(build-id) = 69ce4adc3b20997ccb90acdabfe833a93b35a331 debuginfo(build-id) = 82fcb191381e7b7481f3510a371cba0ab8c6f80e debuginfo(build-id) = 83ec1cd4d2ea21c9acac7a644dc0c315481f27dd debuginfo(build-id) = 8b4fab04825be77dd17bc31dfbda99c5be07474e debuginfo(build-id) = 8e7a9e3209666f1f88a17e75840fd76018dea907 debuginfo(build-id) = 9e7be2e2946da58d554da193d5a090ddce8c8c7c debuginfo(build-id) = 9eb0b92e7eb44b9dff31ea61dc19650812172673 debuginfo(build-id) = c8c0836fd18a7d1b385fddd94643cd6f7ce09233 debuginfo(build-id) = d025f3aaa723c24cd73dadb87e12778ed01ee899 debuginfo(build-id) = d685ccc5b2dae2b3d7a31e631ad3b173a181d092 debuginfo(build-id) = e3d16e65e3379fd31330e3b767b8b26c7ea5e8e4 debuginfo(build-id) = ebb973ceb51e0bdd5bf0e75ea5075b7c479c85ff debuginfo(build-id) = f1ff01996bc0343fb764f8189fe5a0265aec76cd debuginfo(build-id) = f24a98113ed73de3ad62cedd8063a53f4546100c debuginfo(build-id) = f2b7f46bccf1115aba4885b3cb94d9a51fba9a49 debuginfo(build-id) = f45f9e0fd1984e500a9da51019faa472309dfa9b debuginfo(build-id) = f7c59b616844228c66cb774ffc393c6f42193ee0 debuginfo(build-id) = fc425429377c82e4d1f52356771feb857e87e9b8 medusa-debuginfo = 2.2-21.20181216git292193b.fc38 medusa-debuginfo(x86-64) = 2.2-21.20181216git292193b.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: medusa-debugsource(x86-64) = 2.2-21.20181216git292193b.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64 Wrote: /builddir/build/RPMS/medusa-2.2-21.20181216git292193b.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/medusa-debuginfo-2.2-21.20181216git292193b.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/medusa-debugsource-2.2-21.20181216git292193b.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.P58HuM + umask 022 + cd /builddir/build/BUILD + cd medusa-292193b3995444aede53ff873899640b08129fc7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.AmmuwW + umask 022 + cd /builddir/build/BUILD + rm -rf medusa-292193b3995444aede53ff873899640b08129fc7 medusa-292193b3995444aede53ff873899640b08129fc7.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0