Diff of the two buildlogs: -- --- b1/build.log 2021-08-25 09:07:02.353121764 +0000 +++ b2/build.log 2021-08-25 09:08:07.698692013 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Aug 24 21:05:19 -12 2021 -I: pbuilder-time-stamp: 1629882319 +I: Current time: Wed Sep 28 05:30:04 +14 2022 +I: pbuilder-time-stamp: 1664292604 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./medusa_2.2-7.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.CQG5BPaF/trustedkeys.kbx': General error -gpgv: Signature made Tue Sep 8 03:12:35 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.mUAeTGHh/trustedkeys.kbx': General error +gpgv: Signature made Wed Sep 9 05:12:35 2020 +14 gpgv: using RSA key D7CDB78351109E12752EC6D203881DABEBC29AB9 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./medusa_2.2-7.dsc @@ -32,135 +32,169 @@ dpkg-source: info: applying Fix-spelling-errors.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/26251/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/11170/tmp/hooks/D01_modify_environment starting +debug: Running on codethink11-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/11170/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/11170/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='26251' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=11170 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.Tw5B1eiWcl/pbuilderrc_X0Mo --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Tw5B1eiWcl/b1 --logfile b1/build.log medusa_2.2-7.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.Tw5B1eiWcl/pbuilderrc_OFRV --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Tw5B1eiWcl/b2 --logfile b2/build.log medusa_2.2-7.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink14-arm64 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 07:09 more - -rwsr-xr-x 1 root root 51360 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 14496 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 20 21:24 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 07:09 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/26251/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 2021 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 2021 more + -rwsr-xr-x 1 root root 51360 Jul 29 2021 mount + -rwxr-xr-x 1 root root 14496 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 28 05:30 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 24 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/11170/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -285,7 +319,7 @@ Get: 77 http://deb.debian.org/debian bullseye/main arm64 libutf8proc2 arm64 2.5.0-1 [54.2 kB] Get: 78 http://deb.debian.org/debian bullseye/main arm64 libsvn1 arm64 1.14.1-3 [1318 kB] Get: 79 http://deb.debian.org/debian bullseye/main arm64 libsvn-dev arm64 1.14.1-3 [441 kB] -Fetched 36.3 MB in 1s (32.9 MB/s) +Fetched 36.3 MB in 1s (24.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19646 files and directories currently installed.) @@ -624,7 +658,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/medusa-2.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../medusa_2.2-7_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/medusa-2.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../medusa_2.2-7_source.changes dpkg-buildpackage: info: source package medusa dpkg-buildpackage: info: source version 2.2-7 dpkg-buildpackage: info: source distribution unstable @@ -855,7 +890,6 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o imap.o imap.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mssql.o mssql.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mysql.o mysql.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sha1.o sha1.c In file included from /usr/include/string.h:495, from cvs.c:32: In function 'strncpy', @@ -867,6 +901,7 @@ cvs.c:315:3: note: length computed here 315 | strncpy(szPassTmp, szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sha1.o sha1.c In file included from /usr/include/string.h:495, from cvs.c:32: In function 'strncpy', @@ -890,7 +925,6 @@ 137 | strncpy((char *)psSessionData->szDir, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o nntp.o nntp.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pcanywhere.o pcanywhere.c In file included from /usr/include/string.h:495, from ftp.c:32: In function 'strncpy', @@ -914,6 +948,19 @@ 466 | int login_len = strlen(szLogin) > 16 ? 16 : strlen(szLogin); | ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, + from mysql.c:41: +In function 'strncpy', + inlined from 'MySQLPrepareAuth' at mysql.c:567:3: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mysql.c: In function 'MySQLPrepareAuth': +mysql.c:532:19: note: length computed here + 532 | int login_len = strlen(szLogin) > 16 ? 16 : strlen(szLogin); + | ^~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pcanywhere.o pcanywhere.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pop3.o pop3.c +In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from http.c:34: @@ -939,42 +986,19 @@ http.c:647:5: note: length computed here 647 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o postgres.o postgres.c In file included from /usr/include/string.h:495, from mysql.c:41: In function 'strncpy', - inlined from 'MySQLPrepareAuth' at mysql.c:567:3: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mysql.c: In function 'MySQLPrepareAuth': -mysql.c:532:19: note: length computed here - 532 | int login_len = strlen(szLogin) > 16 ? 16 : strlen(szLogin); - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from pcanywhere.c:54: -In function 'strncpy', - inlined from 'pcaUserAuth' at pcanywhere.c:372:7: + inlined from 'go' at mysql.c:149:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pcanywhere.c: In function 'pcaUserAuth': -pcanywhere.c:372:7: note: length computed here - 372 | strncpy(szTmp, szDomain, strlen(szDomain)); +mysql.c: In function 'go': +mysql.c:149:7: note: length computed here + 149 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from pcanywhere.c:54: -In function 'strncpy', - inlined from 'pcaUserAuth' at pcanywhere.c:374:7: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pcanywhere.c: In function 'pcaUserAuth': -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 -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pop3.o pop3.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o postgres.o postgres.c -In file included from /usr/include/string.h:495, from imap.c:36: In function 'strncpy', inlined from 'go' at imap.c:156:7: @@ -1008,29 +1032,62 @@ 170 | strncpy(psSessionData->szTag, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rexec.o rexec.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rlogin.o rlogin.c In file included from /usr/include/string.h:495, - from mysql.c:41: + from pop3.c:30: In function 'strncpy', - inlined from 'go' at mysql.c:149:7: + inlined from 'sendAuthPLAIN' at pop3.c:543:3: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mysql.c: In function 'go': -mysql.c:149:7: note: length computed here - 149 | strncpy(pOptTmp, argv[i], strlen(argv[i])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rlogin.o rlogin.c +pop3.c: In function 'sendAuthPLAIN': +pop3.c:543:3: note: length computed here + 543 | strncpy(szTmpBuf, szLogin, strlen(szLogin)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from pop3.c:30: +In function 'strncpy', + inlined from 'sendAuthPLAIN' at pop3.c:544:3: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pop3.c: In function 'sendAuthPLAIN': +pop3.c:544:22: note: length computed here + 544 | strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin)); + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from pop3.c:30: +In function 'strncpy', + inlined from 'sendAuthPLAIN' at pop3.c:545:3: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pop3.c: In function 'sendAuthPLAIN': +pop3.c:545:3: note: length computed here + 545 | strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from pcanywhere.c:54: In function 'strncpy', - inlined from 'go' at pcanywhere.c:145:7: + inlined from 'pcaUserAuth' at pcanywhere.c:372:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pcanywhere.c: In function 'go': -pcanywhere.c:145:7: note: length computed here - 145 | strncpy(pOptTmp, argv[i], strlen(argv[i])); +pcanywhere.c: In function 'pcaUserAuth': +pcanywhere.c:372:7: note: length computed here + 372 | strncpy(szTmp, szDomain, strlen(szDomain)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from pcanywhere.c:54: +In function 'strncpy', + inlined from 'pcaUserAuth' at pcanywhere.c:374:7: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pcanywhere.c: In function 'pcaUserAuth': +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 -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rsh.o rsh.c In file included from /usr/include/string.h:495, from ../medusa-net.h:27, @@ -1098,28 +1155,6 @@ 165 | strncpy(psSessionData->szDir, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from postgres.c:30: -In function 'strncpy', - inlined from 'go' at postgres.c:126:7: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -postgres.c: In function 'go': -postgres.c:126:7: note: length computed here - 126 | strncpy(pOptTmp, argv[i], strlen(argv[i])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from postgres.c:30: -In function 'strncpy', - inlined from 'go' at postgres.c:140:11: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -postgres.c: In function 'go': -postgres.c:140:11: note: length computed here - 140 | strncpy((char *)psSessionData->szDB, pOpt, strlen(pOpt)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, from rexec.c:30: In function 'strncpy', inlined from 'tryLogin' at rexec.c:227:3: @@ -1141,43 +1176,42 @@ rexec.c:229:3: note: length computed here 229 | strncpy((char *)bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o smbnt.o smbnt.c In file included from /usr/include/string.h:495, - from pop3.c:30: + from postgres.c:30: In function 'strncpy', - inlined from 'sendAuthPLAIN' at pop3.c:543:3: + inlined from 'go' at postgres.c:126:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pop3.c: In function 'sendAuthPLAIN': -pop3.c:543:3: note: length computed here - 543 | strncpy(szTmpBuf, szLogin, strlen(szLogin)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +postgres.c: In function 'go': +postgres.c:126:7: note: length computed here + 126 | strncpy(pOptTmp, argv[i], strlen(argv[i])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from pop3.c:30: + from postgres.c:30: In function 'strncpy', - inlined from 'sendAuthPLAIN' at pop3.c:544:3: + inlined from 'go' at postgres.c:140:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pop3.c: In function 'sendAuthPLAIN': -pop3.c:544:22: note: length computed here - 544 | strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin)); - | ^~~~~~~~~~~~~~~ +postgres.c: In function 'go': +postgres.c:140:11: note: length computed here + 140 | strncpy((char *)psSessionData->szDB, pOpt, strlen(pOpt)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o smbnt.o smbnt.c In file included from /usr/include/string.h:495, - from pop3.c:30: + from pcanywhere.c:54: In function 'strncpy', - inlined from 'sendAuthPLAIN' at pop3.c:545:3: + inlined from 'go' at pcanywhere.c:145:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pop3.c: In function 'sendAuthPLAIN': -pop3.c:545:3: note: length computed here - 545 | strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pcanywhere.c: In function 'go': +pcanywhere.c:145:7: note: length computed here + 145 | strncpy(pOptTmp, argv[i], strlen(argv[i])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hmacmd5.o hmacmd5.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o smtp.o smtp.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o smtp-vrfy.o smtp-vrfy.c In file included from /usr/include/string.h:495, from rlogin.c:29: In function 'strncpy', @@ -1200,39 +1234,29 @@ 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 -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o smtp-vrfy.o smtp-vrfy.c In file included from /usr/include/string.h:495, - from smbnt.c:87: -In function 'strncpy', - inlined from 'parseFullyQualifiedUsername' at smbnt.c:560:5: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -smbnt.c: In function 'parseFullyQualifiedUsername': -smbnt.c:560:5: note: length computed here - 560 | strncpy(szUser, szLogin, strlen(szLogin)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from smbnt.c:87: + from pop3.c:30: In function 'strncpy', - inlined from 'parseFullyQualifiedUsername' at smbnt.c:539:5: + inlined from 'go' at pop3.c:145:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -smbnt.c: In function 'parseFullyQualifiedUsername': -smbnt.c:539:5: note: length computed here - 539 | strncpy(pOptTmp, szLogin, strlen(szLogin)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pop3.c: In function 'go': +pop3.c:145:7: note: length computed here + 145 | strncpy(pOptTmp, argv[i], strlen(argv[i])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from smbnt.c:87: + from pop3.c:30: In function 'strncpy', - inlined from 'parseFullyQualifiedUsername' at smbnt.c:549:5: + inlined from 'go' at pop3.c:189:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -smbnt.c: In function 'parseFullyQualifiedUsername': -smbnt.c:549:5: note: length computed here - 549 | strncpy(szUser, pOpt, strlen(pOpt)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pop3.c: In function 'go': +pop3.c:189:11: note: length computed here + 189 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from rsh.c:30: In function 'strncpy', @@ -1258,29 +1282,52 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o snmp.o snmp.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ssh.o ssh.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o svn.o svn.c -In file included from /usr/include/string.h:495, - from pop3.c:30: -In function 'strncpy', - inlined from 'go' at pop3.c:145:7: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pop3.c: In function 'go': -pop3.c:145:7: note: length computed here - 145 | strncpy(pOptTmp, argv[i], strlen(argv[i])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from pop3.c:30: -In function 'strncpy', - inlined from 'go' at pop3.c:189:11: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pop3.c: In function 'go': -pop3.c:189:11: note: length computed here - 189 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o telnet.o telnet.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vmauthd.o vmauthd.c +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') + | ^ In file included from /usr/include/string.h:495, from smtp.c:33: In function 'strncpy', @@ -1314,136 +1361,61 @@ smtp.c:531:3: note: length computed here 531 | strncpy((char *)szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vmauthd.o vmauthd.c -smtp-vrfy.c: In function 'tryLogin': -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:867, - from smtp-vrfy.c:29: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 505) into a destination of size 300 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from ssh.c:31: + from smbnt.c:87: In function 'strncpy', - inlined from 'response_callback' at ssh.c:424:9: + inlined from 'parseFullyQualifiedUsername' at smbnt.c:560:5: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ssh.c: In function 'response_callback': -ssh.c:424:9: note: length computed here - 424 | strncpy(responses[i].text, pPass, strlen(pPass)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +smbnt.c: In function 'parseFullyQualifiedUsername': +smbnt.c:560:5: note: length computed here + 560 | strncpy(szUser, szLogin, strlen(szLogin)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smbnt.c:87: In function 'strncpy', - inlined from 'tryLogin' at smbnt.c:1895:7: + inlined from 'parseFullyQualifiedUsername' at smbnt.c:539:5: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -smbnt.c: In function 'tryLogin': -smbnt.c:1895:7: note: length computed here - 1895 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from smbnt.c:87: -In function 'strncat', - inlined from 'tryLogin' at smbnt.c:1896:7: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -smbnt.c: In function 'tryLogin': -smbnt.c:1896:7: note: length computed here - 1896 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +smbnt.c: In function 'parseFullyQualifiedUsername': +smbnt.c:539:5: note: length computed here + 539 | strncpy(pOptTmp, szLogin, strlen(szLogin)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smbnt.c:87: In function 'strncpy', - inlined from 'tryLogin' at smbnt.c:1926:7: + inlined from 'parseFullyQualifiedUsername' at smbnt.c:549:5: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -smbnt.c: In function 'tryLogin': -smbnt.c:1926:7: note: length computed here - 1926 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from smbnt.c:87: -In function 'strncat', - inlined from 'tryLogin' at smbnt.c:1927:7: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -smbnt.c: In function 'tryLogin': -smbnt.c:1927:7: note: length computed here - 1927 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -svn.c: In function 'tryLogin': -svn.c:353:3: warning: 'svn_client_list3' is deprecated [-Wdeprecated-declarations] - 353 | err = svn_client_list3(canonical, &revision, &revision, svn_depth_empty, SVN_DIRENT_ALL, FALSE, FALSE, print_dirent, &ctx->auth_baton, ctx, pool); - | ^~~ -In file included from svn.c:47: -/usr/include/subversion-1/svn_client.h:6806:1: note: declared here - 6806 | svn_client_list3(const char *path_or_url, - | ^~~~~~~~~~~~~~~~ -telnet.c: In function 'initModule': -telnet.c:277:67: warning: comparison between pointer and zero character constant [-Wpointer-compare] - 277 | if (strcasestr((char *)bufReceive, (char *)"Sign On") != '\0') - | ^~ -telnet.c:277:17: note: did you mean to dereference the pointer? - 277 | if (strcasestr((char *)bufReceive, (char *)"Sign On") != '\0') - | ^ -telnet.c:306:74: warning: comparison between pointer and zero character constant [-Wpointer-compare] - 306 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') - | ^~ -telnet.c:306:19: note: did you mean to dereference the pointer? - 306 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') - | ^ -telnet.c:318:72: warning: comparison between pointer and zero character constant [-Wpointer-compare] - 318 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') - | ^~ -telnet.c:318:19: note: did you mean to dereference the pointer? - 318 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') - | ^ -telnet.c: In function 'tryLogin': -telnet.c:482:66: warning: comparison between pointer and zero character constant [-Wpointer-compare] - 482 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') - | ^~ -telnet.c:482:13: note: did you mean to dereference the pointer? - 482 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') - | ^ -telnet.c:494:70: warning: comparison between pointer and zero character constant [-Wpointer-compare] - 494 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') - | ^~ -telnet.c:494:15: note: did you mean to dereference the pointer? - 494 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') - | ^ -telnet.c:582:70: warning: comparison between pointer and zero character constant [-Wpointer-compare] - 582 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') - | ^~ -telnet.c:582:15: note: did you mean to dereference the pointer? - 582 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') - | ^ -telnet.c:597:68: warning: comparison between pointer and zero character constant [-Wpointer-compare] - 597 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') - | ^~ -telnet.c:597:15: note: did you mean to dereference the pointer? - 597 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') - | ^ +smbnt.c: In function 'parseFullyQualifiedUsername': +smbnt.c:549:5: note: length computed here + 549 | strncpy(szUser, pOpt, strlen(pOpt)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from snmp.c:33: + from ssh.c:31: In function 'strncpy', - inlined from 'sendWrite' at snmp.c:677:3: + inlined from 'response_callback' at ssh.c:424:9: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -snmp.c: In function 'sendWrite': -snmp.c:677:3: note: length computed here - 677 | strncpy((char *)bufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w), szLocation, strlen(szLocation)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ssh.c: In function 'response_callback': +ssh.c:424:9: note: length computed here + 424 | strncpy(responses[i].text, pPass, strlen(pPass)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +smtp-vrfy.c: In function 'tryLogin': +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:867, + from smtp-vrfy.c:29: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 505) into a destination of size 300 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from telnet.c:42: In function 'strncpy', @@ -1522,6 +1494,17 @@ 691 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, + from snmp.c:33: +In function 'strncpy', + inlined from 'sendWrite' at snmp.c:677:3: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +snmp.c: In function 'sendWrite': +snmp.c:677:3: note: length computed here + 677 | strncpy((char *)bufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w), szLocation, strlen(szLocation)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, from smtp-vrfy.c:30: In function 'strncpy', inlined from 'go' at smtp-vrfy.c:149:7: @@ -1554,28 +1537,14 @@ smtp-vrfy.c:182:11: note: length computed here 182 | strncpy((char *) psSessionData->szHELO, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from svn.c:32: -In function 'strncpy', - inlined from 'go' at svn.c:132:7: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -svn.c: In function 'go': -svn.c:132:7: note: length computed here - 132 | strncpy(pOptTmp, argv[i], strlen(argv[i])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from svn.c:32: -In function 'strncpy', - inlined from 'go' at svn.c:146:11: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -svn.c: In function 'go': -svn.c:146:11: note: length computed here - 146 | strncpy((char *)psSessionData->szBranch, pOpt, strlen(pOpt)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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, + | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smtp.c:33: In function 'strncpy', @@ -1610,17 +1579,6 @@ 177 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from smbnt.c:87: -In function 'strncpy', - inlined from 'go' at smbnt.c:293:7: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -smbnt.c: In function 'go': -smbnt.c:293:7: note: length computed here - 293 | strncpy(pOptTmp, argv[i], strlen(argv[i])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, from ssh.c:31: In function 'strncpy', inlined from 'go' at ssh.c:136:7: @@ -1643,7 +1601,6 @@ 146 | strncpy((char *) psSessionData->szBannerMsg, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vnc.o vnc.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o d3des.o d3des.c In file included from /usr/include/string.h:495, from snmp.c:33: In function 'strncpy', @@ -1655,75 +1612,87 @@ snmp.c:167:7: note: length computed here 167 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o d3des.o d3des.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o web-form.o web-form.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wrapper.o wrapper.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ../medusa-trace.o ../medusa-trace.c In file included from /usr/include/string.h:495, - from telnet.c:42: + from svn.c:32: In function 'strncpy', - inlined from 'go' at telnet.c:155:7: + inlined from 'go' at svn.c:132:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -telnet.c: In function 'go': -telnet.c:155:7: note: length computed here - 155 | strncpy(pOptTmp, argv[i], strlen(argv[i])); +svn.c: In function 'go': +svn.c:132:7: note: length computed here + 132 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from wrapper.c:30: + from svn.c:32: In function 'strncpy', - inlined from 'initModule' at wrapper.c:275:11: + inlined from 'go' at svn.c:146:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wrapper.c: In function 'initModule': -wrapper.c:275:11: note: length computed here - 275 | strncpy(szCmdTmp + nCmdPartLength, psLogin->psServer->pHostIP, strlen(psLogin->psServer->pHostIP)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +svn.c: In function 'go': +svn.c:146:11: note: length computed here + 146 | strncpy((char *)psSessionData->szBranch, pOpt, strlen(pOpt)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o wrapper.o wrapper.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -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/apr-1.0 -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ../medusa-trace.o ../medusa-trace.c In file included from /usr/include/string.h:495, - from wrapper.c:30: + from telnet.c:42: In function 'strncpy', - inlined from 'initModule' at wrapper.c:294:11: + inlined from 'go' at telnet.c:155:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wrapper.c: In function 'initModule': -wrapper.c:294:11: note: length computed here - 294 | strncpy(_psSessionData->szCmdParamFull + nCmdPartLength, psCredSet->psUser->pUser, strlen(psCredSet->psUser->pUser)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +telnet.c: In function 'go': +telnet.c:155:7: note: length computed here + 155 | strncpy(pOptTmp, argv[i], strlen(argv[i])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from wrapper.c:30: + from smbnt.c:87: In function 'strncpy', - inlined from 'initModule' at wrapper.c:313:11: + inlined from 'tryLogin' at smbnt.c:1895:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wrapper.c: In function 'initModule': -wrapper.c:313:11: note: length computed here - 313 | strncpy(szCmdTmp + nCmdPartLength, psCredSet->pPass, strlen(psCredSet->pPass)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +smbnt.c: In function 'tryLogin': +smbnt.c:1895:7: note: length computed here + 1895 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from wrapper.c:30: + from smbnt.c:87: +In function 'strncat', + inlined from 'tryLogin' at smbnt.c:1896:7: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +smbnt.c: In function 'tryLogin': +smbnt.c:1896:7: note: length computed here + 1896 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from smbnt.c:87: In function 'strncpy', - inlined from 'initModule' at wrapper.c:335:9: + inlined from 'tryLogin' at smbnt.c:1926:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wrapper.c: In function 'initModule': -wrapper.c:335:9: note: length computed here - 335 | strncpy(_psSessionData->szCmdFull, _psSessionData->szCmd, strlen(_psSessionData->szCmd)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +smbnt.c: In function 'tryLogin': +smbnt.c:1926:7: note: length computed here + 1926 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from wrapper.c:30: + from smbnt.c:87: In function 'strncat', - inlined from 'initModule' at wrapper.c:337:9: + inlined from 'tryLogin' at smbnt.c:1927:7: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wrapper.c: In function 'initModule': -wrapper.c:337:9: note: length computed here - 337 | strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +smbnt.c: In function 'tryLogin': +smbnt.c:1927:7: note: length computed here + 1927 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, @@ -1764,65 +1733,97 @@ 372 | strncpy(_psSessionData->szFormRest, pTemp, strlen(pTemp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, + from vnc.c:35: +In function 'strncpy', + inlined from 'sendAuthMSLogin' at vnc.c:870:5: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +vnc.c: In function 'sendAuthMSLogin': +vnc.c:868:38: note: length computed here + 868 | if ((_psSessionData->szDomain) && (strlen(_psSessionData->szDomain) + 1 + strlen(szLogin) < 256)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from vnc.c:35: +In function 'strncat', + inlined from 'sendAuthMSLogin' at vnc.c:872:5: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +vnc.c: In function 'sendAuthMSLogin': +vnc.c:872:5: note: length computed here + 872 | strncat((char *)ms_user, szLogin, strlen(szLogin)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o cvs.mod cvs.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm +gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o ftp.mod ftp.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm +In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncpy', - inlined from 'go' at wrapper.c:147:7: + inlined from 'initModule' at wrapper.c:275:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wrapper.c: In function 'go': -wrapper.c:147:7: note: length computed here - 147 | strncpy(pOptTmp, argv[i], strlen(argv[i])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +wrapper.c: In function 'initModule': +wrapper.c:275:11: note: length computed here + 275 | strncpy(szCmdTmp + nCmdPartLength, psLogin->psServer->pHostIP, strlen(psLogin->psServer->pHostIP)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o http.mod http.o ntlm.o http-digest.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncpy', - inlined from 'go' at wrapper.c:189:11: + inlined from 'initModule' at wrapper.c:294:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wrapper.c: In function 'go': -wrapper.c:189:60: note: length computed here - 189 | strncpy((char *)psSessionData->szCmdParam, pOpt, strlen(pOpt) + 1); - | ^~~~~~~~~~~~ +wrapper.c: In function 'initModule': +wrapper.c:294:11: note: length computed here + 294 | strncpy(_psSessionData->szCmdParamFull + nCmdPartLength, psCredSet->psUser->pUser, strlen(psCredSet->psUser->pUser)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncpy', - inlined from 'go' at wrapper.c:175:11: + inlined from 'initModule' at wrapper.c:313:11: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wrapper.c: In function 'go': -wrapper.c:175:55: note: length computed here - 175 | strncpy((char *)psSessionData->szCmd, pOpt, strlen(pOpt) + 1); - | ^~~~~~~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o cvs.mod cvs.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm -gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o ftp.mod ftp.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm +wrapper.c: In function 'initModule': +wrapper.c:313:11: note: length computed here + 313 | strncpy(szCmdTmp + nCmdPartLength, psCredSet->pPass, strlen(psCredSet->pPass)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from vnc.c:35: + from wrapper.c:30: In function 'strncpy', - inlined from 'sendAuthMSLogin' at vnc.c:870:5: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + inlined from 'initModule' at wrapper.c:335:9: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -vnc.c: In function 'sendAuthMSLogin': -vnc.c:868:38: note: length computed here - 868 | if ((_psSessionData->szDomain) && (strlen(_psSessionData->szDomain) + 1 + strlen(szLogin) < 256)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +wrapper.c: In function 'initModule': +wrapper.c:335:9: note: length computed here + 335 | strncpy(_psSessionData->szCmdFull, _psSessionData->szCmd, strlen(_psSessionData->szCmd)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from vnc.c:35: + from wrapper.c:30: In function 'strncat', - inlined from 'sendAuthMSLogin' at vnc.c:872:5: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + inlined from 'initModule' at wrapper.c:337:9: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -vnc.c: In function 'sendAuthMSLogin': -vnc.c:872:5: note: length computed here - 872 | strncat((char *)ms_user, szLogin, strlen(szLogin)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o http.mod http.o ntlm.o http-digest.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm +wrapper.c: In function 'initModule': +wrapper.c:337:9: note: length computed here + 337 | strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o imap.mod imap.o ntlm.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm -gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o mssql.mod mssql.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm +In file included from /usr/include/string.h:495, + from smbnt.c:87: +In function 'strncpy', + inlined from 'go' at smbnt.c:293:7: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +smbnt.c: In function 'go': +smbnt.c:293:7: note: length computed here + 293 | strncpy(pOptTmp, argv[i], strlen(argv[i])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, @@ -1914,9 +1915,41 @@ web-form.c:162:11: note: length computed here 162 | strncpy(psSessionData->szDir, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o mssql.mod mssql.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm +In file included from /usr/include/string.h:495, + from wrapper.c:30: +In function 'strncpy', + inlined from 'go' at wrapper.c:147:7: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +wrapper.c: In function 'go': +wrapper.c:147:7: note: length computed here + 147 | strncpy(pOptTmp, argv[i], strlen(argv[i])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from wrapper.c:30: +In function 'strncpy', + inlined from 'go' at wrapper.c:189:11: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +wrapper.c: In function 'go': +wrapper.c:189:60: note: length computed here + 189 | strncpy((char *)psSessionData->szCmdParam, pOpt, strlen(pOpt) + 1); + | ^~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from wrapper.c:30: +In function 'strncpy', + inlined from 'go' at wrapper.c:175:11: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +wrapper.c: In function 'go': +wrapper.c:175:55: note: length computed here + 175 | strncpy((char *)psSessionData->szCmd, pOpt, strlen(pOpt) + 1); + | ^~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o mysql.mod mysql.o ../medusa-trace.o sha1.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm -gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o nntp.mod nntp.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm -gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o pcanywhere.mod pcanywhere.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm In file included from /usr/include/string.h:495, from vnc.c:35: In function 'strncpy', @@ -1939,6 +1972,8 @@ vnc.c:184:11: note: length computed here 184 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o nntp.mod nntp.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm +gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o pcanywhere.mod pcanywhere.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o pop3.mod pop3.o ntlm.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o postgres.mod postgres.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm gcc -g -O2 -fdebug-prefix-map=/build/medusa-2.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr//lib -rdynamic -o rexec.mod rexec.o ../medusa-trace.o -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -lgcrypt -lgnutls -ldl -lrt -lm @@ -2295,8 +2330,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'medusa' in '../medusa_2.2-7_arm64.deb'. dpkg-deb: building package 'medusa-dbgsym' in '../medusa-dbgsym_2.2-7_arm64.deb'. +dpkg-deb: building package 'medusa' in '../medusa_2.2-7_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../medusa_2.2-7_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2305,12 +2340,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/11170/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/11170/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/26251 and its subdirectories -I: Current time: Tue Aug 24 21:07:01 -12 2021 -I: pbuilder-time-stamp: 1629882421 +I: removing directory /srv/workspace/pbuilder/11170 and its subdirectories +I: Current time: Wed Sep 28 05:31:05 +14 2022 +I: pbuilder-time-stamp: 1664292665