Diff of the two buildlogs: -- --- b1/build.log 2024-07-13 13:44:22.045561438 +0000 +++ b2/build.log 2024-07-13 13:45:09.071562523 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 13 01:43:03 -12 2024 -I: pbuilder-time-stamp: 1720878183 +I: Current time: Sat Aug 16 10:07:24 +14 2025 +I: pbuilder-time-stamp: 1755288444 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./ipgrab_0.9.10-4.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.0O66ZZ1g/trustedkeys.kbx': General error -gpgv: Signature made Sun Dec 8 11:15:11 2019 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.4tSiSdkY/trustedkeys.kbx': General error +gpgv: Signature made Mon Dec 9 13:15:11 2019 +14 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ipgrab_0.9.10-4.dsc @@ -35,135 +35,166 @@ dpkg-source: info: applying spelling-error-in-manpage.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1749060/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1064883/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Aug 16 10:07 /bin/sh -> /bin/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/1064883/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1064883/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=20 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=42 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='9dde281627fa424a9305c9f91ca96946' - 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='1749060' - PS1='# ' - PS2='> ' + INVOCATION_ID=d45bd5425fa2403a93249b33f70b1c79 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=1064883 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/r-b-build.EixscfYA/pbuilderrc_OFYN --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EixscfYA/b1 --logfile b1/build.log ipgrab_0.9.10-4.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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/r-b-build.EixscfYA/pbuilderrc_hONb --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EixscfYA/b2 --logfile b2/build.log ipgrab_0.9.10-4.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Mar 27 22: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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Mar 27 22:09 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Mar 27 22:09 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Mar 27 22:09 more - -rwsr-xr-x 1 root root 55528 Mar 27 22:09 mount - -rwxr-xr-x 1 root root 18664 Mar 27 22:09 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 6 21:26 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Mar 27 22:09 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 21:59 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Mar 27 22:09 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Mar 27 22:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1749060/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Mar 29 2024 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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Mar 29 2024 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Mar 29 2024 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Mar 29 2024 more + -rwsr-xr-x 1 root root 55528 Mar 29 2024 mount + -rwxr-xr-x 1 root root 18664 Mar 29 2024 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Aug 16 10:07 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Mar 29 2024 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 2024 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Mar 29 2024 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Mar 29 2024 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1064883/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -249,7 +280,7 @@ Get: 44 http://deb.debian.org/debian bullseye/main amd64 libxml-sax-perl all 1.02+dfsg-1 [59.0 kB] Get: 45 http://deb.debian.org/debian bullseye/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-2+b1 [337 kB] Get: 46 http://deb.debian.org/debian bullseye/main amd64 texinfo amd64 6.7.0.dfsg.2-6 [1761 kB] -Fetched 23.1 MB in 0s (54.8 MB/s) +Fetched 23.1 MB in 0s (73.3 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 ... 19711 files and directories currently installed.) @@ -460,7 +491,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ipgrab-0.9.10/ && 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 > ../ipgrab_0.9.10-4_source.changes +I: user script /srv/workspace/pbuilder/1064883/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/1064883/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ipgrab-0.9.10/ && 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 > ../ipgrab_0.9.10-4_source.changes dpkg-buildpackage: info: source package ipgrab dpkg-buildpackage: info: source version 0.9.10-4 dpkg-buildpackage: info: source distribution unstable @@ -591,7 +626,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/ipgrab-0.9.10' make all-recursive make[2]: Entering directory '/build/reproducible-path/ipgrab-0.9.10' @@ -610,42 +645,46 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o error.o error.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o esp.o esp.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ethernet.o ethernet.c -ah.c: In function 'dump_ah': -ah.c:95:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 95 | display_minimal_string("| AH "); - | ^~~~~~~ - | | - | char * -In file included from local.h:30, - from ah.h:30, - from ah.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ethertypes.o ethertypes.c -ah.c:97:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 97 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ah.h:30, - from ah.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ah.c:108:32: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] - 108 | display("Next header", holder, strlen(holder), DISP_STRING); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from ah.h:30, - from ah.c:26: -display.h:73:30: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 73 | inline void display (char *, u_int8_t *, u_int32_t, display_t); - | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o file.o file.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ftpctrl.o ftpctrl.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o getopt.o getopt.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o gre.o gre.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o hexbuffer.o hexbuffer.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o http.o http.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o iana.o iana.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o icmp.o icmp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o icmpv6.o icmpv6.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o igmp.o igmp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ip.o ip.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ip_protocols.o ip_protocols.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ip_services.o ip_services.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipcp.o ipcp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipgrab.o ipgrab.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipv6.o ipv6.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipx.o ipx.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipxrip.o ipxrip.c +In file included from getopt.c:34: +getopt.h:136:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 136 | extern int getopt (); + | ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o isakmp.o isakmp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o l2tp.o l2tp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o layers.o layers.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o lcp.o lcp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o llc.o llc.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o loopback.o loopback.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o mgcp.o mgcp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o mobileip.o mobileip.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o mppc.o mppc.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o netbios_ns.o netbios_ns.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o nntp.o nntp.c +dns.c: In function 'dump_dns_questions': +dns.c:145:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 145 | display_minimal_string(holder); + | ^~~~~~ + | | + | char * ccp.c: In function 'dump_ccp': ccp.c:150:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 150 | display_minimal_string("| CCP "); @@ -653,416 +692,17 @@ | | | char * In file included from local.h:30, - from ccp.h:30, - from ccp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ccp.c:151:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 151 | display_minimal_string(map2str(ccp_code_map, ccp.code)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ccp.h:30, - from ccp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ccp.c:152:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 152 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ccp.h:30, - from ccp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ccp.c:212:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 212 | display_minimal_string(", "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from ccp.h:30, - from ccp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ccp.c:214:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 214 | display_minimal_string("("); - | ^~~ - | | - | char * -In file included from local.h:30, - from ccp.h:30, - from ccp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ccp.c:224:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 224 | display_minimal_string(map2str(ccp_option_map, type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ccp.h:30, - from ccp.c:26: + from dns.h:30, + from dns.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ccp.c:249:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 249 | display_minimal_string(" "); - | ^~~ - | | - | char * In file included from local.h:30, from ccp.h:30, from ccp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ccp.c:266:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 266 | display_minimal_string(")"); - | ^~~ - | | - | char * -In file included from local.h:30, - from ccp.h:30, - from ccp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -datalink.c: In function 'datalink': -datalink.c:180:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 180 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ethernet.h:30, - from datalink.c:29: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -datalink.c:185:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 185 | display_minimal_string(packet.timestamp); - | ~~~~~~^~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ethernet.h:30, - from datalink.c:29: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -datalink.c:186:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 186 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ethernet.h:30, - from datalink.c:29: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ftpctrl.o ftpctrl.c -arp.c: In function 'dump_etherarp': -arp.c:92:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 92 | display_ipv4("Sender IP address", - | ^~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from arp.h:30, - from arp.c:27: -display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -arp.c:96:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 96 | display_ipv4("Target IP address", - | ^~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from arp.h:30, - from arp.c:27: -display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -arp.c: In function 'dump_arp': -arp.c:162:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 162 | display_minimal_string("| ARP "); - | ^~~~~~~~ - | | - | char * -In file included from local.h:30, - from arp.h:30, - from arp.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -arp.c:164:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 164 | display_minimal_string(map2str(arp_opcode_map, arp.opcode)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from arp.h:30, - from arp.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -arp.c:165:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 165 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from arp.h:30, - from arp.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -chap.c: In function 'dump_chap': -chap.c:98:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 98 | display_minimal_string("| CHAP "); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -chap.c:149:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 149 | display_minimal_string("challenge "); - | ^~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -chap.c:151:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 151 | display_minimal_string("response "); - | ^~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -chap.c:152:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 152 | display_minimal_string("("); - | ^~~ - | | - | char * -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -chap.c:154:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 154 | display_minimal_string(", "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -chap.c:156:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 156 | display_minimal_string(")"); - | ^~~ - | | - | char * -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -chap.c:162:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 162 | display_string("Name", name); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -chap.c:191:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 191 | display_minimal_string("success "); - | ^~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -chap.c:193:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 193 | display_minimal_string("failure "); - | ^~~~~~~~~~ - | | - | char * -cbcp.c: In function 'dump_cbcp': -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -cbcp.c:120:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 120 | display_minimal_string("| CBCP "); - | ^~~~~~~~~ - | | - | char * -chap.c:194:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 194 | display_minimal_string("("); - | ^~~ - | | - | char * -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -In file included from local.h:30, - from cbcp.h:30, - from cbcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -chap.c:196:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 196 | display_minimal_string(")"); - | ^~~ - | | - | char * -cbcp.c:121:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 121 | display_minimal_string(map2str(cbcp_code_map, cbcp.code)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -In file included from local.h:30, - from cbcp.h:30, - from cbcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -cbcp.c:122:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 122 | display_minimal_string(" "); - | ^~~ - | | - | char * -chap.c:200:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 200 | display_string("Message", message); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, - from cbcp.h:30, - from cbcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -In file included from local.h:30, - from chap.h:30, - from chap.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -cbcp.c:181:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 181 | display_minimal_string(", "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from cbcp.h:30, - from cbcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -cbcp.c:183:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 183 | display_minimal_string("("); - | ^~~ - | | - | char * -In file included from local.h:30, - from cbcp.h:30, - from cbcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -cbcp.c:193:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 193 | display_minimal_string(map2str(cbcp_option_map, type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from cbcp.h:30, - from cbcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -cbcp.c:218:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 218 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from cbcp.h:30, - from cbcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -cbcp.c:235:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 235 | display_minimal_string(")"); - | ^~~ - | | - | char * -In file included from local.h:30, - from cbcp.h:30, - from cbcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o getopt.o getopt.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o gre.o gre.c -dns.c: In function 'dump_dns_questions': -dns.c:145:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 145 | display_minimal_string(holder); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from dns.h:30, - from dns.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ dns.c:146:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 146 | display_minimal_string(" "); | ^~~ @@ -1074,12 +714,23 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +ccp.c:151:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 151 | display_minimal_string(map2str(ccp_code_map, ccp.code)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * dns.c:150:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 150 | display_string("Query", holder); | ^~~~~~~ | | | char * In file included from local.h:30, + from ccp.h:30, + from ccp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from dns.h:30, from dns.c:26: display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' @@ -1090,12 +741,23 @@ | ^~~~~~ | | | char * +ccp.c:152:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 152 | display_minimal_string(" "); + | ^~~ + | | + | char * In file included from local.h:30, from dns.h:30, from dns.c:26: display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from ccp.h:30, + from ccp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dns.c:153:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 153 | display_string(" Query type", holder); | ^~~~~~~~~~~~~~ @@ -1140,6 +802,39 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +ccp.c:212:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 212 | display_minimal_string(", "); + | ^~~~ + | | + | char * +In file included from local.h:30, + from ccp.h:30, + from ccp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ccp.c:214:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 214 | display_minimal_string("("); + | ^~~ + | | + | char * +In file included from local.h:30, + from ccp.h:30, + from ccp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ccp.c:224:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 224 | display_minimal_string(map2str(ccp_option_map, type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ccp.h:30, + from ccp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dns.c: In function 'dump_dns_answers': dns.c:219:25: warning: pointer targets in passing argument 2 of 'parse_ns_labels' differ in signedness [-Wpointer-sign] 219 | parse_ns_labels(pkt, resource_data); @@ -1150,7 +845,17 @@ ns_labels.h:54:34: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 54 | void parse_ns_labels(packet_t *, char *); | ^~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o hexbuffer.o hexbuffer.c +ccp.c:249:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 249 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from ccp.h:30, + from ccp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dns.c:240:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 240 | display_minimal_string(" "); | ^~~ @@ -1162,6 +867,17 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +ccp.c:266:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 266 | display_minimal_string(")"); + | ^~~ + | | + | char * +In file included from local.h:30, + from ccp.h:30, + from ccp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dns.c:246:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 246 | display_minimal_string(" "); | ^~~ @@ -1228,6 +944,7 @@ display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +ah.c: In function 'dump_ah': dns.c:257:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 257 | display_string(" Query class", holder); | ^~~~~~ @@ -1239,6 +956,17 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +ah.c:95:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 95 | display_minimal_string("| AH "); + | ^~~~~~~ + | | + | char * +In file included from local.h:30, + from ah.h:30, + from ah.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dns.c:264:21: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 264 | display_ipv4(" Resource data", (u_int8_t *) resource_data); | ^~~~~~~~~~~~~~~~~ @@ -1250,6 +978,17 @@ display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +ah.c:97:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 97 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from ah.h:30, + from ah.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dns.c:268:21: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] 268 | display_ipv6(" Resource data", (u_int8_t *) resource_data); | ^~~~~~~~~~~~~~~~~ @@ -1266,57 +1005,143 @@ | ^~~~~~~~~~~~~~~~~ | | | char * +ah.c:108:32: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] + 108 | display("Next header", holder, strlen(holder), DISP_STRING); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from ah.h:30, + from ah.c:26: +display.h:73:30: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 73 | inline void display (char *, u_int8_t *, u_int32_t, display_t); + | ^~~~~~~~~~ In file included from local.h:30, from dns.h:30, from dns.c:26: display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +arp.c: In function 'dump_etherarp': +arp.c:92:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 92 | display_ipv4("Sender IP address", + | ^~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from arp.h:30, + from arp.c:27: +display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +arp.c:96:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 96 | display_ipv4("Target IP address", + | ^~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from arp.h:30, + from arp.c:27: +display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ dns.c: In function 'dump_dns': dns.c:351:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 351 | display_minimal_string("| DNS "); | ^~~~~~~~ | | | char * +chap.c: In function 'dump_chap': In file included from local.h:30, from dns.h:30, from dns.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +chap.c:98:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 98 | display_minimal_string("| CHAP "); + | ^~~~~~~~~ + | | + | char * dns.c:352:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 352 | display_minimal_string(map2str(dns_qrflag_map, f_qr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from dns.h:30, from dns.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +arp.c: In function 'dump_arp': dns.c:353:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 353 | display_minimal_string(" "); | ^~~ | | | char * +arp.c:162:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 162 | display_minimal_string("| ARP "); + | ^~~~~~~~ + | | + | char * In file included from local.h:30, from dns.h:30, from dns.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from arp.h:30, + from arp.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +arp.c:164:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 164 | display_minimal_string(map2str(arp_opcode_map, arp.opcode)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from arp.h:30, + from arp.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +arp.c:165:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 165 | display_minimal_string(" "); + | ^~~ + | | + | char * dns.c:366:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 366 | display_string("Flag query/response", holder); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * +cbcp.c: In function 'dump_cbcp': +In file included from local.h:30, + from arp.h:30, + from arp.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ In file included from local.h:30, from dns.h:30, from dns.c:26: display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +cbcp.c:120:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 120 | display_minimal_string("| CBCP "); + | ^~~~~~~~~ + | | + | char * dns.c:366:45: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 366 | display_string("Flag query/response", holder); | ^~~~~~ @@ -1328,28 +1153,112 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +chap.c:149:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 149 | display_minimal_string("challenge "); + | ^~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from cbcp.h:30, + from cbcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +cbcp.c:121:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 121 | display_minimal_string(map2str(cbcp_code_map, cbcp.code)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from cbcp.h:30, + from cbcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dns.c:369:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 369 | display_string("Flag opcode", holder); | ^~~~~~~~~~~~~ | | | char * +chap.c:151:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 151 | display_minimal_string("response "); + | ^~~~~~~~~~~ + | | + | char * In file included from local.h:30, from dns.h:30, from dns.c:26: display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +cbcp.c:122:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 122 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, + from cbcp.h:30, + from cbcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +chap.c:152:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 152 | display_minimal_string("("); + | ^~~ + | | + | char * dns.c:369:37: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 369 | display_string("Flag opcode", holder); | ^~~~~~ | | | char * In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from dns.h:30, from dns.c:26: display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +chap.c:154:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 154 | display_minimal_string(", "); + | ^~~~ + | | + | char * +In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +chap.c:156:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 156 | display_minimal_string(")"); + | ^~~ + | | + | char * +datalink.c: In function 'datalink': +In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dns.c:377:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 377 | display_string("Flag return code", holder); | ^~~~~~~~~~~~~~~~~~ @@ -1361,21 +1270,187 @@ display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +chap.c:162:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 162 | display_string("Name", name); + | ^~~~~~ + | | + | char * +esp.c: In function 'dump_esp': +cbcp.c:181:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 181 | display_minimal_string(", "); + | ^~~~ + | | + | char * +In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +datalink.c:180:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 180 | display_minimal_string(" "); + | ^~~ + | | + | char * dns.c:377:42: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 377 | display_string("Flag return code", holder); | ^~~~~~ | | | char * In file included from local.h:30, + from cbcp.h:30, + from cbcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +esp.c:79:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 79 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, from dns.h:30, from dns.c:26: display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +cbcp.c:183:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 183 | display_minimal_string("("); + | ^~~ + | | + | char * +In file included from local.h:30, + from ethernet.h:30, + from datalink.c:29: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, + from cbcp.h:30, + from cbcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, + from ip.h:30, + from ip_protocols.h:29, + from esp.c:32: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +datalink.c:185:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 185 | display_minimal_string(packet.timestamp); + | ~~~~~~^~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ethernet.h:30, + from datalink.c:29: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +cbcp.c:193:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 193 | display_minimal_string(map2str(cbcp_option_map, type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +chap.c:191:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 191 | display_minimal_string("success "); + | ^~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from cbcp.h:30, + from cbcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +datalink.c:186:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 186 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from ethernet.h:30, + from datalink.c:29: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dns.c:301:40: warning: variable 'f_rd' set but not used [-Wunused-but-set-variable] 301 | u_int8_t f_qr, f_opcode, f_aa, f_tc, f_rd, f_ra, f_zero, f_rcode; | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o http.o http.c +chap.c:193:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 193 | display_minimal_string("failure "); + | ^~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +chap.c:194:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 194 | display_minimal_string("("); + | ^~~ + | | + | char * +cbcp.c:218:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 218 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, + from cbcp.h:30, + from cbcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +chap.c:196:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 196 | display_minimal_string(")"); + | ^~~ + | | + | char * +In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +chap.c:200:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 200 | display_string("Message", message); + | ^~~~~~~~~ + | | + | char * +cbcp.c:235:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 235 | display_minimal_string(")"); + | ^~~ + | | + | char * +In file included from local.h:30, + from chap.h:30, + from chap.c:26: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, + from cbcp.h:30, + from cbcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dhcp.c: In function 'dump_dhcp': dhcp.c:164:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 164 | display_minimal_string(map2str(dhcp_op_map, dhcp.op)); @@ -1443,6 +1518,12 @@ display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +ethernet.c: In function 'dump_ethernet': +ethernet.c:72:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 72 | display_minimal_string("ETH "); + | ^~~~~~ + | | + | char * dhcp.c:268:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 268 | display_ipv4(" Mask", (u_int8_t *) holder); | ^~~~~~~~ @@ -1454,17 +1535,100 @@ display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from ethernet.h:30, + from ethernet.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ethernet.c:74:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 74 | display_minimal_string("| ETH "); + | ^~~~~~~~ + | | + | char * +In file included from local.h:30, + from ethernet.h:30, + from ethernet.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ethernet.c:76:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 76 | display_minimal_string("->"); + | ^~~~ + | | + | char * +In file included from local.h:30, + from ethernet.h:30, + from ethernet.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dhcp.c:295:16: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 295 | display_ipv4(" Address", (u_int8_t *) holder); | ^~~~~~~~~~~ | | | char * +ethernet.c:78:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 78 | display_minimal_string(" "); + | ^~~ + | | + | char * In file included from local.h:30, from arp.h:30, from dhcp.c:26: display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from ethernet.h:30, + from ethernet.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ethernet.c:105:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 105 | display_minimal_string("("); + | ^~~ + | | + | char * +In file included from local.h:30, + from ethernet.h:30, + from ethernet.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ethernet.c:107:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 107 | display_minimal_string(") "); + | ^~~~ + | | + | char * +In file included from local.h:30, + from ethernet.h:30, + from ethernet.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ethernet.c:131:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 131 | display_minimal_string("("); + | ^~~ + | | + | char * +In file included from local.h:30, + from ethernet.h:30, + from ethernet.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ethernet.c:133:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 133 | display_minimal_string(") "); + | ^~~~ + | | + | char * +In file included from local.h:30, + from ethernet.h:30, + from ethernet.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ dhcp.c:347:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 347 | display_string("Node type", holder); | ^~~~~~~~~~~ @@ -1498,7 +1662,6 @@ display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o iana.o iana.c dhcp.c:358:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 358 | display_minimal_string(" "); | ^~~ @@ -1607,528 +1770,242 @@ dhcp.c:285:2: warning: label 'case_DHCP_OPTION_IMPRESSSERVER' defined but not used [-Wunused-label] 285 | case_DHCP_OPTION_IMPRESSSERVER: /* 10 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -esp.c: In function 'dump_esp': -esp.c:79:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 79 | display_minimal_string(" "); - | ^~~ - | | - | char * +http.c: In function 'dump_http': +http.c:65:29: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] + 65 | len = get_packet_line(line, LINE_SIZE, pkt); + | ^~~~ + | | + | char * +In file included from local.h:31, + from http.h:29, + from http.c:28: +packet_manip.h:73:34: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 73 | inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); + | ^~~~~~~~~~ +http.c:81:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 81 | display_minimal_string(line); + | ^~~~ + | | + | char * In file included from local.h:30, - from ip.h:30, - from ip_protocols.h:29, - from esp.c:32: + from http.h:29, + from http.c:28: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ethernet.c: In function 'dump_ethernet': -ethernet.c:72:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 72 | display_minimal_string("ETH "); - | ^~~~~~ - | | - | char * +http.c:98:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 98 | display_string("Header", line); + | ^~~~~~~~ + | | + | char * In file included from local.h:30, - from ethernet.h:30, - from ethernet.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ethernet.c:74:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 74 | display_minimal_string("| ETH "); - | ^~~~~~~~ - | | - | char * + from http.h:29, + from http.c:28: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +http.c:98:32: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 98 | display_string("Header", line); + | ^~~~ + | | + | char * In file included from local.h:30, - from ethernet.h:30, - from ethernet.c:26: + from http.h:29, + from http.c:28: +display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +ipcp.c: In function 'dump_ipcp': +ipcp.c:152:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 152 | display_minimal_string("| IPCP "); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ipcp.h:30, + from ipcp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ethernet.c:76:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 76 | display_minimal_string("->"); - | ^~~~ +ipcp.c:153:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 153 | display_minimal_string(map2str(ipcp_code_map, ipcp.code)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from local.h:30, - from ethernet.h:30, - from ethernet.c:26: + from ipcp.h:30, + from ipcp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ethernet.c:78:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 78 | display_minimal_string(" "); +ipcp.c:154:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 154 | display_minimal_string(" "); | ^~~ | | | char * In file included from local.h:30, - from ethernet.h:30, - from ethernet.c:26: + from ipcp.h:30, + from ipcp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ethernet.c:105:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 105 | display_minimal_string("("); - | ^~~ - | | - | char * +ipcp.c:214:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 214 | display_minimal_string(", "); + | ^~~~ + | | + | char * +icmpv6.c: In function 'dump_icmpv6': In file included from local.h:30, - from ethernet.h:30, - from ethernet.c:26: + from ipcp.h:30, + from ipcp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ethernet.c:107:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 107 | display_minimal_string(") "); - | ^~~~ - | | - | char * +icmpv6.c:114:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 114 | display_minimal_string("| ICMPv6 "); + | ^~~~~~~~~~~ + | | + | char * +ipcp.c:216:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 216 | display_minimal_string("("); + | ^~~ + | | + | char * In file included from local.h:30, - from ethernet.h:30, - from ethernet.c:26: + from ipcp.h:30, + from ipcp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ethernet.c:131:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 131 | display_minimal_string("("); - | ^~~ - | | - | char * In file included from local.h:30, - from ethernet.h:30, - from ethernet.c:26: + from ipv6.h:30, + from icmpv6.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ethernet.c:133:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 133 | display_minimal_string(") "); - | ^~~~ - | | - | char * +ipcp.c:226:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 226 | display_minimal_string(map2str(ipcp_option_map, type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +icmpv6.c:115:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 115 | display_minimal_string(map2str(icmpv6_type_map, icmpv6.type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * In file included from local.h:30, - from ethernet.h:30, - from ethernet.c:26: + from ipcp.h:30, + from ipcp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -display.c: In function 'display_minimal': -display.c:378:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 378 | len = strlen(ptr); - | ^~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from global.h:44, - from display.h:29, - from display.c:26: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -display.c:390:24: warning: pointer targets in passing argument 1 of 'isprint_str' differ in signedness [-Wpointer-sign] - 390 | if (!isprint_str(ptr, len)) - | ^~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from display.h:31, - from display.c:26: -utilities.h:32:27: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 32 | inline int isprint_str(char *, int); - | ^~~~~~ -display.c:222:20: warning: variable 'ip_holder' set but not used [-Wunused-but-set-variable] - 222 | struct in_addr * ip_holder; - | ^~~~~~~~~ -display.c: In function 'display_minimal_string': -display.c:431:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 431 | display_minimal(content, strlen(content), DISP_STRING); - | ^~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from global.h:44, - from display.h:29, - from display.c:26: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -display.c: In function 'display_string': -display.c:446:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 446 | display(label, content, strlen(content), DISP_STRING_MULTILINE); - | ^~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from global.h:44, - from display.h:29, - from display.c:26: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -display.c:446:11: warning: pointer targets in passing argument 1 of 'display' differ in signedness [-Wpointer-sign] - 446 | display(label, content, strlen(content), DISP_STRING_MULTILINE); - | ^~~~~ - | | - | u_int8_t * {aka unsigned char *} -display.c:161:28: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 161 | inline void display(char * label, u_int8_t * content, u_int32_t length, - | ~~~~~~~^~~~~ -display.c: In function 'display_strmap': -display.c:465:18: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 465 | display_string(label, holder); - | ^~~~~ - | | - | char * -display.c:444:39: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 444 | inline void display_string(u_int8_t * label, u_int8_t * content) - | ~~~~~~~~~~~^~~~~ -display.c:465:25: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 465 | display_string(label, holder); - | ^~~~~~ - | | - | char * -display.c:444:57: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 444 | inline void display_string(u_int8_t * label, u_int8_t * content) - | ~~~~~~~~~~~^~~~~~~ -display.c: In function 'display_strmap_hex': -display.c:485:18: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 485 | display_string(label, holder); - | ^~~~~ - | | - | char * -display.c:444:39: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 444 | inline void display_string(u_int8_t * label, u_int8_t * content) - | ~~~~~~~~~~~^~~~~ -display.c:485:25: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 485 | display_string(label, holder); - | ^~~~~~ - | | - | char * -display.c:444:57: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 444 | inline void display_string(u_int8_t * label, u_int8_t * content) - | ~~~~~~~~~~~^~~~~~~ -display.c: In function 'display_ipv4': -display.c:500:11: warning: pointer targets in passing argument 1 of 'display' differ in signedness [-Wpointer-sign] - 500 | display(label, addr, 4, DISP_DOTTEDDEC); - | ^~~~~ - | | - | u_int8_t * {aka unsigned char *} -display.c:161:28: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 161 | inline void display(char * label, u_int8_t * content, u_int32_t length, - | ~~~~~~~^~~~~ -display.c: In function 'display_ipv6': -display.c:515:11: warning: pointer targets in passing argument 1 of 'display' differ in signedness [-Wpointer-sign] - 515 | display(label, addr, 16, DISP_HEXCOLONS4); - | ^~~~~ - | | - | u_int8_t * {aka unsigned char *} -display.c:161:28: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 161 | inline void display(char * label, u_int8_t * content, u_int32_t length, - | ~~~~~~~^~~~~ -In file included from getopt.c:34: -getopt.h:136:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - 136 | extern int getopt (); - | ^~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o icmp.o icmp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o icmpv6.o icmpv6.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o igmp.o igmp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ip.o ip.c -hexbuffer.c: In function 'hexbuffer_flush': -hexbuffer.c:132:35: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] - 132 | snprintf(temp_hexbuf+(i*3), TEMPBUFFER_SIZE-1,"%.2X ", - | ~~~~~~~~~~~^~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from global.h:29, - from hexbuffer.h:32, - from hexbuffer.c:26: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 64 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -hexbuffer.c:136:38: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] - 136 | snprintf(temp_charbuf+i, TEMPBUFFER_SIZE-1, "%c", - | ~~~~~~~~~~~~^~ - | | - | u_int8_t * {aka unsigned char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from global.h:29, - from hexbuffer.h:32, - from hexbuffer.c:26: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 64 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -hexbuffer.c:139:38: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] - 139 | snprintf(temp_charbuf+i, TEMPBUFFER_SIZE-1, "."); - | ~~~~~~~~~~~~^~ - | | - | u_int8_t * {aka unsigned char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from global.h:29, - from hexbuffer.h:32, - from hexbuffer.c:26: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 64 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ip_protocols.o ip_protocols.c -ftpctrl.c: In function 'dump_ftpctrl': -ftpctrl.c:61:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 61 | ptr = payload + strlen(payload); - | ^~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from global.h:44, - from ftpctrl.h:29, - from ftpctrl.c:26: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -ftpctrl.c:91:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 91 | strncpy(replycode_str, payload, 3); - | ^~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from global.h:29, - from ftpctrl.h:29, - from ftpctrl.c:26: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -ftpctrl.c:97:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 97 | display_minimal_string("FTP control "); - | ^~~~~~~~~~~~~~ - | | - | char * In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: + from ipv6.h:30, + from icmpv6.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ftpctrl.c:98:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 98 | display_minimal_string(replycode_str); - | ^~~~~~~~~~~~~ - | | - | char * +icmpv6.c:116:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 116 | display_minimal_string(" "); + | ^~~ + | | + | char * In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: + from ipv6.h:30, + from icmpv6.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ftpctrl.c:104:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 104 | display_string("Reply code", replycode_str); - | ^~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -ftpctrl.c:104:37: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 104 | display_string("Reply code", replycode_str); - | ^~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: -display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -ftpctrl.c:105:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 105 | display_string("Reply", payload+4); - | ^~~~~~~ - | | - | char * -In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -ftpctrl.c:89:8: warning: variable 'replycode' set but not used [-Wunused-but-set-variable] - 89 | int replycode; - | ^~~~~~~~~ -ftpctrl.c:113:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 113 | display_minimal_string("FTP control "); - | ^~~~~~~~~~~~~~ - | | - | char * +ipcp.c:263:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 263 | display_minimal_string(" "); + | ^~~ + | | + | char * +icmp.c: In function 'dump_icmp_echo': +icmpv6.c:126:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 126 | display_string("Type", holder); + | ^~~~~~ + | | + | char * In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: + from ipcp.h:30, + from ipcp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ftpctrl.c:119:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 119 | display_string("Reply", payload); - | ^~~~~~~ - | | - | char * In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: + from ipv6.h:30, + from icmpv6.c:26: display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -ftpctrl.c:130:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] - 130 | ptr = strchr(payload, ' '); - | ^~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from global.h:44, - from ftpctrl.h:29, - from ftpctrl.c:26: -/usr/include/string.h:226:34: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 226 | extern char *strchr (const char *__s, int __c) - | ~~~~~~~~~~~~^~~ -ftpctrl.c:130:11: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 130 | ptr = strchr(payload, ' '); - | ^ -ftpctrl.c:134:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 134 | ptr = payload + strlen(payload); - | ^~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from global.h:44, - from ftpctrl.h:29, - from ftpctrl.c:26: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -ftpctrl.c:141:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 141 | strncpy(requestcode_str, payload, ptr - payload); - | ^~~~~~~~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from global.h:29, - from ftpctrl.h:29, - from ftpctrl.c:26: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -ftpctrl.c:141:29: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 141 | strncpy(requestcode_str, payload, ptr - payload); - | ^~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from global.h:29, - from ftpctrl.h:29, - from ftpctrl.c:26: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -ftpctrl.c:147:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 147 | display_minimal_string("FTP control "); - | ^~~~~~~~~~~~~~ - | | - | char * +icmp.c:161:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 161 | display_minimal_string(" "); + | ^~~ + | | + | char * +icmpv6.c:126:30: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 126 | display_string("Type", holder); + | ^~~~~~ + | | + | char * +ipcp.c:264:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 264 | display_minimal_string(map2str + | ^~~~~~~ + | | + | char * + 265 | (ipcp_comp_map, + | ~~~~~~~~~~~~~~~ + 266 | comp_type)); + | ~~~~~~~~~~ In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ftpctrl.c:149:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 149 | display_minimal_string(" "); - | ^~~ - | | - | char * + from ipv6.h:30, + from icmpv6.c:26: +display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: + from ipcp.h:30, + from ipcp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ftpctrl.c:155:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 155 | display_string("Request code", requestcode_str); - | ^~~~~~~~~~~~~~ - | | - | char * In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -ftpctrl.c:157:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 157 | display_string("Request", ptr+1); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ftpctrl.h:30, - from ftpctrl.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -http.c: In function 'dump_http': -http.c:65:29: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] - 65 | len = get_packet_line(line, LINE_SIZE, pkt); - | ^~~~ - | | - | char * -In file included from local.h:31, - from http.h:29, - from http.c:28: -packet_manip.h:73:34: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 73 | inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); - | ^~~~~~~~~~ -http.c:81:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 81 | display_minimal_string(line); - | ^~~~ - | | - | char * -In file included from local.h:30, - from http.h:29, - from http.c:28: + from icmp.h:30, + from icmp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -http.c:98:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 98 | display_string("Header", line); - | ^~~~~~~~ - | | - | char * +icmpv6.c:134:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 134 | display_string("Code", holder); + | ^~~~~~ + | | + | char * In file included from local.h:30, - from http.h:29, - from http.c:28: + from ipv6.h:30, + from icmpv6.c:26: display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -http.c:98:32: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 98 | display_string("Header", line); - | ^~~~ - | | - | char * +icmpv6.c:134:27: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 134 | display_string("Code", holder); + | ^~~~~~ + | | + | char * In file included from local.h:30, - from http.h:29, - from http.c:28: + from ipv6.h:30, + from icmpv6.c:26: display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ip_services.o ip_services.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipcp.o ipcp.c -icmp.c: In function 'dump_icmp_echo': -icmp.c:161:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 161 | display_minimal_string(" "); - | ^~~ - | | - | char * +ipcp.c:293:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 293 | display_minimal_string(" "); + | ^~~ + | | + | char * In file included from local.h:30, - from icmp.h:30, - from icmp.c:26: + from ipcp.h:30, + from ipcp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -2138,35 +2015,79 @@ | ^~~ | | | char * +ipcp.c:297:21: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 297 | display_ipv4("IP address", (u_int8_t *) &value); + | ^~~~~~~~~~~~ + | | + | char * In file included from local.h:30, from icmp.h:30, from icmp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from ipcp.h:30, + from ipcp.c:26: +display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ icmp.c:210:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 210 | display_ipv4("Mask", (u_int8_t *) &mask.mask); | ^~~~~~ | | | char * +ipcp.c:310:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 310 | display_minimal_string(")"); + | ^~~ + | | + | char * In file included from local.h:30, from icmp.h:30, from icmp.c:26: display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from ipcp.h:30, + from ipcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ icmp.c: In function 'dump_icmp_routeradvert': +icmpv6.c:216:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 216 | display_minimal_string(" "); + | ^~~ + | | + | char * icmp.c:273:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 273 | display_minimal_string("("); | ^~~ | | | char * In file included from local.h:30, + from ipv6.h:30, + from icmpv6.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from icmp.h:30, from icmp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +icmpv6.c:219:15: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] + 219 | display_ipv6("Address", (u_int8_t *) &v6addr); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ipv6.h:30, + from icmpv6.c:26: +display.h:78:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 78 | inline void display_ipv6 (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ icmp.c:275:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 275 | display_minimal_string(") "); | ^~~~ @@ -2234,139 +2155,18 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipgrab.o ipgrab.c icmp.c:328:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 328 | display_minimal_string(map2str(icmp_timeexceeded_map, icmp.code)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * +ip.c: In function 'dump_ip': In file included from local.h:30, from icmp.h:30, from icmp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -gre.c: In function 'dump_gre': -gre.c:86:33: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] - 86 | reserved = (gre0.reserved_high << 5) || gre0.reserved_low; - | ~~~~~~~~~~~~~~~~~~~~^~~~~ -gre.c:112:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 112 | display_minimal_string("| GRE v0 "); - | ^~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from gre.h:30, - from gre.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gre.c:181:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 181 | display_minimal_string("| GRE v0 "); - | ^~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from gre.h:30, - from gre.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gre.c:183:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 183 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from gre.h:30, - from gre.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gre.c:318:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 318 | display_minimal_string("| GREv1 "); - | ^~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from gre.h:30, - from gre.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gre.c:354:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 354 | display_minimal_string("seq "); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from gre.h:30, - from gre.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gre.c:356:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 356 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from gre.h:30, - from gre.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gre.c:371:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 371 | display_minimal_string("ack "); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from gre.h:30, - from gre.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gre.c:373:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 373 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from gre.h:30, - from gre.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gre.c:401:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 401 | display_minimal_string("("); - | ^~~ - | | - | char * -In file included from local.h:30, - from gre.h:30, - from gre.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipv6.o ipv6.c -gre.c:403:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 403 | display_minimal_string(") "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from gre.h:30, - from gre.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipx.o ipx.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipxrip.o ipxrip.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o isakmp.o isakmp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o l2tp.o l2tp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o layers.o layers.c -ip.c: In function 'dump_ip': ip.c:127:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 127 | display_minimal_string("| IP "); | ^~~~~~~ @@ -2556,6 +2356,7 @@ | ^~~~~~~~~~~~~~~~ | | | char * +igmp.c: In function 'dump_igmp': In file included from local.h:30, from ip.h:30, from ip_protocols.h:29, @@ -2563,6 +2364,11 @@ display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +igmp.c:91:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 91 | display_minimal_string("| IGMP "); + | ^~~~~~~~~ + | | + | char * ip.c:275:35: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 275 | display_string("IP option code", holder); | ^~~~~~ @@ -2575,21 +2381,15 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -ip.c:278:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 278 | display_minimal_string(holder); - | ^~~~~~ - | | - | char * In file included from local.h:30, - from ip.h:30, - from ip_protocols.h:29, - from ip.c:27: + from igmp.h:30, + from igmp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ip.c:279:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 279 | display_minimal_string(" "); - | ^~~ +ip.c:278:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 278 | display_minimal_string(holder); + | ^~~~~~ | | | char * In file included from local.h:30, @@ -2599,170 +2399,26 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ip.c:315:24: warning: pointer targets in passing argument 1 of 'dump_ip_recordroute' differ in signedness [-Wpointer-sign] - 315 | dump_ip_recordroute(holder, opt.length-2); - | ^~~~~~ - | | - | char * -ip.c:214:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 214 | void dump_ip_recordroute(u_int8_t * rr, u_int8_t len) - | ~~~~~~~~~~~^~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o lcp.o lcp.c -ipgrab.c: In function 'main': -ipgrab.c:127:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 127 | setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -ipgrab.c:178:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 178 | setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o llc.o llc.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o loopback.o loopback.c -ipcp.c: In function 'dump_ipcp': -ipcp.c:152:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 152 | display_minimal_string("| IPCP "); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipcp.c:153:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 153 | display_minimal_string(map2str(ipcp_code_map, ipcp.code)); +igmp.c:92:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 92 | display_minimal_string(map2str(igmp_type_map, igmp.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipcp.c:154:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 154 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipcp.c:214:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 214 | display_minimal_string(", "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipcp.c:216:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 216 | display_minimal_string("("); - | ^~~ - | | - | char * -In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipcp.c:226:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 226 | display_minimal_string(map2str(ipcp_option_map, type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipcp.c:263:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 263 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipcp.c:264:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 264 | display_minimal_string(map2str - | ^~~~~~~ - | | - | char * - 265 | (ipcp_comp_map, - | ~~~~~~~~~~~~~~~ - 266 | comp_type)); - | ~~~~~~~~~~ -In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipcp.c:293:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 293 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipcp.c:297:21: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 297 | display_ipv4("IP address", (u_int8_t *) &value); - | ^~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -ipcp.c:310:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 310 | display_minimal_string(")"); - | ^~~ - | | - | char * -In file included from local.h:30, - from ipcp.h:30, - from ipcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -igmp.c: In function 'dump_igmp': -igmp.c:91:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 91 | display_minimal_string("| IGMP "); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, from igmp.h:30, from igmp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -igmp.c:92:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 92 | display_minimal_string(map2str(igmp_type_map, igmp.type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +ip.c:279:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 279 | display_minimal_string(" "); + | ^~~ + | | + | char * In file included from local.h:30, - from igmp.h:30, - from igmp.c:26: + from ip.h:30, + from ip_protocols.h:29, + from ip.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -2788,6 +2444,11 @@ display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +ip.c:315:24: warning: pointer targets in passing argument 1 of 'dump_ip_recordroute' differ in signedness [-Wpointer-sign] + 315 | dump_ip_recordroute(holder, opt.length-2); + | ^~~~~~ + | | + | char * igmp.c:103:30: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 103 | display_string("Type", holder); | ^~~~~~ @@ -2799,6 +2460,9 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +ip.c:214:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 214 | void dump_ip_recordroute(u_int8_t * rr, u_int8_t len) + | ~~~~~~~~~~~^~ igmp.c:113:15: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 113 | display_ipv4("Group address", (u_int8_t *) &igmp.address); | ^~~~~~~~~~~~~~~ @@ -2810,141 +2474,6 @@ display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o mgcp.o mgcp.c -ipx.c: In function 'dump_ipx': -ipx.c:98:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 98 | display_minimal_string("| IPX "); - | ^~~~~~~~ - | | - | char * -In file included from local.h:30, - from ipx.h:30, - from ipx.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipx.c:100:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 100 | display_minimal_string("->"); - | ^~~~ - | | - | char * -In file included from local.h:30, - from ipx.h:30, - from ipx.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipx.c:102:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 102 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ipx.h:30, - from ipx.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -icmpv6.c: In function 'dump_icmpv6': -icmpv6.c:114:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 114 | display_minimal_string("| ICMPv6 "); - | ^~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ipv6.h:30, - from icmpv6.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -icmpv6.c:115:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 115 | display_minimal_string(map2str(icmpv6_type_map, icmpv6.type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ipv6.h:30, - from icmpv6.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -icmpv6.c:116:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 116 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ipv6.h:30, - from icmpv6.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -icmpv6.c:126:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 126 | display_string("Type", holder); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from ipv6.h:30, - from icmpv6.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -icmpv6.c:126:30: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 126 | display_string("Type", holder); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from ipv6.h:30, - from icmpv6.c:26: -display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -icmpv6.c:134:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 134 | display_string("Code", holder); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from ipv6.h:30, - from icmpv6.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -icmpv6.c:134:27: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 134 | display_string("Code", holder); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from ipv6.h:30, - from icmpv6.c:26: -display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -icmpv6.c:216:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 216 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ipv6.h:30, - from icmpv6.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -icmpv6.c:219:15: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] - 219 | display_ipv6("Address", (u_int8_t *) &v6addr); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ipv6.h:30, - from icmpv6.c:26: -display.h:78:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 78 | inline void display_ipv6 (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ ipv6.c: In function 'dump_ipv6': ipv6.c:111:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 111 | display_minimal_string("| IPv6 "); @@ -3012,8 +2541,14 @@ display.h:78:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 78 | inline void display_ipv6 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o mobileip.o mobileip.c +ipgrab.c: In function 'main': +ipgrab.c:127:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 127 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ l2tp.c: In function 'dump_l2tp_avp': +ipgrab.c:178:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 178 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ l2tp.c:337:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 337 | display_minimal_string(map2str(l2tp_ctrl_map, attr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3114,157 +2649,49 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o mppc.o mppc.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o netbios_ns.o netbios_ns.c -lcp.c: In function 'dump_lcp': -lcp.c:184:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 184 | display_minimal_string("| LCP "); +ipx.c: In function 'dump_ipx': +ipx.c:98:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 98 | display_minimal_string("| IPX "); | ^~~~~~~~ | | | char * In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: + from ipx.h:30, + from ipx.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -lcp.c:185:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 185 | display_minimal_string(map2str(lcp_code_map, lcp.code)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +llc.c: In function 'dump_llc': +llc.c:63:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 63 | display_minimal_string("| LLC "); + | ^~~~~~~~ | | | char * -In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -lcp.c:186:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 186 | display_minimal_string(" "); - | ^~~ +ipx.c:100:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 100 | display_minimal_string("->"); + | ^~~~ | | | char * In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -lcp.c:246:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 246 | display_minimal_string(", "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -lcp.c:248:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 248 | display_minimal_string("("); - | ^~~ - | | - | char * -In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: + from ipx.h:30, + from ipx.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -lcp.c:258:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 258 | display_minimal_string(map2str(lcp_option_map, type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipx.c:102:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 102 | display_minimal_string(" "); + | ^~~ | | | char * In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -lcp.c:283:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 283 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -lcp.c:300:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 300 | display_minimal_string(")"); - | ^~~ - | | - | char * -In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -lcp.c:358:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 358 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -lcp.c:384:23: warning: pointer targets in passing argument 1 of 'isprint_str' differ in signedness [-Wpointer-sign] - 384 | if (isprint_str(data, data_len)) - | ^~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from display.h:31, - from local.h:30, - from lcp.h:30, - from lcp.c:26: -utilities.h:32:27: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 32 | inline int isprint_str(char *, int); - | ^~~~~~ -lcp.c:385:24: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 385 | display_string("Data", data); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -lcp.c:421:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 421 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from lcp.h:30, - from lcp.c:26: + from llc.h:30, + from llc.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o nntp.o nntp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ns_labels.o ns_labels.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o open_pcap.o open_pcap.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ospf.o ospf.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o packet_manip.o packet_manip.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o padding.o padding.c -llc.c: In function 'dump_llc': -llc.c:63:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 63 | display_minimal_string("| LLC "); - | ^~~~~~~~ - | | - | char * In file included from local.h:30, - from llc.h:30, - from llc.c:27: + from ipx.h:30, + from ipx.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -3279,6 +2706,7 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ns_labels.o ns_labels.c llc.c:67:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 67 | display_minimal_string(" "); | ^~~ @@ -3323,8 +2751,49 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o parse_cl.o parse_cl.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o payload.o payload.c +hexbuffer.c: In function 'hexbuffer_flush': +hexbuffer.c:132:35: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] + 132 | snprintf(temp_hexbuf+(i*3), TEMPBUFFER_SIZE-1,"%.2X ", + | ~~~~~~~~~~~^~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from global.h:29, + from hexbuffer.h:32, + from hexbuffer.c:26: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 64 | __NTH (snprintf (char *__restrict __s, size_t __n, + | ^~~~~ +hexbuffer.c:136:38: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] + 136 | snprintf(temp_charbuf+i, TEMPBUFFER_SIZE-1, "%c", + | ~~~~~~~~~~~~^~ + | | + | u_int8_t * {aka unsigned char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from global.h:29, + from hexbuffer.h:32, + from hexbuffer.c:26: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 64 | __NTH (snprintf (char *__restrict __s, size_t __n, + | ^~~~~ +hexbuffer.c:139:38: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] + 139 | snprintf(temp_charbuf+i, TEMPBUFFER_SIZE-1, "."); + | ~~~~~~~~~~~~^~ + | | + | u_int8_t * {aka unsigned char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from global.h:29, + from hexbuffer.h:32, + from hexbuffer.c:26: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 64 | __NTH (snprintf (char *__restrict __s, size_t __n, + | ^~~~~ mgcp.c: In function 'is_mgcp': mgcp.c:47:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 47 | if ( !strncmp(pkt->current,"EPCF",4) ) return 1; @@ -3425,7 +2894,440 @@ /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o open_pcap.o open_pcap.c +ftpctrl.c: In function 'dump_ftpctrl': +ftpctrl.c:61:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 61 | ptr = payload + strlen(payload); + | ^~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from global.h:44, + from ftpctrl.h:29, + from ftpctrl.c:26: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +display.c: In function 'display_minimal': +display.c:378:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 378 | len = strlen(ptr); + | ^~~ + | | + | u_int8_t * {aka unsigned char *} +ftpctrl.c:91:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 91 | strncpy(replycode_str, payload, 3); + | ^~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from global.h:29, + from ftpctrl.h:29, + from ftpctrl.c:26: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +In file included from global.h:44, + from display.h:29, + from display.c:26: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +ftpctrl.c:97:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 97 | display_minimal_string("FTP control "); + | ^~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ftpctrl.c:98:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 98 | display_minimal_string(replycode_str); + | ^~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +display.c:390:24: warning: pointer targets in passing argument 1 of 'isprint_str' differ in signedness [-Wpointer-sign] + 390 | if (!isprint_str(ptr, len)) + | ^~~ + | | + | u_int8_t * {aka unsigned char *} +ftpctrl.c:104:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 104 | display_string("Reply code", replycode_str); + | ^~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +In file included from display.h:31, + from display.c:26: +utilities.h:32:27: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 32 | inline int isprint_str(char *, int); + | ^~~~~~ +ftpctrl.c:104:37: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 104 | display_string("Reply code", replycode_str); + | ^~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +ftpctrl.c:105:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 105 | display_string("Reply", payload+4); + | ^~~~~~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +ftpctrl.c:89:8: warning: variable 'replycode' set but not used [-Wunused-but-set-variable] + 89 | int replycode; + | ^~~~~~~~~ +ftpctrl.c:113:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 113 | display_minimal_string("FTP control "); + | ^~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +display.c:222:20: warning: variable 'ip_holder' set but not used [-Wunused-but-set-variable] + 222 | struct in_addr * ip_holder; + | ^~~~~~~~~ +ftpctrl.c:119:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 119 | display_string("Reply", payload); + | ^~~~~~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +display.c: In function 'display_minimal_string': +ftpctrl.c:130:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] + 130 | ptr = strchr(payload, ' '); + | ^~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from global.h:44, + from ftpctrl.h:29, + from ftpctrl.c:26: +/usr/include/string.h:226:34: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 226 | extern char *strchr (const char *__s, int __c) + | ~~~~~~~~~~~~^~~ +display.c:431:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 431 | display_minimal(content, strlen(content), DISP_STRING); + | ^~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +ftpctrl.c:130:11: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 130 | ptr = strchr(payload, ' '); + | ^ +In file included from global.h:44, + from display.h:29, + from display.c:26: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +display.c: In function 'display_string': +ftpctrl.c:134:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 134 | ptr = payload + strlen(payload); + | ^~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from global.h:44, + from ftpctrl.h:29, + from ftpctrl.c:26: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +ftpctrl.c:141:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 141 | strncpy(requestcode_str, payload, ptr - payload); + | ^~~~~~~~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +display.c:446:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 446 | display(label, content, strlen(content), DISP_STRING_MULTILINE); + | ^~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from global.h:29, + from ftpctrl.h:29, + from ftpctrl.c:26: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +In file included from global.h:44, + from display.h:29, + from display.c:26: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +ftpctrl.c:141:29: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 141 | strncpy(requestcode_str, payload, ptr - payload); + | ^~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from global.h:29, + from ftpctrl.h:29, + from ftpctrl.c:26: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected 'const char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +display.c:446:11: warning: pointer targets in passing argument 1 of 'display' differ in signedness [-Wpointer-sign] + 446 | display(label, content, strlen(content), DISP_STRING_MULTILINE); + | ^~~~~ + | | + | u_int8_t * {aka unsigned char *} +display.c:161:28: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 161 | inline void display(char * label, u_int8_t * content, u_int32_t length, + | ~~~~~~~^~~~~ +ftpctrl.c:147:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 147 | display_minimal_string("FTP control "); + | ^~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ftpctrl.c:149:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 149 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +display.c: In function 'display_strmap': +ftpctrl.c:155:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 155 | display_string("Request code", requestcode_str); + | ^~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +display.c:465:18: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 465 | display_string(label, holder); + | ^~~~~ + | | + | char * +ftpctrl.c:157:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 157 | display_string("Request", ptr+1); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ftpctrl.h:30, + from ftpctrl.c:26: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +display.c:444:39: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 444 | inline void display_string(u_int8_t * label, u_int8_t * content) + | ~~~~~~~~~~~^~~~~ +display.c:465:25: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 465 | display_string(label, holder); + | ^~~~~~ + | | + | char * +display.c:444:57: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 444 | inline void display_string(u_int8_t * label, u_int8_t * content) + | ~~~~~~~~~~~^~~~~~~ +display.c: In function 'display_strmap_hex': +display.c:485:18: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 485 | display_string(label, holder); + | ^~~~~ + | | + | char * +display.c:444:39: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 444 | inline void display_string(u_int8_t * label, u_int8_t * content) + | ~~~~~~~~~~~^~~~~ +display.c:485:25: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 485 | display_string(label, holder); + | ^~~~~~ + | | + | char * +gre.c: In function 'dump_gre': +display.c:444:57: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 444 | inline void display_string(u_int8_t * label, u_int8_t * content) + | ~~~~~~~~~~~^~~~~~~ +display.c: In function 'display_ipv4': +gre.c:86:33: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] + 86 | reserved = (gre0.reserved_high << 5) || gre0.reserved_low; + | ~~~~~~~~~~~~~~~~~~~~^~~~~ +display.c:500:11: warning: pointer targets in passing argument 1 of 'display' differ in signedness [-Wpointer-sign] + 500 | display(label, addr, 4, DISP_DOTTEDDEC); + | ^~~~~ + | | + | u_int8_t * {aka unsigned char *} +display.c:161:28: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 161 | inline void display(char * label, u_int8_t * content, u_int32_t length, + | ~~~~~~~^~~~~ +gre.c:112:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 112 | display_minimal_string("| GRE v0 "); + | ^~~~~~~~~~~ + | | + | char * +display.c: In function 'display_ipv6': +display.c:515:11: warning: pointer targets in passing argument 1 of 'display' differ in signedness [-Wpointer-sign] + 515 | display(label, addr, 16, DISP_HEXCOLONS4); + | ^~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from local.h:30, + from gre.h:30, + from gre.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +display.c:161:28: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 161 | inline void display(char * label, u_int8_t * content, u_int32_t length, + | ~~~~~~~^~~~~ +gre.c:181:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 181 | display_minimal_string("| GRE v0 "); + | ^~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from gre.h:30, + from gre.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +gre.c:183:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 183 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from gre.h:30, + from gre.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +gre.c:318:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 318 | display_minimal_string("| GREv1 "); + | ^~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from gre.h:30, + from gre.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +gre.c:354:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 354 | display_minimal_string("seq "); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from gre.h:30, + from gre.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ospf.o ospf.c +gre.c:356:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 356 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from gre.h:30, + from gre.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o packet_manip.o packet_manip.c +gre.c:371:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 371 | display_minimal_string("ack "); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from gre.h:30, + from gre.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +gre.c:373:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 373 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from gre.h:30, + from gre.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +gre.c:401:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 401 | display_minimal_string("("); + | ^~~ + | | + | char * +In file included from local.h:30, + from gre.h:30, + from gre.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +gre.c:403:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 403 | display_minimal_string(") "); + | ^~~~ + | | + | char * +In file included from local.h:30, + from gre.h:30, + from gre.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o padding.o padding.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o parse_cl.o parse_cl.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o payload.o payload.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ppp.o ppp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o pppoe.o pppoe.c loopback.c: In function 'dump_loopback': loopback.c:60:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 60 | display_minimal_string("LOOPBACK "); @@ -3449,15 +3351,223 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o pppoe.o pppoe.c +nntp.c: In function 'dump_nntp': +nntp.c:77:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 77 | display_minimal_string("| NNTP "); + | ^~~~~~~~~ + | | + | char * gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o pptp.o pptp.c +In file included from local.h:30, + from nntp.h:30, + from nntp.c:31: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o radius.o radius.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o radius_3gpp2.o radius_3gpp2.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o raw.o raw.c +netbios_ns.c: In function 'dump_netbios_ns_questions': +netbios_ns.c:220:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 220 | display_minimal_string(holder); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:221:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 221 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:225:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 225 | display_string("Query", holder); + | ^~~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:225:28: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 225 | display_string("Query", holder); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:228:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 228 | display_string(" Type", holder); + | ^~~~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:228:29: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 228 | display_string(" Type", holder); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:231:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 231 | display_string(" Query class", holder); + | ^~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:231:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 231 | display_string(" Query class", holder); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c: In function 'dump_netbios_ns_answers': +netbios_ns.c:302:25: warning: pointer targets in passing argument 2 of 'parse_ns_labels' differ in signedness [-Wpointer-sign] + 302 | parse_ns_labels(pkt, resource_data); + | ^~~~~~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rip.o rip.c +In file included from netbios_ns.c:28: +ns_labels.h:54:34: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 54 | void parse_ns_labels(packet_t *, char *); + | ^~~~~~ +netbios_ns.c:326:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 326 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ripng.o ripng.c +netbios_ns.c:331:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 331 | display_string(answer_type, holder); + | ^~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:331:32: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 331 | display_string(answer_type, holder); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rsvp.o rsvp.c +netbios_ns.c:334:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 334 | display_string(" Query type", holder); + | ^~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:334:35: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 334 | display_string(" Query type", holder); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:337:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 337 | display_string(" Query class", holder); + | ^~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:337:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 337 | display_string(" Query class", holder); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:345:21: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 345 | display_ipv4(" Resource data", (u_int8_t *) resource_data); + | ^~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ mobileip.c: In function 'dump_mobileip_ext_sessionspecific': mobileip.c:321:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 321 | display_minimal_string(map2str(mobileip_ext_map, ss.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * +netbios_ns.c:349:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 349 | display_string(" Resource data", resource_data); + | ^~~~~~~~~~~~~~~~~ + | | + | char * In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: @@ -3470,11 +3580,21 @@ | | | char * In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +netbios_ns.c: In function 'dump_netbios_ns': +netbios_ns.c:409:29: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] + 409 | flags = (nb_ns.flags_high << 4) || nb_ns.flags_low; + | ~~~~~~~~~~~~~~~~~~^~~~~ mobileip.c: In function 'dump_mobileip_ext_cvse': mobileip.c:396:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 396 | display_minimal_string(map2str(mobileip_ext_map, cvse.type)); @@ -3498,18 +3618,34 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +netbios_ns.c:428:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 428 | display_minimal_string("| NETBIOS NS "); + | ^~~~~~~~~~~~~~~ + | | + | char * mobileip.c: In function 'dump_mobileip_ext_nai': mobileip.c:451:24: warning: pointer targets in passing argument 1 of 'get_packet_bytes' differ in signedness [-Wpointer-sign] 451 | if (get_packet_bytes(nai, pkt, length) == 0) | ^~~ | | | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ In file included from local.h:31, from mobileip.h:30, from mobileip.c:27: packet_manip.h:71:35: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 71 | inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); | ^~~~~~~~~~ +netbios_ns.c:429:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 429 | display_minimal_string(map2str(netbios_ns_r_map, r)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * mobileip.c:463:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 463 | display_string(" NAI", nai); | ^~~~~~~ @@ -3521,6 +3657,12 @@ display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ mobileip.c:463:31: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 463 | display_string(" NAI", nai); | ^~~ @@ -3536,6 +3678,22 @@ mobileip.c:496:13: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 496 | challenge = (char *) malloc (length+2); | ^ +netbios_ns.c:430:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 430 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +netbios_ns.c:440:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] + 440 | snprintf(holder, HOLDER_SIZE, "%d (%s)", r, + | ^~~~~~ + | | + | u_int8_t * {aka unsigned char *} mobileip.c: In function 'dump_mobileip_ext_mhauth': mobileip.c:597:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 597 | display_minimal_string(map2str(mobileip_ext_map, mh.type)); @@ -3548,6 +3706,14 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from global.h:29, + from netbios_ns.c:26: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 64 | __NTH (snprintf (char *__restrict __s, size_t __n, + | ^~~~~ mobileip.c:598:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 598 | display_minimal_string(" "); | ^~~ @@ -3559,6 +3725,17 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +netbios_ns.c:442:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 442 | display_string("R", holder); + | ^~~ + | | + | char * +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ mobileip.c: In function 'dump_mobileip': mobileip.c:643:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 643 | display_minimal_string("| Mobile IP "); @@ -3571,6 +3748,19 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +netbios_ns.c:443:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] + 443 | snprintf(holder, HOLDER_SIZE, "%d (%s)", opcode, + | ^~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from global.h:29, + from netbios_ns.c:26: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 64 | __NTH (snprintf (char *__restrict __s, size_t __n, + | ^~~~~ mobileip.c:667:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 667 | display_minimal_string(map2str(mobileip_type_map, regreq.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3593,6 +3783,11 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +netbios_ns.c:445:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 445 | display_string("Opcode", holder); + | ^~~~~~~~ + | | + | char * mobileip.c:669:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 669 | display_minimal_string("addr:"); | ^~~~~~~ @@ -3604,6 +3799,12 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ mobileip.c:671:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 671 | display_minimal_string(",HA:"); | ^~~~~~ @@ -3620,34 +3821,93 @@ | ^~~~~~~ | | | char * +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rtcp.o rtcp.c +lcp.c: In function 'dump_lcp': In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +lcp.c:184:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 184 | display_minimal_string("| LCP "); + | ^~~~~~~~ + | | + | char * +netbios_ns.c:446:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] + 446 | snprintf(holder, HOLDER_SIZE, "%d (%s)", rcode, + | ^~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from /usr/include/features.h:461, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from global.h:29, + from netbios_ns.c:26: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 64 | __NTH (snprintf (char *__restrict __s, size_t __n, + | ^~~~~ mobileip.c:675:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 675 | display_minimal_string(") "); | ^~~~ | | | char * In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +netbios_ns.c:448:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 448 | display_string("Rcode", holder); + | ^~~~~~~ + | | + | char * +lcp.c:185:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 185 | display_minimal_string(map2str(lcp_code_map, lcp.code)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ mobileip.c:682:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 682 | display_ipv4("Home address", (u_int8_t *) ®req.home_addr); | ^~~~~~~~~~~~~~ | | | char * In file included from local.h:30, + from netbios_ns.h:30, + from netbios_ns.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +lcp.c:186:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 186 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ mobileip.c:683:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 683 | display_ipv4("Home agent", (u_int8_t *) ®req.home_agent); | ^~~~~~~~~~~~ @@ -3659,6 +3919,12 @@ display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +netbios_ns.c:377:64: warning: variable 'flag_b' set but not used [-Wunused-but-set-variable] + 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; + | ^~~~~~ +netbios_ns.c:377:52: warning: variable 'flag_zeros' set but not used [-Wunused-but-set-variable] + 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; + | ^~~~~~~~~~ mobileip.c:684:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 684 | display_ipv4("Care of address", (u_int8_t *) ®req.care_of_addr); | ^~~~~~~~~~~~~~~~~ @@ -3670,6 +3936,29 @@ display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +netbios_ns.c:377:43: warning: variable 'flag_ra' set but not used [-Wunused-but-set-variable] + 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; + | ^~~~~~~ +netbios_ns.c:377:34: warning: variable 'flag_rd' set but not used [-Wunused-but-set-variable] + 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; + | ^~~~~~~ +netbios_ns.c:377:25: warning: variable 'flag_tc' set but not used [-Wunused-but-set-variable] + 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; + | ^~~~~~~ +netbios_ns.c:377:16: warning: variable 'flag_aa' set but not used [-Wunused-but-set-variable] + 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; + | ^~~~~~~ +lcp.c:246:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 246 | display_minimal_string(", "); + | ^~~~ + | | + | char * +In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ mobileip.c:705:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 705 | display_minimal_string(map2str(mobileip_type_map, regrep.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3681,17 +3970,39 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +lcp.c:248:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 248 | display_minimal_string("("); + | ^~~ + | | + | char * +In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ mobileip.c:706:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 706 | display_minimal_string(" ("); | ^~~~ | | | char * +lcp.c:258:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 258 | display_minimal_string(map2str(lcp_option_map, type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ mobileip.c:707:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 707 | display_minimal_string("addr:"); | ^~~~~~~ @@ -3703,12 +4014,23 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +lcp.c:283:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 283 | display_minimal_string(" "); + | ^~~ + | | + | char * mobileip.c:709:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 709 | display_minimal_string(",HA:"); | ^~~~~~ | | | char * In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' @@ -3719,6 +4041,17 @@ | ^~~~ | | | char * +lcp.c:300:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 300 | display_minimal_string(")"); + | ^~~ + | | + | char * +In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: @@ -3730,6 +4063,17 @@ | ^~~~~~~~~~~~~~ | | | char * +lcp.c:358:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 358 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: @@ -3747,17 +4091,40 @@ display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +lcp.c:384:23: warning: pointer targets in passing argument 1 of 'isprint_str' differ in signedness [-Wpointer-sign] + 384 | if (isprint_str(data, data_len)) + | ^~~~ + | | + | u_int8_t * {aka unsigned char *} mobileip.c:738:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 738 | display_minimal_string(map2str(mobileip_type_map, regupdate.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * +In file included from display.h:31, + from local.h:30, + from lcp.h:30, + from lcp.c:26: +utilities.h:32:27: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 32 | inline int isprint_str(char *, int); + | ^~~~~~ In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +lcp.c:385:24: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 385 | display_string("Data", data); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ mobileip.c:739:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 739 | display_minimal_string(" ("); | ^~~~ @@ -3769,12 +4136,23 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +lcp.c:421:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 421 | display_minimal_string(" "); + | ^~~ + | | + | char * mobileip.c:740:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 740 | display_minimal_string("addr:"); | ^~~~~~~ | | | char * In file included from local.h:30, + from lcp.h:30, + from lcp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' @@ -3791,13 +4169,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o radius_3gpp2.o radius_3gpp2.c -netbios_ns.c: In function 'dump_netbios_ns_questions': -netbios_ns.c:220:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 220 | display_minimal_string(holder); - | ^~~~~~ - | | - | char * mobileip.c:744:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 744 | display_minimal_string(") "); | ^~~~ @@ -3809,116 +4180,34 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:221:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 221 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:225:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 225 | display_string("Query", holder); - | ^~~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ mobileip.c:750:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 750 | display_ipv4("Home address", (u_int8_t *) ®update.home_addr); | ^~~~~~~~~~~~~~ | | | char * -netbios_ns.c:225:28: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 225 | display_string("Query", holder); - | ^~~~~~ - | | - | char * In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ mobileip.c:751:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 751 | display_ipv4("Home agent", (u_int8_t *) ®update.home_agent); | ^~~~~~~~~~~~ | | | char * -netbios_ns.c:228:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 228 | display_string(" Type", holder); - | ^~~~~~~~ - | | - | char * In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:228:29: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 228 | display_string(" Type", holder); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:231:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 231 | display_string(" Query class", holder); - | ^~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:231:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 231 | display_string(" Query class", holder); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ mobileip.c:772:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 772 | display_minimal_string(map2str(mobileip_type_map, regack.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rtp.o rtp.c In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: @@ -3936,12 +4225,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -netbios_ns.c: In function 'dump_netbios_ns_answers': -netbios_ns.c:302:25: warning: pointer targets in passing argument 2 of 'parse_ns_labels' differ in signedness [-Wpointer-sign] - 302 | parse_ns_labels(pkt, resource_data); - | ^~~~~~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} mobileip.c:774:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 774 | display_minimal_string("addr:"); | ^~~~~~~ @@ -3953,10 +4236,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -In file included from netbios_ns.c:28: -ns_labels.h:54:34: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 54 | void parse_ns_labels(packet_t *, char *); - | ^~~~~~ mobileip.c:776:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 776 | display_minimal_string(",HA:"); | ^~~~~~ @@ -3968,28 +4247,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -netbios_ns.c:326:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 326 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:331:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 331 | display_string(answer_type, holder); - | ^~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ mobileip.c:778:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 778 | display_minimal_string(") "); | ^~~~ @@ -4001,246 +4258,78 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -netbios_ns.c:331:32: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 331 | display_string(answer_type, holder); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:334:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 334 | display_string(" Query type", holder); - | ^~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ mobileip.c:785:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 785 | display_ipv4("Home address", (u_int8_t *) ®ack.home_addr); | ^~~~~~~~~~~~~~ | | | char * -netbios_ns.c:334:35: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 334 | display_string(" Query type", holder); - | ^~~~~~ - | | - | char * In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:337:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 337 | display_string(" Query class", holder); - | ^~~~~~~~~~~~~~~ - | | - | char * mobileip.c:786:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 786 | display_ipv4("Home agent", (u_int8_t *) ®ack.home_agent); | ^~~~~~~~~~~~ | | | char * In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -In file included from local.h:30, from mobileip.h:30, from mobileip.c:27: display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -netbios_ns.c:337:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 337 | display_string(" Query class", holder); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:345:21: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 345 | display_ipv4(" Resource data", (u_int8_t *) resource_data); - | ^~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:349:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 349 | display_string(" Resource data", resource_data); - | ^~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c: In function 'dump_netbios_ns': -netbios_ns.c:409:29: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] - 409 | flags = (nb_ns.flags_high << 4) || nb_ns.flags_low; - | ~~~~~~~~~~~~~~~~~~^~~~~ -netbios_ns.c:428:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 428 | display_minimal_string("| NETBIOS NS "); - | ^~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:429:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 429 | display_minimal_string(map2str(netbios_ns_r_map, r)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:430:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 430 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:440:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] - 440 | snprintf(holder, HOLDER_SIZE, "%d (%s)", r, - | ^~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from global.h:29, - from netbios_ns.c:26: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 64 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -netbios_ns.c:442:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 442 | display_string("R", holder); - | ^~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:443:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] - 443 | snprintf(holder, HOLDER_SIZE, "%d (%s)", opcode, - | ^~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from global.h:29, - from netbios_ns.c:26: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 64 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -netbios_ns.c:445:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 445 | display_string("Opcode", holder); - | ^~~~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:446:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] - 446 | snprintf(holder, HOLDER_SIZE, "%d (%s)", rcode, - | ^~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from /usr/include/features.h:461, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from global.h:29, - from netbios_ns.c:26: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 64 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -netbios_ns.c:448:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 448 | display_string("Rcode", holder); - | ^~~~~~~ - | | - | char * -In file included from local.h:30, - from netbios_ns.h:30, - from netbios_ns.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:377:64: warning: variable 'flag_b' set but not used [-Wunused-but-set-variable] - 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; - | ^~~~~~ -nntp.c: In function 'dump_nntp': -netbios_ns.c:377:52: warning: variable 'flag_zeros' set but not used [-Wunused-but-set-variable] - 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; - | ^~~~~~~~~~ -nntp.c:77:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 77 | display_minimal_string("| NNTP "); - | ^~~~~~~~~ - | | - | char * -netbios_ns.c:377:43: warning: variable 'flag_ra' set but not used [-Wunused-but-set-variable] - 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; - | ^~~~~~~ -In file included from local.h:30, - from nntp.h:30, - from nntp.c:31: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -netbios_ns.c:377:34: warning: variable 'flag_rd' set but not used [-Wunused-but-set-variable] - 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; - | ^~~~~~~ -netbios_ns.c:377:25: warning: variable 'flag_tc' set but not used [-Wunused-but-set-variable] - 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; - | ^~~~~~~ -netbios_ns.c:377:16: warning: variable 'flag_aa' set but not used [-Wunused-but-set-variable] - 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; - | ^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o raw.o raw.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o sdp.o sdp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o sip.o sip.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o slip.o slip.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o slp.o slp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o snmp.o snmp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o spx.o spx.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ssh.o ssh.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o state.o state.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o stats.o stats.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o strmap.o strmap.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o tcp.o tcp.c +open_pcap.c: In function 'open_pcap': +open_pcap.c:74:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] + 74 | my_args->i = pcap_lookupdev(errorbuf); + | ^~~~~~~ +In file included from /usr/include/pcap.h:43, + from global.h:68, + from open_pcap.h:31, + from open_pcap.c:28: +/usr/include/pcap/pcap.h:394:16: note: declared here + 394 | PCAP_API char *pcap_lookupdev(char *) + | ^~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o tftp.o tftp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o udp.o udp.c +padding.c: In function 'dump_padding': +padding.c:56:29: warning: pointer targets in passing argument 1 of 'get_packet_bytestoend' differ in signedness [-Wpointer-sign] + 56 | if (get_packet_bytestoend(holder, pkt, bytes) == 0) + | ^~~~~~ + | | + | char * +In file included from local.h:31, + from padding.h:30, + from padding.c:27: +packet_manip.h:72:40: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 72 | inline int get_packet_bytestoend(u_int8_t *, packet_t *, unsigned int); + | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o utilities.o utilities.c +payload.c: In function 'dump_payload': +payload.c:61:24: warning: pointer targets in passing argument 1 of 'get_packet_bytes' differ in signedness [-Wpointer-sign] + 61 | if (get_packet_bytes(holder, pkt, bytes) == 0) + | ^~~~~~ + | | + | char * ospf.c: In function 'dump_ospf_hello': +In file included from local.h:31, + from payload.h:30, + from payload.c:27: +packet_manip.h:71:35: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 71 | inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); + | ^~~~~~~~~~ ospf.c:95:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 95 | display_minimal_string(" "); | ^~~ @@ -4418,69 +4507,165 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rip.o rip.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ripng.o ripng.c -ppp.c: In function 'dump_ppp': -ppp.c:130:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 130 | display_minimal_string("| PPP "); - | ^~~~~~~~ - | | - | char * +pppoe.c: In function 'dump_pppoe_hdr': +pppoe.c:141:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 141 | display_minimal_string("| PPPOE "); + | ^~~~~~~~~~ + | | + | char * In file included from local.h:30, - from ppp.h:30, - from ppp.c:26: + from pppoe.h:31, + from pppoe.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ppp.c:178:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 178 | display_minimal_string("PPP "); - | ^~~~~~ - | | - | char * +ripng.c: In function 'dump_ripng': +ripng.c:76:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 76 | display_minimal_string("| RIPng "); + | ^~~~~~~~~~ + | | + | char * In file included from local.h:30, - from ppp.h:30, - from ppp.c:26: + from ripng.h:30, + from ripng.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ripng.c:77:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 77 | display_minimal_string(map2str(ripng_command_map, ripng.command)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ripng.h:30, + from ripng.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ripng.c:78:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 78 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from ripng.h:30, + from ripng.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ripng.c:87:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 87 | display_string("Command", holder); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ripng.h:30, + from ripng.c:27: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +ripng.c:87:33: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 87 | display_string("Command", holder); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from ripng.h:30, + from ripng.c:27: +display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +ripng.c:120:17: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] + 120 | display_ipv6("Address", (u_int8_t *) &ripng_route.address); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ripng.h:30, + from ripng.c:27: +display.h:78:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 78 | inline void display_ipv6 (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +ripng.c:135:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 135 | display_minimal_string(" routes "); + | ^~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ripng.h:30, + from ripng.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius_3gpp2.c: In function 'dump_radius_3gpp2': +radius_3gpp2.c:163:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 163 | display_minimal_string(map2str(radius_attr_map, type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from radius_3gpp2.h:30, + from radius_3gpp2.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius_3gpp2.c:164:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 164 | display_minimal_string("["); + | ^~~ + | | + | char * +In file included from local.h:30, + from radius_3gpp2.h:30, + from radius_3gpp2.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius_3gpp2.c:165:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 165 | display_minimal_string(map2str(iana_enterprise_map, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * + 166 | IANA_ENTERPRISE_3GPP2)); + | ~~~~~~~~~~~~~~~~~~~~~~ +In file included from local.h:30, + from radius_3gpp2.h:30, + from radius_3gpp2.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius_3gpp2.c:167:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 167 | display_minimal_string("]: "); + | ^~~~~ + | | + | char * +In file included from local.h:30, + from radius_3gpp2.h:30, + from radius_3gpp2.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius_3gpp2.c:168:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 168 | display_minimal_string(map2str(radius_attr_3gpp2_map, vendortype)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from radius_3gpp2.h:30, + from radius_3gpp2.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius_3gpp2.c:169:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 169 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from radius_3gpp2.h:30, + from radius_3gpp2.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ppp.c: In function 'dump_ppp_hdlc': -ppp.c:286:24: warning: pointer targets in passing argument 1 of 'get_packet_bytes' differ in signedness [-Wpointer-sign] - 286 | if (get_packet_bytes(holder_before, pkt, length) == 0) - | ^~~~~~~~~~~~~ - | | - | char * -In file included from local.h:31, - from ppp.h:30, - from ppp.c:26: -packet_manip.h:71:35: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 71 | inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); - | ^~~~~~~~~~ -ppp.c:320:23: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 320 | hdlc_frame.contents = holder_after; - | ^ -padding.c: In function 'dump_padding': -padding.c:56:29: warning: pointer targets in passing argument 1 of 'get_packet_bytestoend' differ in signedness [-Wpointer-sign] - 56 | if (get_packet_bytestoend(holder, pkt, bytes) == 0) - | ^~~~~~ - | | - | char * -In file included from local.h:31, - from padding.h:30, - from padding.c:27: -packet_manip.h:72:40: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 72 | inline int get_packet_bytestoend(u_int8_t *, packet_t *, unsigned int); - | ^~~~~~~~~~ -open_pcap.c: In function 'open_pcap': -open_pcap.c:74:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] - 74 | my_args->i = pcap_lookupdev(errorbuf); - | ^~~~~~~ -In file included from /usr/include/pcap.h:43, - from global.h:68, - from open_pcap.h:31, - from open_pcap.c:28: -/usr/include/pcap/pcap.h:394:16: note: declared here - 394 | PCAP_API char *pcap_lookupdev(char *) - | ^~~~~~~~~~~~~~ pptp.c: In function 'dump_pptp_startccreq': pptp.c:111:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 111 | display_minimal_string(" "); @@ -4606,17 +4791,11 @@ 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ pptp.c: In function 'dump_pptp_setlinkinfo': -payload.c: In function 'dump_payload': pptp.c:352:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 352 | display_minimal_string(" "); | ^~~ | | | char * -payload.c:61:24: warning: pointer targets in passing argument 1 of 'get_packet_bytes' differ in signedness [-Wpointer-sign] - 61 | if (get_packet_bytes(holder, pkt, bytes) == 0) - | ^~~~~~ - | | - | char * In file included from local.h:30, from ip.h:30, from ip_protocols.h:29, @@ -4624,12 +4803,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -In file included from local.h:31, - from payload.h:30, - from payload.c:27: -packet_manip.h:71:35: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 71 | inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); - | ^~~~~~~~~~ pptp.c: In function 'dump_pptp_callclearreq': pptp.c:399:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 399 | display_minimal_string(" "); @@ -4643,7 +4816,13 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +rip.c: In function 'dump_rip': pptp.c: In function 'dump_pptp_calldiscntfy': +rip.c:94:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 94 | display_minimal_string("| RIPv1 "); + | ^~~~~~~~~~ + | | + | char * pptp.c:444:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 444 | display_minimal_string(" "); | ^~~ @@ -4656,385 +4835,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -pptp.c: In function 'dump_pptp': -pptp.c:499:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 499 | display_minimal_string("| PPTP "); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ip.h:30, - from ip_protocols.h:29, - from pptp.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -pptp.c:500:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 500 | display_minimal_string(map2str(pptp_msgtype_map, - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * - 501 | pptp.pptp_msg_type)); - | ~~~~~~~~~~~~~~~~~~~ -In file included from local.h:30, - from ip.h:30, - from ip_protocols.h:29, - from pptp.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -pptp.c:502:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 502 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ip.h:30, - from ip_protocols.h:29, - from pptp.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -pptp.c:503:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 503 | display_minimal_string(map2str(pptp_cntlmsgtype_map, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * - 504 | pptp.control_msg_type)); - | ~~~~~~~~~~~~~~~~~~~~~~ -In file included from local.h:30, - from ip.h:30, - from ip_protocols.h:29, - from pptp.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -pptp.c:505:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 505 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ip.h:30, - from ip_protocols.h:29, - from pptp.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius_3gpp2.c: In function 'dump_radius_3gpp2': -radius_3gpp2.c:163:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 163 | display_minimal_string(map2str(radius_attr_map, type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius_3gpp2.h:30, - from radius_3gpp2.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius_3gpp2.c:164:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 164 | display_minimal_string("["); - | ^~~ - | | - | char * -In file included from local.h:30, - from radius_3gpp2.h:30, - from radius_3gpp2.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius_3gpp2.c:165:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 165 | display_minimal_string(map2str(iana_enterprise_map, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * - 166 | IANA_ENTERPRISE_3GPP2)); - | ~~~~~~~~~~~~~~~~~~~~~~ -In file included from local.h:30, - from radius_3gpp2.h:30, - from radius_3gpp2.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius_3gpp2.c:167:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 167 | display_minimal_string("]: "); - | ^~~~~ - | | - | char * -In file included from local.h:30, - from radius_3gpp2.h:30, - from radius_3gpp2.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius_3gpp2.c:168:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 168 | display_minimal_string(map2str(radius_attr_3gpp2_map, vendortype)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius_3gpp2.h:30, - from radius_3gpp2.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius_3gpp2.c:169:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 169 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from radius_3gpp2.h:30, - from radius_3gpp2.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c: In function 'dump_radius_vendorspecific': -radius.c:185:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 185 | display_minimal_string(map2str(radius_attr_map, type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from global.h:29, - from netbios_ns.c:26: -In function 'snprintf', - inlined from 'dump_netbios_ns' at netbios_ns.c:440:7: -radius.c:186:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 186 | display_minimal_string("["); - | ^~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -radius.c:187:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 187 | display_minimal_string(map2str(iana_enterprise_map, vendor)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -In function 'snprintf', - inlined from 'dump_netbios_ns' at netbios_ns.c:443:7: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -radius.c:188:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 188 | display_minimal_string("]: "); - | ^~~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -In function 'snprintf', - inlined from 'dump_netbios_ns' at netbios_ns.c:446:7: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -radius.c: In function 'dump_radius_attribute': -radius.c:249:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 249 | display_minimal_string(map2str(radius_attr_map, type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:250:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 250 | display_minimal_string(": "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:257:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 257 | display_string(" Value", username); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -radius.c:285:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 285 | display_minimal_string(map2str(radius_attr_map, type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:286:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 286 | display_minimal_string(": "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:312:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 312 | display_minimal_string(map2str(radius_attr_map, type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:313:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 313 | display_minimal_string(": "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:344:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 344 | display_minimal_string(map2str(radius_attr_map, type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:345:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 345 | display_minimal_string(": "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c: In function 'dump_radius': -radius.c:393:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 393 | display_minimal_string("| RADIUS "); - | ^~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:394:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 394 | display_minimal_string(map2str(radius_code_map, radius.code)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:395:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 395 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:397:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 397 | display_minimal_string(" ("); - | ^~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:420:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 420 | display_minimal_string(", "); - | ^~~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -radius.c:427:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 427 | display_minimal_string(")"); - | ^~~ - | | - | char * -In file included from local.h:30, - from radius.h:30, - from radius.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rsvp.o rsvp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rtcp.o rtcp.c -rip.c: In function 'dump_rip': -rip.c:94:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 94 | display_minimal_string("| RIPv1 "); - | ^~~~~~~~~~ - | | - | char * -pppoe.c: In function 'dump_pppoe_hdr': In file included from local.h:30, from rip.h:30, from rip.c:27: @@ -5046,11 +4846,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * -pppoe.c:141:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 141 | display_minimal_string("| PPPOE "); - | ^~~~~~~~~~ - | | - | char * In file included from local.h:30, from rip.h:30, from rip.c:27: @@ -5068,12 +4863,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -In file included from local.h:30, - from pppoe.h:31, - from pppoe.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ rip.c:105:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 105 | display_string("Command", holder); | ^~~~~~~~~ @@ -5085,6 +4874,7 @@ display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +pptp.c: In function 'dump_pptp': rip.c:105:30: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 105 | display_string("Command", holder); | ^~~~~~ @@ -5096,6 +4886,32 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +pptp.c:499:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 499 | display_minimal_string("| PPTP "); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ip.h:30, + from ip_protocols.h:29, + from pptp.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +pptp.c:500:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 500 | display_minimal_string(map2str(pptp_msgtype_map, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * + 501 | pptp.pptp_msg_type)); + | ~~~~~~~~~~~~~~~~~~~ +In file included from local.h:30, + from ip.h:30, + from ip_protocols.h:29, + from pptp.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ rip.c:143:21: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 143 | display_ipv4("IP address", (u_int8_t *) &ripv1_route.ipaddr); | ^~~~~~~~~~~~ @@ -5107,26 +4923,40 @@ display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -ripng.c: In function 'dump_ripng': +pptp.c:502:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 502 | display_minimal_string(" "); + | ^~~ + | | + | char * +In file included from local.h:30, + from ip.h:30, + from ip_protocols.h:29, + from pptp.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +pptp.c:503:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 503 | display_minimal_string(map2str(pptp_cntlmsgtype_map, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * + 504 | pptp.control_msg_type)); + | ~~~~~~~~~~~~~~~~~~~~~~ rip.c:177:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 177 | display_minimal_string("| RIPv2 "); | ^~~~~~~~~~ | | | char * -ripng.c:76:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 76 | display_minimal_string("| RIPng "); - | ^~~~~~~~~~ - | | - | char * In file included from local.h:30, - from rip.h:30, - from rip.c:27: + from ip.h:30, + from ip_protocols.h:29, + from pptp.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ In file included from local.h:30, - from ripng.h:30, - from ripng.c:27: + from rip.h:30, + from rip.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -5141,14 +4971,15 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ripng.c:77:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 77 | display_minimal_string(map2str(ripng_command_map, ripng.command)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pptp.c:505:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 505 | display_minimal_string(" "); + | ^~~ | | | char * In file included from local.h:30, - from ripng.h:30, - from ripng.c:27: + from ip.h:30, + from ip_protocols.h:29, + from pptp.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -5163,17 +4994,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ripng.c:78:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 78 | display_minimal_string(" "); - | ^~~ - | | - | char * -In file included from local.h:30, - from ripng.h:30, - from ripng.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ rip.c:188:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 188 | display_string("Command", holder); | ^~~~~~~~~ @@ -5190,45 +5010,12 @@ | ^~~~~~ | | | char * -ripng.c:87:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 87 | display_string("Command", holder); - | ^~~~~~~~~ - | | - | char * In file included from local.h:30, from rip.h:30, from rip.c:27: display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -In file included from local.h:30, - from ripng.h:30, - from ripng.c:27: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -ripng.c:87:33: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 87 | display_string("Command", holder); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from ripng.h:30, - from ripng.c:27: -display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -ripng.c:120:17: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] - 120 | display_ipv6("Address", (u_int8_t *) &ripng_route.address); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ripng.h:30, - from ripng.c:27: -display.h:78:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 78 | inline void display_ipv6 (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ rip.c:236:20: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 236 | display_string("Password", ripv2_auth.passwd); | ^~~~~~~~~~ @@ -5240,17 +5027,6 @@ display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -ripng.c:135:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 135 | display_minimal_string(" routes "); - | ^~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ripng.h:30, - from ripng.c:27: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ rip.c:268:18: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 268 | display_ipv4("IP address", (u_int8_t *) &ripv2_route.ipaddr); | ^~~~~~~~~~~~ @@ -5284,6 +5060,7 @@ display.h:77:27: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 77 | inline void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +ppp.c: In function 'dump_ppp': rip.c:283:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 283 | display_minimal_string(" routes "); | ^~~~~~~~~~ @@ -5295,7 +5072,77 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rtp.o rtp.c +ppp.c:130:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 130 | display_minimal_string("| PPP "); + | ^~~~~~~~ + | | + | char * +In file included from local.h:30, + from ppp.h:30, + from ppp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ppp.c:178:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 178 | display_minimal_string("PPP "); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from ppp.h:30, + from ppp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ppp.c: In function 'dump_ppp_hdlc': +ppp.c:286:24: warning: pointer targets in passing argument 1 of 'get_packet_bytes' differ in signedness [-Wpointer-sign] + 286 | if (get_packet_bytes(holder_before, pkt, length) == 0) + | ^~~~~~~~~~~~~ + | | + | char * +In file included from local.h:31, + from ppp.h:30, + from ppp.c:26: +packet_manip.h:71:35: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 71 | inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); + | ^~~~~~~~~~ +ppp.c:320:23: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 320 | hdlc_frame.contents = holder_after; + | ^ +rsvp.c: In function 'dump_rsvp': +rsvp.c:106:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 106 | display_minimal_string ( " |RSVPv" ); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from rsvp.h:30, + from rsvp.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +rsvp.c:108:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 108 | display_minimal_string ( " " ); + | ^~~ + | | + | char * +In file included from local.h:30, + from rsvp.h:30, + from rsvp.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +rsvp.c:109:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 109 | display_minimal_string ( map2str ( rsvp_msgtype_map, rsvp.msg_type ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from rsvp.h:30, + from rsvp.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ rtcp.c: In function 'dump_rtcp_sr': rtcp.c:170:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 170 | display_minimal_string(" "); @@ -5365,18 +5212,70 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +radius.c: In function 'dump_radius_vendorspecific': rtcp.c:376:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 376 | display_string(" SDES", string); | ^~~~~~~~ | | | char * +radius.c:185:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 185 | display_minimal_string(map2str(radius_attr_map, type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * In file included from local.h:30, from rtcp.h:30, from rtcp.c:26: display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from radius.h:30, + from radius.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius.c:186:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 186 | display_minimal_string("["); + | ^~~ + | | + | char * +In file included from local.h:30, + from radius.h:30, + from radius.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius.c:187:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 187 | display_minimal_string(map2str(iana_enterprise_map, vendor)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +sdp.c: In function 'dump_sdp': +In file included from local.h:30, + from radius.h:30, + from radius.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +sip.c: In function 'dump_sip': +radius.c:188:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 188 | display_minimal_string("]: "); + | ^~~~~ + | | + | char * rtcp.c: In function 'dump_rtcp': +In file included from local.h:30, + from radius.h:30, + from radius.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +sip.c:67:26: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] + 67 | len = get_packet_line(line, LINE_SIZE, pkt); + | ^~~~ + | | + | char * rtcp.c:438:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 438 | display_minimal_string("| RTCPv"); | ^~~~~~~~~ @@ -5388,6 +5287,23 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +sdp.c:56:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 56 | display_minimal_string("SDP "); + | ^~~~~~ + | | + | char * +In file included from local.h:31, + from sip.h:29, + from sip.c:29: +packet_manip.h:73:34: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 73 | inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); + | ^~~~~~~~~~ +In file included from local.h:30, + from sdp.h:28, + from sdp.c:30: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ rtcp.c:440:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 440 | display_minimal_string(" "); | ^~~ @@ -5399,6 +5315,11 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +sdp.c:67:26: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] + 67 | len = get_packet_line(line, length-total_length, pkt); + | ^~~~ + | | + | char * rtcp.c:441:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 441 | display_minimal_string(map2str(rtcp_packettype_map, packet_type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5410,250 +5331,308 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:31, + from sdp.h:28, + from sdp.c:30: +packet_manip.h:73:34: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 73 | inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); + | ^~~~~~~~~~ +radius.c: In function 'dump_radius_attribute': +radius.c:249:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 249 | display_minimal_string(map2str(radius_attr_map, type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * rtcp.c:442:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 442 | display_minimal_string(" "); | ^~~ | | | char * In file included from local.h:30, + from radius.h:30, + from radius.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius.c:250:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 250 | display_minimal_string(": "); + | ^~~~ + | | + | char * +In file included from local.h:30, from rtcp.h:30, from rtcp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from radius.h:30, + from radius.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius.c:257:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 257 | display_string(" Value", username); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from radius.h:30, + from radius.c:26: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ rtcp.c:414:17: warning: variable 'bytes_remaining' set but not used [-Wunused-but-set-variable] 414 | u_int16_t bytes_remaining; | ^~~~~~~~~~~~~~~ -rsvp.c: In function 'dump_rsvp': -rsvp.c:106:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 106 | display_minimal_string ( " |RSVPv" ); - | ^~~~~~~~~ - | | - | char * +radius.c:285:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 285 | display_minimal_string(map2str(radius_attr_map, type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +sip.c:147:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 147 | display_minimal_string("SIP "); + | ^~~~~~ + | | + | char * In file included from local.h:30, - from rsvp.h:30, - from rsvp.c:27: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -rsvp.c:108:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 108 | display_minimal_string ( " " ); - | ^~~ - | | - | char * +radius.c:286:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 286 | display_minimal_string(": "); + | ^~~~ + | | + | char * In file included from local.h:30, - from rsvp.h:30, - from rsvp.c:27: + from sip.h:29, + from sip.c:29: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -rsvp.c:109:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 109 | display_minimal_string ( map2str ( rsvp_msgtype_map, rsvp.msg_type ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +sip.c:149:29: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] + 149 | len = get_packet_line(line, LINE_SIZE, pkt); + | ^~~~ + | | + | char * In file included from local.h:30, - from rsvp.h:30, - from rsvp.c:27: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -rtp.c: In function 'dump_rtp': -rtp.c:180:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 180 | display_minimal_string("| RTPv"); - | ^~~~~~~~ - | | - | char * +In file included from local.h:31, + from sip.h:29, + from sip.c:29: +packet_manip.h:73:34: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 73 | inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); + | ^~~~~~~~~~ +sip.c:152:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 152 | display_minimal_string(line); + | ^~~~ + | | + | char * +radius.c:312:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 312 | display_minimal_string(map2str(radius_attr_map, type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * In file included from local.h:30, - from rtp.h:30, - from rtp.c:26: + from sip.h:29, + from sip.c:29: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -rtp.c:182:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 182 | display_minimal_string(" ("); - | ^~~~ - | | - | char * +sip.c:153:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 153 | display_minimal_string(" "); + | ^~~ + | | + | char * In file included from local.h:30, - from rtp.h:30, - from rtp.c:26: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -rtp.c:183:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 183 | display_minimal_string(map2str(rtp_payloadtype_map, payload_type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * In file included from local.h:30, - from rtp.h:30, - from rtp.c:26: + from sip.h:29, + from sip.c:29: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -rtp.c:184:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 184 | display_minimal_string(","); - | ^~~ - | | - | char * +radius.c:313:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 313 | display_minimal_string(": "); + | ^~~~ + | | + | char * In file included from local.h:30, - from rtp.h:30, - from rtp.c:26: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -rtp.c:186:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 186 | display_minimal_string(") "); - | ^~~~ - | | - | char * +radius.c:344:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 344 | display_minimal_string(map2str(radius_attr_map, type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * In file included from local.h:30, - from rtp.h:30, - from rtp.c:26: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o sdp.o sdp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o sip.o sip.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o slip.o slip.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o slp.o slp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o snmp.o snmp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o spx.o spx.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ssh.o ssh.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o state.o state.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o stats.o stats.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o strmap.o strmap.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o tcp.o tcp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o tftp.o tftp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o udp.o udp.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -fdebug-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o utilities.o utilities.c -sdp.c: In function 'dump_sdp': -sdp.c:56:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 56 | display_minimal_string("SDP "); - | ^~~~~~ +radius.c:345:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 345 | display_minimal_string(": "); + | ^~~~ + | | + | char * +In file included from local.h:30, + from radius.h:30, + from radius.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +radius.c: In function 'dump_radius': +radius.c:393:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 393 | display_minimal_string("| RADIUS "); + | ^~~~~~~~~~~ | | | char * In file included from local.h:30, - from sdp.h:28, - from sdp.c:30: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -sdp.c:67:26: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] - 67 | len = get_packet_line(line, length-total_length, pkt); - | ^~~~ - | | - | char * -In file included from local.h:31, - from sdp.h:28, - from sdp.c:30: -packet_manip.h:73:34: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 73 | inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); - | ^~~~~~~~~~ -slip.c: In function 'dump_slip': -slip.c:64:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 64 | display_minimal_string("SLIP "); - | ^~~~~~~ - | | - | char * +radius.c:394:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 394 | display_minimal_string(map2str(radius_code_map, radius.code)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * In file included from local.h:30, - from slip.h:31, - from slip.c:27: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -slip.c:66:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 66 | display_minimal_string("| SLIP "); - | ^~~~~~~~~ - | | - | char * +radius.c:395:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 395 | display_minimal_string(" "); + | ^~~ + | | + | char * In file included from local.h:30, - from slip.h:31, - from slip.c:27: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -sip.c: In function 'dump_sip': -sip.c:67:26: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] - 67 | len = get_packet_line(line, LINE_SIZE, pkt); - | ^~~~ - | | - | char * -In file included from local.h:31, - from sip.h:29, - from sip.c:29: -packet_manip.h:73:34: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 73 | inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); - | ^~~~~~~~~~ -sip.c:147:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 147 | display_minimal_string("SIP "); - | ^~~~~~ +radius.c:397:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 397 | display_minimal_string(" ("); + | ^~~~ | | | char * In file included from local.h:30, - from sip.h:29, - from sip.c:29: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -sip.c:149:29: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] - 149 | len = get_packet_line(line, LINE_SIZE, pkt); - | ^~~~ - | | - | char * -In file included from local.h:31, - from sip.h:29, - from sip.c:29: -packet_manip.h:73:34: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 73 | inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); - | ^~~~~~~~~~ -sip.c:152:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 152 | display_minimal_string(line); - | ^~~~ - | | - | char * +radius.c:420:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 420 | display_minimal_string(", "); + | ^~~~ + | | + | char * In file included from local.h:30, - from sip.h:29, - from sip.c:29: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -sip.c:153:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 153 | display_minimal_string(" "); - | ^~~ - | | - | char * +radius.c:427:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 427 | display_minimal_string(")"); + | ^~~ + | | + | char * In file included from local.h:30, - from sip.h:29, - from sip.c:29: + from radius.h:30, + from radius.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -spx.c: In function 'dump_spx': -spx.c:72:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 72 | display_minimal_string("| SPX "); - | ^~~~~~~~ +In file included from /usr/include/stdio.h:867, + from global.h:29, + from netbios_ns.c:26: +In function 'snprintf', + inlined from 'dump_netbios_ns' at netbios_ns.c:440:7: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'snprintf', + inlined from 'dump_netbios_ns' at netbios_ns.c:443:7: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'snprintf', + inlined from 'dump_netbios_ns' at netbios_ns.c:446:7: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ssh.c: In function 'dump_ssh': +ssh.c:80:19: warning: pointer targets in passing argument 1 of 'isprint_str' differ in signedness [-Wpointer-sign] + 80 | if (isprint_str(payload, size)) + | ^~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from display.h:31, + from local.h:30, + from ssh.h:30, + from ssh.c:35: +utilities.h:32:27: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 32 | inline int isprint_str(char *, int); + | ^~~~~~ +slp.c: In function 'dump_slp': +ssh.c:85:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 85 | display_minimal_string("| "); + | ^~~~ | | | char * In file included from local.h:30, - from spx.h:30, - from spx.c:27: + from ssh.h:30, + from ssh.c:35: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -slp.c: In function 'dump_slp': slp.c:90:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 90 | display_minimal_string("| SLPv1 "); | ^~~~~~~~~~ | | | char * +ssh.c:91:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 91 | display_string("Version", payload); + | ^~~~~~~~~ + | | + | char * In file included from local.h:30, from slp.h:29, from slp.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +In file included from local.h:30, + from ssh.h:30, + from ssh.c:35: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ slp.c:91:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 91 | display_minimal_string(map2str(slp_msgtype_map, slpv1.function_id)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5698,23 +5677,46 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +slip.c: In function 'dump_slip': slp.c:131:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 131 | display_minimal_string("| SLPv2 "); | ^~~~~~~~~~ | | | char * +slip.c:64:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 64 | display_minimal_string("SLIP "); + | ^~~~~~~ + | | + | char * +In file included from local.h:30, + from slip.h:31, + from slip.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ In file included from local.h:30, from slp.h:29, from slp.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +slip.c:66:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 66 | display_minimal_string("| SLIP "); + | ^~~~~~~~~ + | | + | char * slp.c:132:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 132 | display_minimal_string(map2str(slp_msgtype_map, slpv2.function_id)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from local.h:30, + from slip.h:31, + from slip.c:27: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from slp.h:29, from slp.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' @@ -5753,47 +5755,202 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -ssh.c: In function 'dump_ssh': -ssh.c:80:19: warning: pointer targets in passing argument 1 of 'isprint_str' differ in signedness [-Wpointer-sign] - 80 | if (isprint_str(payload, size)) - | ^~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -In file included from display.h:31, - from local.h:30, - from ssh.h:30, - from ssh.c:35: -utilities.h:32:27: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 32 | inline int isprint_str(char *, int); - | ^~~~~~ -ssh.c:85:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 85 | display_minimal_string("| "); - | ^~~~ +spx.c: In function 'dump_spx': +spx.c:72:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 72 | display_minimal_string("| SPX "); + | ^~~~~~~~ | | | char * In file included from local.h:30, - from ssh.h:30, - from ssh.c:35: + from spx.h:30, + from spx.c:27: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -ssh.c:91:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 91 | display_string("Version", payload); - | ^~~~~~~~~ - | | - | char * +rtp.c: In function 'dump_rtp': +rtp.c:180:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 180 | display_minimal_string("| RTPv"); + | ^~~~~~~~ + | | + | char * In file included from local.h:30, - from ssh.h:30, - from ssh.c:35: + from rtp.h:30, + from rtp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +rtp.c:182:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 182 | display_minimal_string(" ("); + | ^~~~ + | | + | char * +In file included from local.h:30, + from rtp.h:30, + from rtp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +rtp.c:183:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 183 | display_minimal_string(map2str(rtp_payloadtype_map, payload_type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from rtp.h:30, + from rtp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +rtp.c:184:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 184 | display_minimal_string(","); + | ^~~ + | | + | char * +In file included from local.h:30, + from rtp.h:30, + from rtp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +rtp.c:186:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 186 | display_minimal_string(") "); + | ^~~~ + | | + | char * +In file included from local.h:30, + from rtp.h:30, + from rtp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +tftp.c: In function 'dump_tftp': +tftp.c:80:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 80 | display_minimal_string("| TFTP "); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +tftp.c:98:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 98 | display_minimal_string(map2str(tftp_opcode_map, opcode)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +tftp.c:99:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 99 | display_minimal_string(" ("); + | ^~~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +tftp.c:101:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 101 | display_minimal_string(","); + | ^~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +tftp.c:103:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 103 | display_minimal_string(")"); + | ^~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +tftp.c:108:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 108 | display_string("Filename", filename); + | ^~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ +tftp.c:109:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 109 | display_string("Mode", mode); + | ^~~~~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +tftp.c:149:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 149 | display_minimal_string(map2str(tftp_opcode_map, opcode)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +tftp.c:150:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 150 | display_minimal_string(" block "); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +tftp.c:182:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 182 | display_minimal_string(map2str(tftp_opcode_map, opcode)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * tcp.c: In function 'dump_tcp_options': +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ tcp.c:91:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 91 | display_string("Option", holder); | ^~~~~~~~ | | | char * +tftp.c:183:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 183 | display_minimal_string(" block "); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ In file included from local.h:30, from dhcp.h:30, from ip_services.h:30, @@ -5813,29 +5970,45 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +tftp.c:225:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 225 | display_minimal_string(map2str(tftp_opcode_map, opcode)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * tcp.c:101:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 101 | display_string("Option", holder); | ^~~~~~~~ | | | char * In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +In file included from local.h:30, from dhcp.h:30, from ip_services.h:30, from tcp.c:28: display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ -tftp.c: In function 'dump_tftp': +tftp.c:226:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 226 | display_minimal_string(" ("); + | ^~~~ + | | + | char * +In file included from local.h:30, + from tftp.h:30, + from tftp.c:26: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ tcp.c:101:29: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 101 | display_string("Option", holder); | ^~~~~~ | | | char * -tftp.c:80:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 80 | display_minimal_string("| TFTP "); - | ^~~~~~~~~ - | | - | char * In file included from local.h:30, from dhcp.h:30, from ip_services.h:30, @@ -5843,24 +6016,34 @@ display.h:74:41: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 74 | inline void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~~~ +tftp.c:228:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 228 | display_minimal_string(","); + | ^~~ + | | + | char * tcp.c:105:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 105 | display_minimal_string("<"); | ^~~ | | | char * In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: + from dhcp.h:30, + from ip_services.h:30, + from tcp.c:28: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ In file included from local.h:30, - from dhcp.h:30, - from ip_services.h:30, - from tcp.c:28: + from tftp.h:30, + from tftp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +tftp.c:230:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 230 | display_minimal_string(")"); + | ^~~ + | | + | char * tcp.c:106:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 106 | display_minimal_string(map2str(tcp_option_map, kind)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5873,56 +6056,29 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -tftp.c:98:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 98 | display_minimal_string(map2str(tftp_opcode_map, opcode)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * In file included from local.h:30, from tftp.h:30, from tftp.c:26: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -tftp.c:99:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 99 | display_minimal_string(" ("); - | ^~~~ - | | - | char * -In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -tftp.c:101:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 101 | display_minimal_string(","); - | ^~~ - | | - | char * +tftp.c:236:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 236 | display_string("Message", msg); + | ^~~~~~~~~ + | | + | char * In file included from local.h:30, from tftp.h:30, from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -tftp.c:103:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 103 | display_minimal_string(")"); - | ^~~ - | | - | char * +display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 74 | inline void display_string (u_int8_t *, u_int8_t *); + | ^~~~~~~~~~ tcp.c:136:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 136 | display_minimal_string(" "); | ^~~ | | | char * In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -In file included from local.h:30, from dhcp.h:30, from ip_services.h:30, from tcp.c:28: @@ -5934,11 +6090,6 @@ | ^~~ | | | char * -tftp.c:108:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 108 | display_string("Filename", filename); - | ^~~~~~~~~~ - | | - | char * In file included from local.h:30, from dhcp.h:30, from ip_services.h:30, @@ -5946,23 +6097,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -tftp.c:109:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 109 | display_string("Mode", mode); - | ^~~~~~ - | | - | char * -In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ tcp.c:147:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 147 | display_minimal_string(" "); | ^~~ @@ -5987,27 +6121,11 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -tftp.c:149:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 149 | display_minimal_string(map2str(tftp_opcode_map, opcode)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ tcp.c:167:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 167 | display_minimal_string(" "); | ^~~ | | | char * -tftp.c:150:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 150 | display_minimal_string(" block "); - | ^~~~~~~~~ - | | - | char * In file included from local.h:30, from dhcp.h:30, from ip_services.h:30, @@ -6015,12 +6133,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ tcp.c:169:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 169 | display_minimal_string(" "); | ^~~ @@ -6050,17 +6162,6 @@ | ^~~ | | | char * -tftp.c:182:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 182 | display_minimal_string(map2str(tftp_opcode_map, opcode)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ In file included from local.h:30, from dhcp.h:30, from ip_services.h:30, @@ -6068,17 +6169,6 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -tftp.c:183:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 183 | display_minimal_string(" block "); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ tcp.c:198:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 198 | display_minimal_string(" "); | ^~~ @@ -6091,80 +6181,25 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -tftp.c:225:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 225 | display_minimal_string(map2str(tftp_opcode_map, opcode)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -tftp.c:226:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 226 | display_minimal_string(" ("); - | ^~~~ - | | - | char * -In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -tftp.c:228:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 228 | display_minimal_string(","); - | ^~~ - | | - | char * -In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ tcp.c: In function 'dump_tcp': -tftp.c:230:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 230 | display_minimal_string(")"); - | ^~~ - | | - | char * tcp.c:282:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 282 | display_minimal_string("| TCP "); | ^~~~~~~~ | | | char * In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -In file included from local.h:30, from dhcp.h:30, from ip_services.h:30, from tcp.c:28: display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -tftp.c:236:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 236 | display_string("Message", msg); - | ^~~~~~~~~ - | | - | char * tcp.c:284:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 284 | display_minimal_string("->"); | ^~~~ | | | char * In file included from local.h:30, - from tftp.h:30, - from tftp.c:26: -display.h:74:29: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 74 | inline void display_string (u_int8_t *, u_int8_t *); - | ^~~~~~~~~~ -In file included from local.h:30, from dhcp.h:30, from ip_services.h:30, from tcp.c:28: @@ -6335,12 +6370,12 @@ Updating ./version.texi restore=: && backupdir=".am$$" && \ rm -rf $backupdir && mkdir $backupdir && \ -if (/bin/bash '/build/reproducible-path/ipgrab-0.9.10/missing' makeinfo --version) >/dev/null 2>&1; then \ +if (/bin/sh '/build/reproducible-path/ipgrab-0.9.10/missing' makeinfo --version) >/dev/null 2>&1; then \ for f in ipgrab.info ipgrab.info-[0-9] ipgrab.info-[0-9][0-9] ipgrab.i[0-9] ipgrab.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ -if /bin/bash '/build/reproducible-path/ipgrab-0.9.10/missing' makeinfo -I . \ +if /bin/sh '/build/reproducible-path/ipgrab-0.9.10/missing' makeinfo -I . \ -o ipgrab.info `test -f 'ipgrab.texi' || echo './'`ipgrab.texi; \ then \ rc=0; \ @@ -6355,7 +6390,7 @@ make[2]: Leaving directory '/build/reproducible-path/ipgrab-0.9.10' make[1]: Leaving directory '/build/reproducible-path/ipgrab-0.9.10' dh_auto_test - make -j20 check VERBOSE=1 + make -j42 check VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/ipgrab-0.9.10' Making check in src make[2]: Entering directory '/build/reproducible-path/ipgrab-0.9.10/src' @@ -6398,12 +6433,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/1064883/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1064883/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/1749060 and its subdirectories -I: Current time: Sat Jul 13 01:44:21 -12 2024 -I: pbuilder-time-stamp: 1720878261 +I: removing directory /srv/workspace/pbuilder/1064883 and its subdirectories +I: Current time: Sat Aug 16 10:08:08 +14 2025 +I: pbuilder-time-stamp: 1755288488