Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/medusa.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-146557-9336/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1660521600 Wrote: /builddir/build/SRPMS/medusa-2.2-21.20181216git292193b.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/medusa.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-146557-9336/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1660521600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ubNDoC + 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.NK8VFy + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 2023-01-24 05:22:03.634745586 -0500 +++ ./configure 2023-01-24 05:22:32.854735836 -0500 @@ -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 + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-module-afp=yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-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 riscv64-koji-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 riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/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 -j8 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o cvs.o cvs.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o http.o http.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o ntlm.o ntlm.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o http-digest.o http-digest.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o imap.o imap.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o mssql.o mssql.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); | ^~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o mysql.o mysql.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o sha1.o sha1.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o nntp.o nntp.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o pcanywhere.o pcanywhere.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])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ()); | ~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o pop3.o pop3.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 ()); | ~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o postgres.o postgres.c 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); | ^~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o rdp.o rdp.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o rexec.o rexec.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); | ^~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o rlogin.o rlogin.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])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:22: 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); | ^~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o rsh.o rsh.c 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o smbnt.o smbnt.c 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o hmacmd5.o hmacmd5.c 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o smtp.o smtp.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o smtp-vrfy.o smtp-vrfy.c 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:29: 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o snmp.o snmp.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o ssh.o ssh.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; | ^~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o svn.o svn.c 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, | ^~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~ rsh.c: In function 'tryLogin': smbnt.c:808:5: warning: 'MD4_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 808 | MD4_Init(&md4Context); | ^~~~~~~~ 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)); | ^ /usr/include/openssl/md4.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c); | ^~~~~~~~ rsh.c:230:3: note: length computed here 230 | strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:809:5: warning: 'MD4_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 809 | MD4_Update(&md4Context, unicodePassword, mdlen); | ^~~~~~~~~~ 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)); | ^ /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); | ^~~~~~~~~~ rsh.c:232:29: note: length computed here 232 | strncpy((char *)bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~ 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); | ^~~~~~~~~ rdp.c: In function 'initModule': rdp.c:283:9: warning: 'instance' may be used uninitialized [-Wmaybe-uninitialized] 283 | freerdp_free(instance); | ^~~~~~~~~~~~~~~~~~~~~~ rdp.c:204:12: note: 'instance' was declared here 204 | freerdp* instance; | ^~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o telnet.o telnet.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o vmauthd.o vmauthd.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); | ^ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c: In function 'HashLM': smbnt.c:690:5: warning: 'strncpy' output may be truncated copying 14 bytes from a string of length 15 [-Wstringop-truncation] 690 | strncpy((char *)password, (char *)pass, 14); | ^ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.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:30: 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); | ^~~~ 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 '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, | ^~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o vnc.o vnc.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o d3des.o d3des.c 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])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o web-form.o web-form.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o wrapper.o wrapper.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o ../medusa-trace.o ../medusa-trace.c 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^ 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); | ^~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 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); | ^~~~~~~~~~~~ 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); | ^ 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 -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 -fasynchronous-unwind-tables -fstack-clash-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 vnc.c: In function 'go': 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 -fasynchronous-unwind-tables -fstack-clash-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 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 rdp.c: In function 'tryLogin': 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)); | ^ 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)); | ^ 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)); | ^ 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)); | ^ http.c:647:5: note: length computed here 647 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 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 -fasynchronous-unwind-tables -fstack-clash-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)); | ^ 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)); | ^ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o medusa.o medusa.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o medusa-thread-pool.o medusa-thread-pool.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o medusa-thread-ssl.o medusa-thread-ssl.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o medusa-net.o medusa-net.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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -c -o medusa-utils.o medusa-utils.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) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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.F3EqmG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64 + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection' + make DESTDIR=/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64 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.fc37.riscv64/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.fc37.riscv64/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.fc37.riscv64/usr/bin' /usr/bin/install -c medusa '/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/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.fc37.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 doc/medusa.1 '/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/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 -j8 --strict-build-id -m -i --build-id-seed 2.2-21.20181216git292193b.fc37 --unique-debug-suffix -2.2-21.20181216git292193b.fc37.riscv64 --unique-debug-src-base medusa-2.2-21.20181216git292193b.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/medusa-292193b3995444aede53ff873899640b08129fc7 extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/bin/medusa extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/ftp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/http.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/cvs.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/afp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/mssql.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/imap.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/mysql.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/nntp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/pcanywhere.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/pop3.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/postgres.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/rdp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/rexec.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/rlogin.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/rsh.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/smbnt.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/smtp-vrfy.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/smtp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/snmp.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/ssh.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/svn.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/telnet.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/vmauthd.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/vnc.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/web-form.mod extracting debug info from /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/lib64/medusa/modules/wrapper.mod original debug info size: 5232kB, size after compression: 4932kB /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.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ea2JlQ + umask 022 + cd /builddir/build/BUILD + cd medusa-292193b3995444aede53ff873899640b08129fc7 + DOCDIR=/builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/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.fc37.riscv64/usr/share/doc/medusa + cp -pr AUTHORS /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/share/doc/medusa + cp -pr COPYING /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/share/doc/medusa + cp -pr ChangeLog /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/share/doc/medusa + cp -pr README /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/share/doc/medusa + cp -pr TODO /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64/usr/share/doc/medusa + RPM_EC=0 ++ jobs -p + exit 0 Provides: medusa = 2.2-21.20181216git292193b.fc37 medusa(riscv-64) = 2.2-21.20181216git292193b.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libafpclient.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(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.27)(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.fc37.riscv64 Provides: medusa-debugsource = 2.2-21.20181216git292193b.fc37 medusa-debugsource(riscv-64) = 2.2-21.20181216git292193b.fc37 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.fc37.riscv64 Provides: debuginfo(build-id) = 06b3caa5fbf46dea7585c612879a655ffd9aa753 debuginfo(build-id) = 086b065e70f909ae7d1a63ddb8016dc8b02e7f2f debuginfo(build-id) = 1860d0cf25f86f6f0361090fa726562cdcabaa50 debuginfo(build-id) = 1b148378c62ddd141b5d7836008bc27011e669da debuginfo(build-id) = 1f42196f4809dbad8dd79d0e166c3ecff2c317c5 debuginfo(build-id) = 2b9857acdc284b6b5fa0f3c032002632507bd547 debuginfo(build-id) = 2bb939c9b6f9e3ad3929806a5c3c03d3e61154e4 debuginfo(build-id) = 2bd8dd7d1fc777761e52e10519b5b41c51a2798c debuginfo(build-id) = 35947f23ba3dfcac0f8e029248b003f3d29beea8 debuginfo(build-id) = 3c4c3f9aa7be97b75f9b717f971da6d36057a7d9 debuginfo(build-id) = 3cc0fbc4550c0f811b46cf1c0b3cadd619b892d1 debuginfo(build-id) = 52a390e2d37970b1646ec274ec163c8e3eb5fe62 debuginfo(build-id) = 54b9d9d1545035a3f2f7fe7e746b59fcf040ae93 debuginfo(build-id) = 60701617310306f7a28c3899d4f51067269a7e5b debuginfo(build-id) = 6b97ed7792be77dc57d169d73a3ad3d501efc76f debuginfo(build-id) = 6d1b3d38a8499b8a4bd98eebeaa1e50515e21902 debuginfo(build-id) = 832b6251e47c86a94a3b7cb587ec7dad8ca5d180 debuginfo(build-id) = 9a59c3b749e8a261fe3d60bdb6ffd1416b396a32 debuginfo(build-id) = a2dff11b04e75aad2cee4ae97ea2990e75ef293a debuginfo(build-id) = c853a6160556ad3c0243f0ee26743db36b3a13cf debuginfo(build-id) = cb9bc6c3b6f0acdaece36e6f0272cd12ab558a7a debuginfo(build-id) = d3cb0b33478d0453fee45aeff4c2ca63974828db debuginfo(build-id) = e10bbe4383ada41378296962024b66a4cfec0e67 debuginfo(build-id) = e4c4fa53e61a3c29a4f64d8c859584959f10f7dc debuginfo(build-id) = e82e49dc3972b9bd1d0182eabb06d1c85ab3ddd7 debuginfo(build-id) = f077e6210f771701111bd17ad8acfb20642d9bfc debuginfo(build-id) = f2853288a0c97614fdac5445053c1643d2566232 medusa-debuginfo = 2.2-21.20181216git292193b.fc37 medusa-debuginfo(riscv-64) = 2.2-21.20181216git292193b.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: medusa-debugsource(riscv-64) = 2.2-21.20181216git292193b.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64 Wrote: /builddir/build/RPMS/medusa-2.2-21.20181216git292193b.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/medusa-debugsource-2.2-21.20181216git292193b.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/medusa-debuginfo-2.2-21.20181216git292193b.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GEVuIQ + umask 022 + cd /builddir/build/BUILD + cd medusa-292193b3995444aede53ff873899640b08129fc7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/medusa-2.2-21.20181216git292193b.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Yeol75 + 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