------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/openssl-1.1.1d,1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor Installing /packages/All/libssh2-1.8.2,3.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> medusa-2.2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> medusa-2.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by medusa-2.2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> medusa-2.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by medusa-2.2 for building => SHA256 Checksum OK for medusa-2.2.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> medusa-2.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by medusa-2.2 for building ===> Extracting for medusa-2.2 => SHA256 Checksum OK for medusa-2.2.tar.gz. Extracted Memory Use: 1.98M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for medusa-2.2 ===> Applying ports patches for medusa-2.2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> medusa-2.2 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> medusa-2.2 depends on shared library: libssh2.so - found (/usr/local/lib/libssh2.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> medusa-2.2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> medusa-2.2 depends on shared library: libssh2.so - found (/usr/local/lib/libssh2.so) ===> Configuring for medusa-2.2 configure: loading site script /xports/Templates/config.site checking build system type... x86_64-portbld-dragonfly5.9 checking host system type... x86_64-portbld-dragonfly5.9 checking target system type... x86_64-portbld-dragonfly5.9 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... cc 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 we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes 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... (cached) yes configure: checking for OpenSSL Library and Header files... checking /usr//include/openssl/ssh.h... not found checking /usr/ssl/include/openssl/ssh.h... not found checking /usr/openssl/include/openssl/ssh.h... not found checking /usr/local//include/openssl/ssh.h... found checking for CRYPTO_lock in -lcrypto... no configure: WARNING: *** LibCrypto may be required for *BSD *** checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for main in -lssl... yes configure: *** Checking module dependencies and enabling accordingly *** configure: checking for AFPFS-NG Library and Header files... checking afpfs-ng/afp_protocol.h usability... no checking afpfs-ng/afp_protocol.h presence... no checking for afpfs-ng/afp_protocol.h... no configure: WARNING: *** AFPFS-NG header files required for AFP module. *** The AFPFS-NG package must be installed for the AFP module to function. This includes both the library and header files. AFPFS-NG is available at the following site: http://alexthepuffin.googlepages.com/. The AFP module will NOT be built. checking whether to enable AFP module... no 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 ncp/nwcalls.h usability... no checking ncp/nwcalls.h presence... no 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 libpq-fe.h usability... no checking libpq-fe.h presence... no checking for libpq-fe.h... no configure: WARNING: *** LIBPQ header files required for PostgreSQL module. *** The PostgreSQL package must be installed for PostgreSQL module to function. This includes both the library and header files. Your distribution may offer a package such as libpq-devel or postgresql-devel, which will provide these files. checking whether to enable POSTGRES module... no configure: checking for FreeRDP Library and Header files... checking freerdp/freerdp.h usability... no checking freerdp/freerdp.h presence... no checking for freerdp/freerdp.h... no configure: WARNING: *** FreeRDP header files required for RDP module. *** The FreeRDP package must be installed for RDP module to function. This includes both the library and header files. Your distribution may offer packages such as freerdp and libfreerdp-dev, which will provide these files. checking whether to enable RDP module... no 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... no checking for apr-config... no configure: WARNING: *** apr-config/apr-1-config not found and required for SVN module *** Make sure to install libapr1-dev or whatever package your distribution uses to distribute this file. checking whether to enable SVN module... no 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 ** Disabled ** 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 ** Disabled ** configure: RDP ** Disabled ** 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 ** Disabled ** 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... (cached) yes checking for asprintf... (cached) yes checking for vasprintf... (cached) 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 SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for medusa-2.2 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- all-recursive --- Making all in modsrc --- ../.dirstamp --- --- ../.deps/.dirstamp --- --- cvs.o --- --- ftp.o --- --- http.o --- --- ntlm.o --- --- http-digest.o --- --- imap.o --- --- mssql.o --- --- mysql.o --- --- cvs.o --- depbase=`echo cvs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT cvs.o -MD -MP -MF $depbase.Tpo -c -o cvs.o cvs.c && mv -f $depbase.Tpo $depbase.Po --- ftp.o --- depbase=`echo ftp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT ftp.o -MD -MP -MF $depbase.Tpo -c -o ftp.o ftp.c && mv -f $depbase.Tpo $depbase.Po --- http.o --- depbase=`echo http.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT http.o -MD -MP -MF $depbase.Tpo -c -o http.o http.c && mv -f $depbase.Tpo $depbase.Po --- ntlm.o --- depbase=`echo ntlm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT ntlm.o -MD -MP -MF $depbase.Tpo -c -o ntlm.o ntlm.c && mv -f $depbase.Tpo $depbase.Po --- mssql.o --- depbase=`echo mssql.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT mssql.o -MD -MP -MF $depbase.Tpo -c -o mssql.o mssql.c && mv -f $depbase.Tpo $depbase.Po --- http-digest.o --- depbase=`echo http-digest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT http-digest.o -MD -MP -MF $depbase.Tpo -c -o http-digest.o http-digest.c && mv -f $depbase.Tpo $depbase.Po --- mysql.o --- depbase=`echo mysql.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT mysql.o -MD -MP -MF $depbase.Tpo -c -o mysql.o mysql.c && mv -f $depbase.Tpo $depbase.Po --- sha1.o --- --- imap.o --- depbase=`echo imap.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT imap.o -MD -MP -MF $depbase.Tpo -c -o imap.o imap.c && mv -f $depbase.Tpo $depbase.Po --- sha1.o --- depbase=`echo sha1.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT sha1.o -MD -MP -MF $depbase.Tpo -c -o sha1.o sha1.c && mv -f $depbase.Tpo $depbase.Po --- nntp.o --- depbase=`echo nntp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT nntp.o -MD -MP -MF $depbase.Tpo -c -o nntp.o nntp.c && mv -f $depbase.Tpo $depbase.Po --- http.o --- http.c: In function 'sendAuthDigest': http.c:653:5: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat(szURI, "/", 1); ^~~~~~~~~~~~~~~~~~~~~~ --- pcanywhere.o --- depbase=`echo pcanywhere.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT pcanywhere.o -MD -MP -MF $depbase.Tpo -c -o pcanywhere.o pcanywhere.c && mv -f $depbase.Tpo $depbase.Po --- cvs.o --- cvs.c: In function 'tryLogin': cvs.c:315:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(szPassTmp, szPassword, strlen(szPassword)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pop3.o --- depbase=`echo pop3.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT pop3.o -MD -MP -MF $depbase.Tpo -c -o pop3.o pop3.c && mv -f $depbase.Tpo $depbase.Po --- cvs.o --- cvs.c: In function 'go': cvs.c:123:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cvs.c:137:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)psSessionData->szDir, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pop3.o --- pop3.c: In function 'sendAuthLOGIN': pop3.c:627:3: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] strncat((char*)bufSend, "\r\n", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:659:3: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] strncat((char*)bufSend, "\r\n", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- rexec.o --- depbase=`echo rexec.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT rexec.o -MD -MP -MF $depbase.Tpo -c -o rexec.o rexec.c && mv -f $depbase.Tpo $depbase.Po --- mysql.o --- mysql.c: In function 'MySQLPrepareAuthOld': --- http.o --- http.c:654:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 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=] strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- mysql.o --- mysql.c:490:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char*)response + 9, szLogin, login_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c:466:19: note: length computed here int login_len = strlen(szLogin) > 16 ? 16 : strlen(szLogin); ^~~~~~~~~~~~~~~ --- rlogin.o --- depbase=`echo rlogin.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT rlogin.o -MD -MP -MF $depbase.Tpo -c -o rlogin.o rlogin.c && mv -f $depbase.Tpo $depbase.Po --- mysql.o --- mysql.c: In function 'MySQLPrepareAuth': mysql.c:567:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char*)response + 36, szLogin, login_len); /* NULL terminated username */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c:532:19: note: length computed here int login_len = strlen(szLogin) > 16 ? 16 : strlen(szLogin); ^~~~~~~~~~~~~~~ --- ftp.o --- ftp.c: In function 'go': ftp.c:152:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pcanywhere.o --- pcanywhere.c: In function 'pcaUserAuth': pcanywhere.c:372:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(szTmp, szDomain, strlen(szDomain)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcanywhere.c:374:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(szTmp + strlen(szDomain) + 1, szLogin, strlen(szLogin)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pop3.o --- pop3.c: In function 'sendAuthPLAIN': pop3.c:543:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(szTmpBuf, szLogin, strlen(szLogin)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:544:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 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-overflow=] strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- imap.o --- imap.c: In function 'go': imap.c:156:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:200:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:170:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psSessionData->szTag, pOpt, strlen(pOpt) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:170:47: note: length computed here strncpy(psSessionData->szTag, pOpt, strlen(pOpt) + 1); ^~~~~~~~~~~~ --- rsh.o --- depbase=`echo rsh.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT rsh.o -MD -MP -MF $depbase.Tpo -c -o rsh.o rsh.c && mv -f $depbase.Tpo $depbase.Po --- rlogin.o --- rlogin.c: In function 'tryLogin': rlogin.c:225:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c:227:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)bufSend+2+strlen(szLogin), szLogin, strlen(szLogin)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- smbnt.o --- depbase=`echo smbnt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT smbnt.o -MD -MP -MF $depbase.Tpo -c -o smbnt.o smbnt.c && mv -f $depbase.Tpo $depbase.Po --- rexec.o --- rexec.c: In function 'tryLogin': rexec.c:227:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexec.c:229:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- mysql.o --- mysql.c: In function 'go': mysql.c:149:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- hmacmd5.o --- depbase=`echo hmacmd5.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT hmacmd5.o -MD -MP -MF $depbase.Tpo -c -o hmacmd5.o hmacmd5.c && mv -f $depbase.Tpo $depbase.Po --- smtp.o --- depbase=`echo smtp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT smtp.o -MD -MP -MF $depbase.Tpo -c -o smtp.o smtp.c && mv -f $depbase.Tpo $depbase.Po --- smtp-vrfy.o --- --- pcanywhere.o --- pcanywhere.c: In function 'go': pcanywhere.c:145:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- smtp-vrfy.o --- depbase=`echo smtp-vrfy.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT smtp-vrfy.o -MD -MP -MF $depbase.Tpo -c -o smtp-vrfy.o smtp-vrfy.c && mv -f $depbase.Tpo $depbase.Po --- pop3.o --- pop3.c: In function 'go': pop3.c:145:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:189:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- http.o --- http.c: In function 'go': http.c:151:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:229:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:197:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psSessionData->szCustomHeader + nCustomHeadersSize, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:179:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psSessionData->szUserAgent, pOpt, strlen(pOpt) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:179:53: note: length computed here strncpy(psSessionData->szUserAgent, pOpt, strlen(pOpt) + 1); ^~~~~~~~~~~~ http.c:165:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psSessionData->szDir, pOpt, strlen(pOpt) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:165:47: note: length computed here strncpy(psSessionData->szDir, pOpt, strlen(pOpt) + 1); ^~~~~~~~~~~~ --- rsh.o --- rsh.c: In function 'tryLogin': rsh.c:230:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsh.c:232:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- snmp.o --- depbase=`echo snmp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT snmp.o -MD -MP -MF $depbase.Tpo -c -o snmp.o snmp.c && mv -f $depbase.Tpo $depbase.Po --- ssh.o --- depbase=`echo ssh.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT ssh.o -MD -MP -MF $depbase.Tpo -c -o ssh.o ssh.c && mv -f $depbase.Tpo $depbase.Po --- telnet.o --- depbase=`echo telnet.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT telnet.o -MD -MP -MF $depbase.Tpo -c -o telnet.o telnet.c && mv -f $depbase.Tpo $depbase.Po --- vmauthd.o --- depbase=`echo vmauthd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT vmauthd.o -MD -MP -MF $depbase.Tpo -c -o vmauthd.o vmauthd.c && mv -f $depbase.Tpo $depbase.Po --- smtp.o --- smtp.c: In function 'sendAuthLOGIN': smtp.c:631:3: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] strncat((char *)bufSend, "\r\n", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c:674:3: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] strncat((char *)bufSend, "\r\n", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- vnc.o --- --- d3des.o --- --- vnc.o --- depbase=`echo vnc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT vnc.o -MD -MP -MF $depbase.Tpo -c -o vnc.o vnc.c && mv -f $depbase.Tpo $depbase.Po --- d3des.o --- depbase=`echo d3des.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT d3des.o -MD -MP -MF $depbase.Tpo -c -o d3des.o d3des.c && mv -f $depbase.Tpo $depbase.Po --- telnet.o --- telnet.c: In function 'initModule': telnet.c:277:67: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (strcasestr((char *)bufReceive, (char *)"Sign On") != '\0') ^~ telnet.c:277:17: note: did you mean to dereference the pointer? if (strcasestr((char *)bufReceive, (char *)"Sign On") != '\0') ^ telnet.c:306:74: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') ^~ telnet.c:306:19: note: did you mean to dereference the pointer? if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') ^ telnet.c:318:72: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') ^~ telnet.c:318:19: note: did you mean to dereference the pointer? if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') ^ --- ssh.o --- ssh.c: In function 'response_callback': ssh.c:424:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(responses[i].text, pPass, strlen(pPass)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- telnet.o --- telnet.c: In function 'tryLogin': telnet.c:482:66: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') ^~ telnet.c:482:13: note: did you mean to dereference the pointer? if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') ^ telnet.c:494:70: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') ^~ telnet.c:494:15: note: did you mean to dereference the pointer? if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') ^ telnet.c:582:70: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') ^~ telnet.c:582:15: note: did you mean to dereference the pointer? if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') ^ telnet.c:597:68: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') ^~ telnet.c:597:15: note: did you mean to dereference the pointer? if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') ^ --- vnc.o --- vnc.c: In function 'sendAuthMSLogin': vnc.c:871:5: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat((char *)ms_user, "\\", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- smbnt.o --- smbnt.c: In function 'parseFullyQualifiedUsername': smbnt.c:560:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(szUser, szLogin, strlen(szLogin)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:539:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, szLogin, strlen(szLogin)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:549:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(szUser, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- web-form.o --- depbase=`echo web-form.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT web-form.o -MD -MP -MF $depbase.Tpo -c -o web-form.o web-form.c && mv -f $depbase.Tpo $depbase.Po --- smtp.o --- smtp.c: In function 'sendAuthPLAIN': smtp.c:529:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)szTmpBuf, szLogin, strlen((char *)szLogin)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c:530:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 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-overflow=] strncpy((char *)szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- smtp-vrfy.o --- smtp-vrfy.c: In function 'go': smtp-vrfy.c:149:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp-vrfy.c:195:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *) psSessionData->szMAILFROM, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp-vrfy.c:182:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *) psSessionData->szHELO, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ssh.o --- ssh.c: In function 'go': ssh.c:136:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssh.c:146:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *) psSessionData->szBannerMsg, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- snmp.o --- snmp.c: In function 'sendWrite': snmp.c:677:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)bufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w), szLocation, strlen(szLocation)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- telnet.o --- telnet.c: In function 'tryLoginAS400': telnet.c:764:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:754:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:744:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:734:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:711:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:701:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c:691:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- wrapper.o --- depbase=`echo wrapper.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT wrapper.o -MD -MP -MF $depbase.Tpo -c -o wrapper.o wrapper.c && mv -f $depbase.Tpo $depbase.Po --- ../medusa-trace.o --- depbase=`echo ../medusa-trace.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT ../medusa-trace.o -MD -MP -MF $depbase.Tpo -c -o ../medusa-trace.o ../medusa-trace.c && mv -f $depbase.Tpo $depbase.Po --- wrapper.o --- wrapper.c: In function 'initModule': wrapper.c:336:9: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat(_psSessionData->szCmdFull, " ", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c:338:9: warning: 'strncat' specified bound 5 equals source length [-Wstringop-overflow=] strncat(_psSessionData->szCmdFull, " 1>&2", 5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- vnc.o --- vnc.c:870:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)ms_user, _psSessionData->szDomain, strlen(_psSessionData->szDomain)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vnc.c:868:38: note: length computed here if ((_psSessionData->szDomain) && (strlen(_psSessionData->szDomain) + 1 + strlen(szLogin) < 256)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vnc.c:872:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncat((char *)ms_user, szLogin, strlen(szLogin)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ../medusa-trace.o --- ../medusa-trace.c: In function 'writeError': ../medusa-trace.c:184:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr, "DEBUG [%X]: ", (int)pthread_self()); ^ ../medusa-trace.c:187:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr, "DEBUG AUDIT [%X]: ", (int)pthread_self()); ^ ../medusa-trace.c:190:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr, "DEBUG SERVER [%X]: ", (int)pthread_self()); ^ ../medusa-trace.c:193:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr, "DEBUG MODULE [%X]: ", (int)pthread_self()); ^ ../medusa-trace.c:196:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stdout, "UNKNOWN ERROR [%X]: ", (int)pthread_self()); ^ --- snmp.o --- snmp.c: In function 'go': snmp.c:167:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- smtp.o --- smtp.c: In function 'go': smtp.c:147:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c:190:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *) psSessionData->szEHLO, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c:177:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- web-form.o --- web-form.c: In function 'initModule': web-form.c:356:15: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psSessionData->szFormUser, pTemp, strlen(pTemp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:364:15: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psSessionData->szFormPass, pTemp, strlen(pTemp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:372:15: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psSessionData->szFormRest, pTemp, strlen(pTemp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- wrapper.o --- wrapper.c:275:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 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-overflow=] 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-overflow=] 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-overflow=] 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=] strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- cvs.mod --- --- ftp.mod --- --- http.mod --- --- imap.mod --- --- mssql.mod --- --- cvs.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o cvs.mod cvs.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- ftp.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o ftp.mod ftp.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- imap.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o imap.mod imap.o ntlm.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- mssql.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o mssql.mod mssql.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- web-form.o --- web-form.c: In function 'go': web-form.c:148:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- vnc.o --- vnc.c: In function 'go': vnc.c:160:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vnc.c:184:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- web-form.o --- web-form.c:229:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psSessionData->szCustomHeader + oldSize, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:220:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psSessionData->szCustomHeader, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:204:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psSessionData->szUserAgent, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:190:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psSessionData->szFormData, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:176:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psSessionData->szDenySignal, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c:162:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psSessionData->szDir, pOpt, strlen(pOpt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- http.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o http.mod http.o ntlm.o http-digest.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- wrapper.o --- wrapper.c: In function 'go': wrapper.c:147:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c:189:11: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)psSessionData->szCmdParam, pOpt, strlen(pOpt) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c:189:60: note: length computed here 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-overflow=] strncpy((char *)psSessionData->szCmd, pOpt, strlen(pOpt) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c:175:55: note: length computed here strncpy((char *)psSessionData->szCmd, pOpt, strlen(pOpt) + 1); ^~~~~~~~~~~~ --- mysql.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o mysql.mod mysql.o ../medusa-trace.o sha1.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- nntp.mod --- --- pcanywhere.mod --- --- nntp.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o nntp.mod nntp.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- pcanywhere.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o pcanywhere.mod pcanywhere.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- pop3.mod --- --- rexec.mod --- --- rlogin.mod --- --- pop3.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o pop3.mod pop3.o ntlm.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- rexec.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o rexec.mod rexec.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- rlogin.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o rlogin.mod rlogin.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- rsh.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o rsh.mod rsh.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- smtp-vrfy.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o smtp-vrfy.mod smtp-vrfy.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- smtp.mod --- --- snmp.mod --- --- smtp.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o smtp.mod smtp.o ntlm.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- snmp.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o snmp.mod snmp.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- ssh.mod --- --- vmauthd.mod --- --- wrapper.mod --- --- ssh.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o ssh.mod ssh.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- vmauthd.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o vmauthd.mod vmauthd.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- vnc.mod --- --- web-form.mod --- --- wrapper.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o wrapper.mod wrapper.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- web-form.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o web-form.mod web-form.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- vnc.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o vnc.mod vnc.o d3des.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- telnet.o --- telnet.c: In function 'go': telnet.c:155:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- smbnt.o --- smbnt.c: In function 'tryLogin': smbnt.c:1895:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:1896:7: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:1926:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c:1927:7: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- telnet.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o telnet.mod telnet.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- smbnt.o --- smbnt.c: In function 'go': smbnt.c:293:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pOptTmp, argv[i], strlen(argv[i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- smbnt.mod --- cc -pipe -O2 -fno-strict-aliasing -fPIC -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//lib -rdynamic -o smbnt.mod smbnt.o hmacmd5.o ../medusa-trace.o -lssh2 -shared -ldl -lpthread -lssl -lcrypto -ldl -lm --- listModules.o --- --- medusa.o --- --- medusa-thread-pool.o --- --- medusa-thread-ssl.o --- --- medusa-net.o --- --- medusa-utils.o --- --- listModules.o --- depbase=`echo listModules.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I.. -I../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT listModules.o -MD -MP -MF $depbase.Tpo -c -o listModules.o listModules.c && mv -f $depbase.Tpo $depbase.Po --- medusa-thread-ssl.o --- depbase=`echo medusa-thread-ssl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I.. -I../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT medusa-thread-ssl.o -MD -MP -MF $depbase.Tpo -c -o medusa-thread-ssl.o medusa-thread-ssl.c && mv -f $depbase.Tpo $depbase.Po --- medusa-net.o --- depbase=`echo medusa-net.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I.. -I../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT medusa-net.o -MD -MP -MF $depbase.Tpo -c -o medusa-net.o medusa-net.c && mv -f $depbase.Tpo $depbase.Po --- medusa.o --- depbase=`echo medusa.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I.. -I../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT medusa.o -MD -MP -MF $depbase.Tpo -c -o medusa.o medusa.c && mv -f $depbase.Tpo $depbase.Po --- medusa-utils.o --- depbase=`echo medusa-utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I.. -I../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT medusa-utils.o -MD -MP -MF $depbase.Tpo -c -o medusa-utils.o medusa-utils.c && mv -f $depbase.Tpo $depbase.Po --- medusa-thread-pool.o --- depbase=`echo medusa-thread-pool.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DHAVE_CONFIG_H -I. -I.. -I../src -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/local//include -pipe -O2 -fno-strict-aliasing -MT medusa-thread-pool.o -MD -MP -MF $depbase.Tpo -c -o medusa-thread-pool.o medusa-thread-pool.c && mv -f $depbase.Tpo $depbase.Po --- listModules.o --- listModules.c: In function 'listModules': listModules.c:110:13: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat( pszLibName, "/", 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- medusa.o --- medusa.c: In function 'invokeModule': medusa.c:399:7: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat(modPath, "/", 1); ^~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:401:7: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(modPath, MODULE_EXTENSION, strlen(MODULE_EXTENSION)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- listModules.o --- listModules.c:79:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy( pszTarget, pszDir, strlen(pszDir) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ listModules.c:109:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy( pszLibName, pszTarget, strlen(pszTarget) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ listModules.c:111:13: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncat( pszLibName, pdeEntry[j]->d_name, strlen(pdeEntry[j]->d_name) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- medusa.o --- medusa.c: In function 'sigint_handler': medusa.c:1968:3: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat(szResumeMap, ".", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- medusa-net.o --- medusa-net.c: In function 'medusaConnectInternal': medusa-net.c:186:116: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] writeError(ERR_ERROR, "Thread %X: Host: %s Cannot connect [unreachable], retrying (%d of %d retries)", (int)pthread_self(), inet_ntop(AF_INET, &target.sin_addr, out, sizeof(out)), nFail, nRetries); ^ medusa-net.c: In function 'medusaConnectSSLInternal': medusa-net.c:363:5: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] sslContext = SSL_CTX_new(TLSv1_client_method()); ^~~~~~~~~~ In file included from /usr/local/include/openssl/e_os2.h:13, from /usr/local/include/openssl/crypto.h:17, from medusa.h:48, from medusa-net.c:35: /usr/local/include/openssl/ssl.h:1879:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/opensslconf.h:133:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/local/include/openssl/ssl.h:1879:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ --- medusa.o --- In function 'invokeModule.part.0', inlined from 'invokeModule' at medusa.c:365:5: medusa.c:398:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 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=] 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-overflow=] strncpy(_psAudit->pGlobalUser, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:204:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psAudit->pGlobalPass, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:295:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(szTempModuleParam, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:147:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psAudit->pGlobalHost, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:323:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psAudit->pOptResume, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:190:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psAudit->pOptUser, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:219:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psAudit->pOptPass, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:231:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psAudit->pOptOutput, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:288:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(szModuleName, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:161:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psAudit->pOptHost, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:226:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(_psAudit->pOptCombo, optarg, strlen(optarg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c: In function 'loadLoginInfo': medusa.c:962:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psHost->pHost, pHost, strlen(pHost) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:962:37: note: length computed here strncpy(psHost->pHost, pHost, strlen(pHost) + 1); ^~~~~~~~~~~~~ medusa.c:1006:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(psUser->pUser, pUser, strlen(pUser)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medusa.c:1030:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 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-overflow=] strncpy(psCredSetMissed->pPass, _psCredSet->pPass, strlen(_psCredSet->pPass)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- medusa --- cc -pipe -O2 -fno-strict-aliasing -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local//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 -ldl -lm SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> medusa-2.2 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for medusa-2.2 ===> medusa-2.2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> Generating temporary packing list Making install in src Making install in modsrc /bin/mkdir -p '/construction/security/medusa/stage/usr/local/lib/medusa/modules' install -s -m 555 cvs.mod ftp.mod http.mod imap.mod mssql.mod mysql.mod nntp.mod pcanywhere.mod pop3.mod rexec.mod rlogin.mod rsh.mod smbnt.mod smtp.mod smtp-vrfy.mod snmp.mod ssh.mod telnet.mod vmauthd.mod vnc.mod web-form.mod wrapper.mod '/construction/security/medusa/stage/usr/local/lib/medusa/modules' /bin/mkdir -p '/construction/security/medusa/stage/usr/local/bin' install -s -m 555 medusa '/construction/security/medusa/stage/usr/local/bin' /bin/mkdir -p '/construction/security/medusa/stage/usr/local/man/man1' install -m 0644 doc/medusa.1 '/construction/security/medusa/stage/usr/local/man/man1' install -m 0644 /construction/security/medusa/medusa-2.2/misc/zsh/_medusa /construction/security/medusa/stage/usr/local/share/zsh/site-functions/_medusa install -m 0644 /construction/security/medusa/medusa-2.2/doc/*.html /construction/security/medusa/stage/usr/local/share/doc/medusa ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for medusa-2.2 file sizes/checksums [54]: 0% file sizes/checksums [54]: 100% packing files [54]: 0% packing files [54]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:11