Diff of the two buildlogs: -- --- b1/build.log 2024-10-11 20:07:56.083276059 +0000 +++ b2/build.log 2024-10-11 20:08:45.925157355 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Nov 13 14:30:25 -12 2025 -I: pbuilder-time-stamp: 1763087425 +I: Current time: Sat Oct 12 10:07:58 +14 2024 +I: pbuilder-time-stamp: 1728677278 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -34,54 +34,86 @@ 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/65534/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/12061/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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 Oct 11 20:08 /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/12061/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/12061/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='e53c793588de4e52824264fd36dea918' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='65534' - PS1='# ' - PS2='> ' + INVOCATION_ID=ce985e13ef3140279c2aa59d3cc98bf0 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=12061 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.xsCPeSgy/pbuilderrc_Rpv7 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.xsCPeSgy/b1 --logfile b1/build.log ipgrab_0.9.10-5.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.xsCPeSgy/pbuilderrc_vuqw --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.xsCPeSgy/b2 --logfile b2/build.log ipgrab_0.9.10-5.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/65534/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/12061/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -169,7 +201,7 @@ Get: 46 http://deb.debian.org/debian unstable/main i386 tex-common all 6.18 [32.5 kB] Get: 47 http://deb.debian.org/debian unstable/main i386 texinfo-lib i386 7.1.1-1 [236 kB] Get: 48 http://deb.debian.org/debian unstable/main i386 texinfo all 7.1.1-1 [1753 kB] -Fetched 23.8 MB in 0s (87.4 MB/s) +Fetched 23.8 MB in 1s (35.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sgml-base. (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 ... 19785 files and directories currently installed.) @@ -387,7 +419,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-5_source.changes +I: user script /srv/workspace/pbuilder/12061/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/12061/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-5_source.changes dpkg-buildpackage: info: source package ipgrab dpkg-buildpackage: info: source version 0.9.10-5 dpkg-buildpackage: info: source distribution unstable @@ -522,7 +558,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j22 + make -j10 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' @@ -538,305 +574,18 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o display.o display.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o dns.o dns.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o dynports.o dynports.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ethernet.o ethernet.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ethertypes.o ethertypes.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o icmp.o icmp.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o icmpv6.o icmpv6.c -ethernet.c: In function 'dump_ethernet': -ethernet.c:72:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 72 | 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:74:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 74 | display_minimal_string("| ETH "); - | ^~~~~~~~ - | | - | char * -display.h:80: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 * -display.h:80: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(" "); - | ^~~ - | | - | char * -display.h:80: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:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 105 | display_minimal_string("("); - | ^~~ - | | - | char * -display.h:80: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:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 107 | display_minimal_string(") "); - | ^~~~ - | | - | char * -display.h:80: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:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 131 | display_minimal_string("("); - | ^~~ - | | - | char * -display.h:80: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:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 133 | display_minimal_string(") "); - | ^~~~ - | | - | char * -display.h:80: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: In function 'dump_cbcp': -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 * -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 * -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 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 *); - | ^~~~~~~~~~ -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 * -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 * -display.h:80: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.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 *); - | ^~~~~~~~~~ -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 * -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 * -display.h:80: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': -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 * -cbcp.c:181:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 181 | display_minimal_string(", "); - | ^~~~ - | | - | char * -display.h:80: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 *); - | ^~~~~~~~~~ -display.h:80: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 * -display.h:80: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:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 183 | display_minimal_string("("); - | ^~~ - | | - | char * -display.h:80: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 * -display.h:80: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:44: 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 * -display.h:80: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:48: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 218 | display_minimal_string(" "); - | ^~~ - | | - | char * -display.h:80: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: 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 * -cbcp.c:235:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 235 | display_minimal_string(")"); - | ^~~ - | | - | char * -dhcp.c: In function 'dump_dhcp': -display.h:80: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: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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ -In file included from local.h:30, - from arp.h:30, - from dhcp.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:97:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 97 | display_minimal_string(" "); - | ^~~ - | | - | char * -dhcp.c:165:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 165 | display_minimal_string(" "); - | ^~~ - | | - | char * -display.h:80: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:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 149 | display_minimal_string("challenge "); - | ^~~~~~~~~~~~ - | | - | char * -display.h:80: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.h:80: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_questions': -dhcp.c:186:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 186 | display_ipv4("Client addr", (u_int8_t *) &dhcp.ciaddr); - | ^~~~~~~~~~~~~ - | | - | char * dns.c:145:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 145 | display_minimal_string(holder); | ^~~~~~ | | | char * -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 *); - | ^~~~~~~~~~ -chap.c:151:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 151 | display_minimal_string("response "); - | ^~~~~~~~~~~ - | | - | char * -display.h:80: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 *); | ^~~~~~~~~~ -dhcp.c:187:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 187 | display_ipv4("Your addr", (u_int8_t *) &dhcp.yiaddr); - | ^~~~~~~~~~~ - | | - | char * -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 *); - | ^~~~~~~~~~ -chap.c:152:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 152 | display_minimal_string("("); - | ^~~ - | | - | char * dns.c:146:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 146 | display_minimal_string(" "); | ^~~ @@ -845,178 +594,44 @@ display.h:80: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.h:80: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:188:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 188 | display_ipv4("Next server addr", (u_int8_t *) &dhcp.siaddr); - | ^~~~~~~~~~~~~~~~~~ - | | - | char * -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 *); - | ^~~~~~~~~~ -chap.c:154:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 154 | display_minimal_string(", "); - | ^~~~ - | | - | char * dns.c:150:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 150 | display_string("Query", holder); | ^~~~~~~ | | | char * -display.h:80: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.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 *); | ^~~~~~~~~~ -dhcp.c:189:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 189 | display_ipv4("Relay agent addr", (u_int8_t *) &dhcp.giaddr); - | ^~~~~~~~~~~~~~~~~~ - | | - | char * dns.c:150:35: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 150 | display_string("Query", holder); | ^~~~~~ | | | char * -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 *); - | ^~~~~~~~~~ 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:156:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 156 | display_minimal_string(")"); - | ^~~ - | | - | char * -display.h:80: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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 153 | display_string(" Query type", holder); | ^~~~~~~~~~~~~~ | | | char * -chap.c:162:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 162 | display_string("Name", name); - | ^~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ -datalink.c: In function 'datalink': -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 * -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); - | ^~~~~~~~~~ +dhcp.c: In function 'dump_dhcp': 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 * -chap.c:191:38: 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 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:153:42: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 153 | display_string(" Query type", holder); | ^~~~~~ | | | char * -display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 185 | display_minimal_string(packet.timestamp); - | ~~~~~~^~~~~~~~~~ - | | - | char * -display.h:80: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.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 *); | ^~~~~~~~~~ -datalink.c:186:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 186 | display_minimal_string(" "); - | ^~~ - | | - | char * -display.h:80: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:268:26: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 268 | display_ipv4(" Mask", (u_int8_t *) holder); - | ^~~~~~~~ - | | - | char * -chap.c:193:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 193 | display_minimal_string("failure "); - | ^~~~~~~~~~ - | | - | char * -display.h:80: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.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 *); - | ^~~~~~~~~~ -chap.c:194:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 194 | display_minimal_string("("); - | ^~~ - | | - | char * -display.h:80: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:156:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 156 | display_string(" Query class", holder); | ^~~~~~~~~~~~~~~ | | | char * -chap.c:196:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 196 | display_minimal_string(")"); - | ^~~ - | | - | char * -dhcp.c:295:30: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 295 | display_ipv4(" Address", (u_int8_t *) holder); - | ^~~~~~~~~~~ - | | - | char * -display.h:80: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.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 *); - | ^~~~~~~~~~ -chap.c:200:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 200 | display_string("Message", message); - | ^~~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ 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 *); | ^~~~~~~~~~ @@ -1028,32 +643,43 @@ 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 *); | ^~~~~~~~~~ -dhcp.c:347:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 347 | display_string("Node type", holder); - | ^~~~~~~~~~~ - | | - | char * +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from local.h:30, + from arp.h:30, + from dhcp.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': -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 *); - | ^~~~~~~~~~ dns.c:219:32: warning: pointer targets in passing argument 2 of 'parse_ns_labels' differ in signedness [-Wpointer-sign] 219 | parse_ns_labels(pkt, resource_data); | ^~~~~~~~~~~~~ | | | u_int8_t * {aka unsigned char *} +dhcp.c:165:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 165 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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 dns.c:27: 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 *); | ^~~~~~ -dhcp.c:347:41: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 347 | display_string("Node type", holder); - | ^~~~~~ - | | - | char * -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 *); - | ^~~~~~~~~~ +dhcp.c:186:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 186 | display_ipv4("Client addr", (u_int8_t *) &dhcp.ciaddr); + | ^~~~~~~~~~~~~ + | | + | char * +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:240:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 240 | display_minimal_string(" "); | ^~~ @@ -1062,6 +688,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 *); | ^~~~~~~~~~ +dhcp.c:187:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 187 | display_ipv4("Your addr", (u_int8_t *) &dhcp.yiaddr); + | ^~~~~~~~~~~ + | | + | char * dns.c:246:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 246 | display_minimal_string(" "); | ^~~ @@ -1070,6 +701,9 @@ display.h:80: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.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:251:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 251 | display_string(answer_type, holder); | ^~~~~~~~~~~ @@ -1078,11 +712,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 *); | ^~~~~~~~~~ -dhcp.c:354:26: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 354 | display_ipv4(" Address", (u_int8_t *) holder); - | ^~~~~~~~~~~ - | | - | char * dns.c:251:39: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 251 | display_string(answer_type, holder); | ^~~~~~ @@ -1091,9 +720,11 @@ 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 *); | ^~~~~~~~~~ -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 *); - | ^~~~~~~~~~ +dhcp.c:188:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 188 | display_ipv4("Next server addr", (u_int8_t *) &dhcp.siaddr); + | ^~~~~~~~~~~~~~~~~~ + | | + | char * dns.c:254:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 254 | display_string(" Query type", holder); | ^~~~~~~~~~~~~~ @@ -1102,7 +733,9 @@ 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 *); | ^~~~~~~~~~ -ccp.c: In function 'dump_ccp': +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:254:42: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 254 | display_string(" Query type", holder); | ^~~~~~ @@ -1111,43 +744,22 @@ 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 *); | ^~~~~~~~~~ -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 * -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 "); - | ^~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ +dhcp.c:189:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 189 | display_ipv4("Relay agent addr", (u_int8_t *) &dhcp.giaddr); + | ^~~~~~~~~~~~~~~~~~ + | | + | char * dns.c:257:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 257 | display_string(" Query class", holder); | ^~~~~~~~~~~~~~~ | | | char * -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 *); - | ^~~~~~~~~~ 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 *); | ^~~~~~~~~~ -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 * +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:257:43: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 257 | display_string(" Query class", holder); | ^~~~~~ @@ -1156,33 +768,14 @@ 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 *); | ^~~~~~~~~~ -display.h:80: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:358:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 358 | display_minimal_string(" "); - | ^~~ - | | - | 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 * dns.c:264:28: 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); | ^~~~~~~~~~~~~~~~~ | | | char * -display.h:80: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.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 *); | ^~~~~~~~~~ -display.h:80: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:28: 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); | ^~~~~~~~~~~~~~~~~ @@ -1191,12 +784,6 @@ 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 *); | ^~~~~~~~~~ -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 *} dns.c:275:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 275 | display_string(" Resource data", resource_data); | ^~~~~~~~~~~~~~~~~ @@ -1205,77 +792,23 @@ 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 global.h:44, - from ftpctrl.h:29, - from ftpctrl.c:26: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -ccp.c:212:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 212 | display_minimal_string(", "); - | ^~~~ - | | - | char * -display.h:80: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:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 214 | display_minimal_string("("); - | ^~~ - | | - | char * -display.h:80: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': -ftpctrl.c:91:34: 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:510, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from global.h:29: -/usr/include/i386-linux-gnu/bits/string_fortified.h:96:1: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -dhcp.c:378:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 378 | display_string(" Message type", holder); - | ^~~~~~~~~~~~~~~~ - | | - | char * 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 * -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.h:80: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:97:38: 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: +dhcp.c:268:26: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 268 | display_ipv4(" Mask", (u_int8_t *) holder); + | ^~~~~~~~ + | | + | char * display.h:80: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:378:48: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 378 | display_string(" Message type", holder); - | ^~~~~~ - | | - | char * -ftpctrl.c:98:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 98 | display_minimal_string(replycode_str); - | ^~~~~~~~~~~~~ - | | - | char * +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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1284,60 +817,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 *); | ^~~~~~~~~~ -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 *); - | ^~~~~~~~~~ -display.h:80: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:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 104 | display_string("Reply code", replycode_str); - | ^~~~~~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ 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 * -dhcp.c:381:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 381 | display_minimal_string(map2str(dhcp_msgtype_map, msg_type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -ftpctrl.c:104:44: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 104 | display_string("Reply code", replycode_str); - | ^~~~~~~~~~~~~ - | | - | char * -display.h:80: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.h:80: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.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:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 105 | display_string("Reply", payload+4); - | ^~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ -ftpctrl.c:89:15: warning: variable 'replycode' set but not used [-Wunused-but-set-variable] - 89 | int replycode; - | ^~~~~~~~~ -dhcp.c:382:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 382 | display_minimal_string(" "); - | ^~~ - | | - | char * display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -1346,23 +830,17 @@ | ^~~~~~~~~~~~~~~~~~~~~ | | | char * +dhcp.c:295:30: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 295 | display_ipv4(" Address", (u_int8_t *) holder); + | ^~~~~~~~~~~ + | | + | 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 *); | ^~~~~~~~~~ -ftpctrl.c:113:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 113 | display_minimal_string("FTP control "); - | ^~~~~~~~~~~~~~ - | | - | char * -display.h:80: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:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 119 | display_string("Reply", payload); - | ^~~~~~~ - | | - | char * -http.c: In function 'dump_http': +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:366:45: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 366 | display_string("Flag query/response", holder); | ^~~~~~ @@ -1371,163 +849,141 @@ 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 *); | ^~~~~~~~~~ -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 * -dhcp.c:391:26: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 391 | display_ipv4(" Address", (u_int8_t *) holder); - | ^~~~~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ -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 *); - | ^~~~~~~~~~ -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 *); - | ^~~~~~~~~~ -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 *} 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 * -http.c:81:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 81 | display_minimal_string(line); - | ^~~~ - | | - | char * -/usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 246 | extern char *strchr (const char *__s, int __c) - | ~~~~~~~~~~~~^~~ 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: -display.h:80: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: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, ' '); - | ^ -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 * 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 * -ccp.c:224:44: 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 * 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:134:34: 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 *} -display.h:80: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/string.h:407:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -dhcp.c:405:34: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 405 | display_string(" Option", holder); - | ^~~~~~~~~~ - | | - | char * +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); + | ^~~~~~~~~~~~~~~~~~ + | | + | 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 *); | ^~~~~~~~~~ -ftpctrl.c:141:19: 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 *} +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 * +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 *); + | ^~~~~~~~~~ +dhcp.c:347:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 347 | display_string("Node type", holder); + | ^~~~~~~~~~~ + | | + | 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 *); | ^~~~~~~~~~ -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 * -dhcp.c:405:46: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 405 | display_string(" Option", holder); - | ^~~~~~ - | | - | char * +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; + | ^~~~ +dhcp.c:347:41: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 347 | display_string("Node type", holder); + | ^~~~~~ + | | + | char * 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 *); | ^~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~ - | | - | char * -ccp.c:249:48: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 249 | display_minimal_string(" "); - | ^~~ +dhcp.c:354:26: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 354 | display_ipv4(" Address", (u_int8_t *) holder); + | ^~~~~~~~~~~ + | | + | char * +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 *); + | ^~~~~~~~~~ +dhcp.c:358:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 358 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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:378:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 378 | display_string(" Message type", holder); + | ^~~~~~~~~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +dhcp.c:378:48: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 378 | display_string(" Message type", holder); + | ^~~~~~ | | | char * 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 *); | ^~~~~~~~~~ -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 *); - | ^~~~~~~~~~ +dhcp.c:381:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 381 | display_minimal_string(map2str(dhcp_msgtype_map, msg_type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * display.h:80: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/i386-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 * -ccp.c:266:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 266 | display_minimal_string(")"); - | ^~~ - | | - | char * +dhcp.c:382:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 382 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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:391:26: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 391 | display_ipv4(" Address", (u_int8_t *) holder); + | ^~~~~~~~~~~ + | | + | char * +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 *); + | ^~~~~~~~~~ +dhcp.c:405:34: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 405 | display_string(" Option", holder); + | ^~~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +dhcp.c:405:46: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 405 | display_string(" Option", holder); + | ^~~~~~ + | | + | char * 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: 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 *); | ^~~~~~~~~~ -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; - | ^~~~ -ftpctrl.c:141:36: 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 *} -/usr/include/i386-linux-gnu/bits/string_fortified.h:96:1: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ dhcp.c:467:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 467 | display_string(" Hardware type", (u_int8_t *) holder); | ^~~~~~~~~~~~~~~~~ @@ -1536,266 +992,346 @@ 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:147:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 147 | display_minimal_string("FTP control "); - | ^~~~~~~~~~~~~~ - | | - | char * +chap.c:149:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 149 | display_minimal_string("challenge "); + | ^~~~~~~~~~~~ + | | + | char * +display.h:80: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:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 151 | display_minimal_string("response "); + | ^~~~~~~~~~~ + | | + | char * +display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 152 | display_minimal_string("("); + | ^~~ + | | + | char * display.h:80: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 * dhcp.c:287:9: warning: label 'case_DHCP_OPTION_SWAPSERVER' defined but not used [-Wunused-label] 287 | case_DHCP_OPTION_SWAPSERVER: /* 16 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -gre.c: In function 'dump_gre': +chap.c:154:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 154 | display_minimal_string(", "); + | ^~~~ + | | + | char * +display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 156 | display_minimal_string(")"); + | ^~~ + | | + | char * +display.h:80: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:286:9: warning: label 'case_DHCP_OPTION_RESLOCSERVER' defined but not used [-Wunused-label] 286 | case_DHCP_OPTION_RESLOCSERVER: /* 11 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gre.c:86:40: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] - 86 | reserved = (gre0.reserved_high << 5) || gre0.reserved_low; - | ~~~~~~~~~~~~~~~~~~~~^~~~~ +chap.c:162:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 162 | display_string("Name", name); + | ^~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ dhcp.c:285:9: warning: label 'case_DHCP_OPTION_IMPRESSSERVER' defined but not used [-Wunused-label] 285 | case_DHCP_OPTION_IMPRESSSERVER: /* 10 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +chap.c:191:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 191 | display_minimal_string("success "); + | ^~~~~~~~~~ + | | + | char * display.h:80: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:112:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 112 | display_minimal_string("| GRE v0 "); - | ^~~~~~~~~~~ - | | - | char * -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 * -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:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 157 | display_string("Request", ptr+1); +chap.c:193:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 193 | display_minimal_string("failure "); + | ^~~~~~~~~~ + | | + | char * +display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 194 | display_minimal_string("("); + | ^~~ + | | + | char * +display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 196 | display_minimal_string(")"); + | ^~~ + | | + | char * +display.h:80: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:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 200 | display_string("Message", message); | ^~~~~~~~~ | | | 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 *); | ^~~~~~~~~~ +cbcp.c: In function 'dump_cbcp': +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 * In file included from local.h:30, - from gre.h:30, - from gre.c:26: + 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 *); | ^~~~~~~~~~ -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(" "); +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 * +display.h:80: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 * -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 *); | ^~~~~~~~~~ -icmp.c: In function 'dump_icmp_mask': -icmp.c:204:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 204 | display_minimal_string ( " " ); - | ^~~ - | | - | char * +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 * +cbcp.c:181:46: 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 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 *); + | ^~~~~~~~~~ display.h:80: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: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); - | ^~~~~~ +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 * 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 *); | ^~~~~~~~~~ -gre.c:181:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 181 | display_minimal_string("| GRE v0 "); - | ^~~~~~~~~~~ - | | - | char * +cbcp.c:183:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 183 | display_minimal_string("("); + | ^~~ + | | + | char * display.h:80: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': -gre.c:183:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 183 | display_minimal_string(" "); - | ^~~ - | | - | char * -icmp.c:273:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 273 | display_minimal_string("("); - | ^~~ - | | - | char * +cbcp.c:193:44: 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 * +ah.c: In function 'dump_ah': display.h:80: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:275:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 275 | display_minimal_string(") "); - | ^~~~ - | | - | char * +arp.c: In function 'dump_arp': +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 * +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 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 *); | ^~~~~~~~~~ display.h:80: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:279:24: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] - 279 | display_ipv4("Address", (u_int8_t *) &addr); - | ^~~~~~~~~ - | | - | char * -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 *); - | ^~~~~~~~~~ -hexbuffer.c: In function 'hexbuffer_flush': -icmp.c: In function 'dump_icmp': -icmp.c:318:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 318 | display_minimal_string("| ICMP "); - | ^~~~~~~~~ +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 * +cbcp.c:218:48: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 218 | display_minimal_string(" "); + | ^~~ + | | + | char * +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 * -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:510, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from global.h:29, - from hexbuffer.h:32, - from hexbuffer.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 65 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ display.h:80: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:319:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 319 | display_minimal_string(map2str(icmp_type_map, icmp.type)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -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 *} -/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 65 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -icmp.c:320:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 320 | display_minimal_string(" "); +display.h:80: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 * +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 * +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); + | ^~~~~~~~~~ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -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, "."); - | ~~~~~~~~~~~~^~ +cbcp.c:235:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 235 | display_minimal_string(")"); + | ^~~ | | - | u_int8_t * {aka unsigned char *} -/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 65 | __NTH (snprintf (char *__restrict __s, size_t __n, - | ^~~~~ -icmp.c:324:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 324 | display_minimal_string(map2str(icmp_du_map, icmp.code)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * + | char * display.h:80: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:328:34: 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 * +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 "); + | ^~~~~~~~ + | | + | 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 *); | ^~~~~~~~~~ -gre.c:318:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 318 | display_minimal_string("| GREv1 "); - | ^~~~~~~~~~ - | | - | char * +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 * +datalink.c: In function 'datalink': display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 354 | display_minimal_string("seq "); - | ^~~~~~ - | | - | 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 * +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 * display.h:80: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:40: 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 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 *); | ^~~~~~~~~~ -gre.c:371:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 371 | display_minimal_string("ack "); - | ^~~~~~ +datalink.c:185:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 185 | display_minimal_string(packet.timestamp); + | ~~~~~~^~~~~~~~~~ | | | char * display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 373 | display_minimal_string(" "); - | ^~~ - | | - | char * +datalink.c:186:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 186 | display_minimal_string(" "); + | ^~~ + | | + | char * display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 401 | display_minimal_string("("); - | ^~~ - | | - | char * +ccp.c:212:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 212 | display_minimal_string(", "); + | ^~~~ + | | + | char * display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 403 | display_minimal_string(") "); - | ^~~~ - | | - | char * +ccp.c:214:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 214 | display_minimal_string("("); + | ^~~ + | | + | char * +display.h:80: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:44: 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 * display.h:80: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': +ccp.c:249:48: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 249 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 266 | display_minimal_string(")"); + | ^~~ + | | + | char * 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 *} +display.h:80: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 global.h:44, from display.h:29, from display.c:26: @@ -1892,10 +1428,412 @@ 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, | ~~~~~~~^~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ethernet.o ethernet.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ethertypes.o ethertypes.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o gre.o gre.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o hexbuffer.o hexbuffer.c +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 * +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 *); + | ^~~~~~~~~~ +ethernet.c: In function 'dump_ethernet': +ethernet.c:72:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 72 | 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:74:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 74 | display_minimal_string("| ETH "); + | ^~~~~~~~ + | | + | char * +display.h:80: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 * +display.h:80: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(" "); + | ^~~ + | | + | char * +display.h:80: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:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 105 | display_minimal_string("("); + | ^~~ + | | + | char * +display.h:80: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:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 107 | display_minimal_string(") "); + | ^~~~ + | | + | char * +display.h:80: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:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 131 | display_minimal_string("("); + | ^~~ + | | + | char * +display.h:80: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:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 133 | display_minimal_string(") "); + | ^~~~ + | | + | char * +display.h:80: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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o http.o http.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:407:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +ftpctrl.c:91:34: 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:510, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from global.h:29: +/usr/include/i386-linux-gnu/bits/string_fortified.h:96:1: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +ftpctrl.c:97:38: 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: +display.h:80: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:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 98 | display_minimal_string(replycode_str); + | ^~~~~~~~~~~~~ + | | + | char * +display.h:80: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:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 104 | display_string("Reply code", replycode_str); + | ^~~~~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +ftpctrl.c:104:44: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 104 | display_string("Reply code", replycode_str); + | ^~~~~~~~~~~~~ + | | + | char * +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:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 105 | display_string("Reply", payload+4); + | ^~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +ftpctrl.c:89:15: warning: variable 'replycode' set but not used [-Wunused-but-set-variable] + 89 | int replycode; + | ^~~~~~~~~ +ftpctrl.c:113:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 113 | display_minimal_string("FTP control "); + | ^~~~~~~~~~~~~~ + | | + | char * +display.h:80: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:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 119 | display_string("Reply", payload); + | ^~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o iana.o iana.c +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 *} +/usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 246 | 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:34: 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 *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +ftpctrl.c:141:19: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ftpctrl.c:141:36: 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 *} +/usr/include/i386-linux-gnu/bits/string_fortified.h:96:1: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +ftpctrl.c:147:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 147 | display_minimal_string("FTP control "); + | ^~~~~~~~~~~~~~ + | | + | char * +display.h:80: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 * +display.h:80: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 * +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:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 157 | display_string("Request", ptr+1); + | ^~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o icmpv6.o icmpv6.c +gre.c: In function 'dump_gre': +gre.c:86:40: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] + 86 | reserved = (gre0.reserved_high << 5) || gre0.reserved_low; + | ~~~~~~~~~~~~~~~~~~~~^~~~~ +gre.c:112:40: 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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 181 | display_minimal_string("| GRE v0 "); + | ^~~~~~~~~~~ + | | + | char * +display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 183 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 318 | display_minimal_string("| GREv1 "); + | ^~~~~~~~~~ + | | + | char * +display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 354 | display_minimal_string("seq "); + | ^~~~~~ + | | + | char * +display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 356 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 371 | display_minimal_string("ack "); + | ^~~~~~ + | | + | char * +display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 373 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 401 | display_minimal_string("("); + | ^~~ + | | + | char * +display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 403 | display_minimal_string(") "); + | ^~~~ + | | + | char * +display.h:80: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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 +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:510, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from global.h:29, + from hexbuffer.h:32, + from hexbuffer.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 65 | __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 *} +/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 65 | __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 *} +/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 65 | __NTH (snprintf (char *__restrict __s, size_t __n, + | ^~~~~ +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:38: 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: +display.h:80: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 * +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 * +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: 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 "); @@ -1972,13 +1910,105 @@ 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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 +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 * +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 *); + | ^~~~~~~~~~ +icmp.c: In function 'dump_icmp_mask': +icmp.c:204:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 204 | display_minimal_string ( " " ); + | ^~~ + | | + | char * +display.h:80: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: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 * +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: In function 'dump_icmp_routeradvert': +icmp.c:273:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 273 | display_minimal_string("("); + | ^~~ + | | + | char * +display.h:80: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:275:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 275 | display_minimal_string(") "); + | ^~~~ + | | + | char * +display.h:80: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:279:24: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] + 279 | display_ipv4("Address", (u_int8_t *) &addr); + | ^~~~~~~~~ + | | + | char * +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: In function 'dump_icmp': +icmp.c:318:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 318 | display_minimal_string("| ICMP "); + | ^~~~~~~~~ + | | + | char * +display.h:80: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:319:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 319 | display_minimal_string(map2str(icmp_type_map, icmp.type)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +display.h:80: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:320:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 320 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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:324:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 324 | display_minimal_string(map2str(icmp_du_map, icmp.code)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +display.h:80: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:328:34: 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 * +display.h:80: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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o l2tp.o l2tp.c 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 "); @@ -2031,13 +2061,9 @@ 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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipv6.o ipv6.c ip.c: In function 'dump_ip': -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o mobileip.o mobileip.c 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 "); | ^~~~~~~ @@ -2066,7 +2092,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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o mppc.o mppc.c ip.c:134:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 134 | display_minimal_string(",id:"); | ^~~~~~ @@ -2210,62 +2235,7 @@ 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 -Werror=implicit-function-declaration -ffile-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 -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 "); - | ^~~~~~~~~ - | | - | char * -In file included from local.h:30, - from ipv6.h:30, - from ipv6.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 *); - | ^~~~~~~~~~ -ipv6.c:113:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 113 | display_minimal_string("->"); - | ^~~~ - | | - | char * -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipv6.c:115:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 115 | display_minimal_string(" "); - | ^~~ - | | - | char * -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -ipv6.c:130:30: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] - 130 | display("Next header", holder, strlen(holder), DISP_STRING); - | ^~~~~~ - | | - | char * -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); - | ^~~~~~~~~~ -ipv6.c:132:20: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] - 132 | display_ipv6("Source address",(u_int8_t *) &ipv6.src_addr); - | ^~~~~~~~~~~~~~~~ - | | - | char * -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:133:20: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] - 133 | display_ipv6("Destination address",(u_int8_t *) &ipv6.dst_addr); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | char * -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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipx.o ipx.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 "); @@ -2315,28 +2285,9 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * -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 * -display.h:80: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 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 *); | ^~~~~~~~~~ -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()); - | ^~~~~~~~~~~~~~~~ ipcp.c:263:54: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 263 | display_minimal_string(" "); | ^~~ @@ -2345,11 +2296,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 *); | ^~~~~~~~~~ -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 * ipcp.c:264:54: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 264 | display_minimal_string(map2str | ^~~~~~~ @@ -2362,9 +2308,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 *); | ^~~~~~~~~~ -display.h:80: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:54: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 293 | display_minimal_string(" "); | ^~~ @@ -2381,11 +2324,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 *); | ^~~~~~~~~~ -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 * ipcp.c:310:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 310 | display_minimal_string(")"); | ^~~ @@ -2394,9 +2332,101 @@ display.h:80: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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ipxrip.o ipxrip.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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o layers.o layers.c +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 "); + | ^~~~~~~~~ + | | + | char * +In file included from local.h:30, + from ipv6.h:30, + from ipv6.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 *); + | ^~~~~~~~~~ +ipv6.c:113:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 113 | display_minimal_string("->"); + | ^~~~ + | | + | char * +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ipv6.c:115:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 115 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +ipv6.c:130:30: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] + 130 | display("Next header", holder, strlen(holder), DISP_STRING); + | ^~~~~~ + | | + | char * +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); + | ^~~~~~~~~~ +ipv6.c:132:20: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] + 132 | display_ipv6("Source address",(u_int8_t *) &ipv6.src_addr); + | ^~~~~~~~~~~~~~~~ + | | + | char * +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:133:20: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] + 133 | display_ipv6("Destination address",(u_int8_t *) &ipv6.dst_addr); + | ^~~~~~~~~~~~~~~~~~~~~ + | | + | char * +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 *); + | ^~~~~~~~~~ +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 * display.h:80: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 * +display.h:80: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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o mgcp.o mgcp.c l2tp.c: In function 'dump_l2tp_avp': l2tp.c:337:40: 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)); @@ -2474,9 +2504,61 @@ display.h:80: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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o mppc.o mppc.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: +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +llc.c:65:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 65 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +llc.c:67:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 67 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +llc.c:95:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 95 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +llc.c:145:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 145 | display_minimal_string("SNAP "); + | ^~~~~~~ + | | + | char * +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +llc.c:147:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 147 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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 -Werror=implicit-function-declaration -ffile-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 "); @@ -2489,17 +2571,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 *); | ^~~~~~~~~~ -mgcp.c: In function 'is_mgcp': 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 * -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; - | ~~~^~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -2508,36 +2584,14 @@ | ^~~ | | | char * -In file included from global.h:44, - from mgcp.h:28, - from mgcp.c:27: -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -mgcp.c:48:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 48 | if ( !strncmp(pkt->current,"RQNT",4) ) return 1; - | ~~~^~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -mgcp.c:49:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 49 | if ( !strncmp(pkt->current,"NTFY",4) ) return 1; - | ~~~^~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} lcp.c:246:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 246 | display_minimal_string(", "); | ^~~~ | | | char * -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -2546,70 +2600,22 @@ | ^~~ | | | char * -mgcp.c:50:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 50 | if ( !strncmp(pkt->current,"CRCX",4) ) return 1; - | ~~~^~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} display.h:80: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/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ lcp.c:258:44: 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 * -mgcp.c:51:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 51 | if ( !strncmp(pkt->current,"MDCX",4) ) return 1; - | ~~~^~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -mgcp.c:52:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 52 | if ( !strncmp(pkt->current,"DLCX",4) ) return 1; - | ~~~^~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ lcp.c:283:48: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 283 | display_minimal_string(" "); | ^~~ | | | char * -mgcp.c:53:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 53 | if ( !strncmp(pkt->current,"AUEP",4) ) return 1; - | ~~~^~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -mgcp.c:54:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 54 | if ( !strncmp(pkt->current,"AUCX",4) ) return 1; - | ~~~^~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -mgcp.c:55:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 55 | if ( !strncmp(pkt->current,"RSIP",4) ) return 1; - | ~~~^~~~~~~~~ - | | - | u_int8_t * {aka unsigned char *} -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -2621,31 +2627,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 *); | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o nntp.o nntp.c lcp.c:358:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 358 | display_minimal_string(" "); | ^~~ | | | char * -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: -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ -llc.c:65:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 65 | display_minimal_string(" "); - | ^~~ - | | - | char * -display.h:80: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.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -2658,32 +2645,14 @@ 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); | ^~~~~~ -llc.c:67:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 67 | display_minimal_string(" "); - | ^~~ - | | - | char * -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 lcp.c:385:38: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 385 | display_string("Data", data); | ^~~~~~ | | | char * -display.h:80: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.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 *); | ^~~~~~~~~~ -loopback.c: In function 'dump_loopback': -llc.c:95:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 95 | display_minimal_string(" "); - | ^~~ - | | - | char * -display.h:80: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:40: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 421 | display_minimal_string(" "); | ^~~ @@ -2692,41 +2661,103 @@ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +loopback.c: In function 'dump_loopback': loopback.c:60:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 60 | display_minimal_string("LOOPBACK "); | ^~~~~~~~~~~ | | | char * -llc.c:145:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 145 | display_minimal_string("SNAP "); - | ^~~~~~~ - | | - | char * In file included from local.h:30, from loopback.h:31, from loopback.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 *); | ^~~~~~~~~~ -display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 80 | inline void display_minimal_string (u_int8_t *); - | ^~~~~~~~~~ loopback.c:62:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 62 | display_minimal_string("| LOOPBACK "); | ^~~~~~~~~~~~~ | | | char * -llc.c:147:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 147 | display_minimal_string(" "); - | ^~~ - | | - | char * -display.h:80: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.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ +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; + | ~~~^~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +In file included from global.h:44, + from mgcp.h:28, + from mgcp.c:27: +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +mgcp.c:48:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 48 | if ( !strncmp(pkt->current,"RQNT",4) ) return 1; + | ~~~^~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +mgcp.c:49:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 49 | if ( !strncmp(pkt->current,"NTFY",4) ) return 1; + | ~~~^~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +mgcp.c:50:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 50 | if ( !strncmp(pkt->current,"CRCX",4) ) return 1; + | ~~~^~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +mgcp.c:51:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 51 | if ( !strncmp(pkt->current,"MDCX",4) ) return 1; + | ~~~^~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +mgcp.c:52:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 52 | if ( !strncmp(pkt->current,"DLCX",4) ) return 1; + | ~~~^~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +mgcp.c:53:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 53 | if ( !strncmp(pkt->current,"AUEP",4) ) return 1; + | ~~~^~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +mgcp.c:54:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 54 | if ( !strncmp(pkt->current,"AUCX",4) ) return 1; + | ~~~^~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +mgcp.c:55:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 55 | if ( !strncmp(pkt->current,"RSIP",4) ) return 1; + | ~~~^~~~~~~~~ + | | + | u_int8_t * {aka unsigned char *} +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 159 | 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 -Werror=implicit-function-declaration -ffile-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 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)); @@ -2764,8 +2795,8 @@ display.h:80: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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o payload.o payload.c mobileip.c: In function 'dump_mobileip_ext_nai': +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 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) | ^~~ @@ -2775,6 +2806,7 @@ 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); | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ospf.o ospf.c mobileip.c:463:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 463 | display_string(" NAI", nai); | ^~~~~~~ @@ -2837,12 +2869,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_questions': -netbios_ns.c:220:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 220 | display_minimal_string(holder); - | ^~~~~~ - | | - | char * mobileip.c:669:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 669 | display_minimal_string("addr:"); | ^~~~~~~ @@ -2851,28 +2877,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 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:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 221 | display_minimal_string(" "); - | ^~~ - | | - | char * -display.h:80: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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 225 | display_string("Query", holder); - | ^~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ mobileip.c:671:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 671 | display_minimal_string(",HA:"); | ^~~~~~ @@ -2881,22 +2885,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:225:35: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 225 | display_string("Query", holder); - | ^~~~~~ - | | - | char * -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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 228 | display_string(" Type", holder); - | ^~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ mobileip.c:673:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 673 | display_minimal_string(",COA:"); | ^~~~~~~ @@ -2905,44 +2893,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 *); | ^~~~~~~~~~ -netbios_ns.c:228:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 228 | display_string(" Type", holder); - | ^~~~~~ - | | - | char * -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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 231 | display_string(" Query class", holder); - | ^~~~~~~~~~~~~~~ - | | - | char * mobileip.c:675:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 675 | 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 *); - | ^~~~~~~~~~ -netbios_ns.c:231:43: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 231 | display_string(" Query class", holder); - | ^~~~~~ - | | - | char * -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 *); - | ^~~~~~~~~~ display.h:80: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:32: 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:682:26: 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); | ^~~~~~~~~~~~~~ @@ -2951,10 +2909,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 *); | ^~~~~~~~~~ -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:683:26: 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); | ^~~~~~~~~~~~ @@ -2971,31 +2925,14 @@ 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:326:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 326 | display_minimal_string(" "); - | ^~~ - | | - | char * -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ppp.o ppp.c -display.h:80: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:36: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * -netbios_ns.c:331:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 331 | display_string(answer_type, holder); - | ^~~~~~~~~~~ - | | - | char * display.h:80: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.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:706:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 706 | display_minimal_string(" ("); | ^~~~ @@ -3004,14 +2941,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:331:39: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 331 | display_string(answer_type, holder); - | ^~~~~~ - | | - | char * -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:707:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 707 | display_minimal_string("addr:"); | ^~~~~~~ @@ -3020,14 +2949,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:334:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 334 | display_string(" Query type", holder); - | ^~~~~~~~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ mobileip.c:709:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 709 | display_minimal_string(",HA:"); | ^~~~~~ @@ -3036,11 +2957,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:334:42: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 334 | display_string(" Query type", holder); - | ^~~~~~ - | | - | char * mobileip.c:711:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 711 | display_minimal_string(") "); | ^~~~ @@ -3049,33 +2965,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 *); | ^~~~~~~~~~ -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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 337 | display_string(" Query class", holder); - | ^~~~~~~~~~~~~~~ - | | - | char * mobileip.c:718:26: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 718 | display_ipv4("Home address", (u_int8_t *) ®rep.home_addr); | ^~~~~~~~~~~~~~ | | | 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 *); - | ^~~~~~~~~~ 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:43: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 337 | display_string(" Query class", holder); - | ^~~~~~ - | | - | char * -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:719:26: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 719 | display_ipv4("Home agent", (u_int8_t *) ®rep.home_agent); | ^~~~~~~~~~~~ @@ -3084,11 +2981,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 *); | ^~~~~~~~~~ -netbios_ns.c:345:28: 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 * mobileip.c:738:36: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3097,9 +2989,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 *); | ^~~~~~~~~~ -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:739:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 739 | display_minimal_string(" ("); | ^~~~ @@ -3108,19 +2997,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:349:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 349 | display_string(" Resource data", resource_data); - | ^~~~~~~~~~~~~~~~~ - | | - | char * mobileip.c:740:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 740 | display_minimal_string("addr:"); | ^~~~~~~ | | | 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 *); - | ^~~~~~~~~~ display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -3132,7 +3013,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': mobileip.c:744:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 744 | display_minimal_string(") "); | ^~~~ @@ -3141,9 +3021,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: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:750:26: 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); | ^~~~~~~~~~~~~~ @@ -3152,11 +3029,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 *); | ^~~~~~~~~~ -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:751:26: 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); | ^~~~~~~~~~~~ @@ -3165,14 +3037,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 *); | ^~~~~~~~~~ -display.h:80: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 * mobileip.c:772:36: 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3181,9 +3045,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 *); | ^~~~~~~~~~ -display.h:80: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:773:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 773 | display_minimal_string(" ("); | ^~~~ @@ -3192,23 +3053,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 *); | ^~~~~~~~~~ -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 * -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 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 *); - | ^~~~~~~~~~ mobileip.c:774:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 774 | display_minimal_string("addr:"); | ^~~~~~~ @@ -3217,9 +3061,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 *); | ^~~~~~~~~~ -display.h:80: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:776:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 776 | display_minimal_string(",HA:"); | ^~~~~~ @@ -3228,11 +3069,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: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:778:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 778 | display_minimal_string(") "); | ^~~~ @@ -3241,19 +3077,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 /usr/include/features.h:510, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from global.h:29, - from netbios_ns.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} - 65 | __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 * mobileip.c:785:26: 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); | ^~~~~~~~~~~~~~ @@ -3262,9 +3085,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 *); | ^~~~~~~~~~ -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:786:26: 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); | ^~~~~~~~~~~~ @@ -3273,6 +3093,205 @@ 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: In function 'dump_netbios_ns_questions': +netbios_ns.c:220:34: 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:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 221 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 225 | display_string("Query", holder); + | ^~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +netbios_ns.c:225:35: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 225 | display_string("Query", holder); + | ^~~~~~ + | | + | char * +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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 228 | display_string(" Type", holder); + | ^~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +netbios_ns.c:228:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 228 | display_string(" Type", holder); + | ^~~~~~ + | | + | char * +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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 231 | display_string(" Query class", holder); + | ^~~~~~~~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +netbios_ns.c:231:43: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 231 | display_string(" Query class", holder); + | ^~~~~~ + | | + | char * +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:32: 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 *} +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:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 326 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 331 | display_string(answer_type, holder); + | ^~~~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +netbios_ns.c:331:39: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 331 | display_string(answer_type, holder); + | ^~~~~~ + | | + | char * +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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 334 | display_string(" Query type", holder); + | ^~~~~~~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +netbios_ns.c:334:42: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 334 | display_string(" Query type", holder); + | ^~~~~~ + | | + | char * +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:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 337 | display_string(" Query class", holder); + | ^~~~~~~~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +netbios_ns.c:337:43: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 337 | display_string(" Query class", holder); + | ^~~~~~ + | | + | char * +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:28: 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 * +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:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 349 | display_string(" Resource data", resource_data); + | ^~~~~~~~~~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +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 * +display.h:80: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 * +display.h:80: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 * +display.h:80: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:510, + from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from global.h:29, + from netbios_ns.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} + 65 | __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 * +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, | ^~~~~~ @@ -3323,7 +3342,18 @@ 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 -Werror=implicit-function-declaration -ffile-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 * +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 *); + | ^~~~~~~~~~ open_pcap.c: In function 'open_pcap': open_pcap.c:74:11: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 74 | my_args->i = pcap_lookupdev(errorbuf); @@ -3335,6 +3365,7 @@ /usr/include/pcap/pcap.h:444:18: note: declared here 444 | 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 -Werror=implicit-function-declaration -ffile-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 ospf.c: In function 'dump_ospf_hello': ospf.c:95:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 95 | display_minimal_string(" "); @@ -3355,6 +3386,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 *); | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o padding.o padding.c ospf.c:107:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 107 | display_ipv4("Designated router", | ^~~~~~~~~~~~~~~~~~~ @@ -3468,12 +3500,40 @@ 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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o pppoe.o pppoe.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o pptp.o pptp.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ripng.o ripng.c +In file included from /usr/include/stdio.h:970: +In function 'snprintf', + inlined from 'dump_netbios_ns' at netbios_ns.c:440:7: +/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +In function 'snprintf', + inlined from 'dump_netbios_ns' at netbios_ns.c:443:7: +/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +In function 'snprintf', + inlined from 'dump_netbios_ns' at netbios_ns.c:446:7: +/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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) @@ -3486,10 +3546,7 @@ 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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rtcp.o rtcp.c payload.c: In function 'dump_payload': -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rtp.o rtp.c 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) | ^~~~~~ @@ -3501,6 +3558,7 @@ 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); | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 ppp.c: In function 'dump_ppp': ppp.c:130:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 130 | display_minimal_string("| PPP "); @@ -3534,9 +3592,8 @@ 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; | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rip.o rip.c 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 "); @@ -3549,92 +3606,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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o slp.o slp.c -radius.c: In function 'dump_radius_vendorspecific': -radius.c:185:36: 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 *); - | ^~~~~~~~~~ -radius.c:186:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 186 | display_minimal_string("["); - | ^~~ - | | - | char * -display.h:80: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:36: 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 * -display.h:80: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:188:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 188 | display_minimal_string("]: "); - | ^~~~~ - | | - | char * -display.h:80: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_attribute': -radius.c:249:36: 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 * -display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 250 | display_minimal_string(": "); - | ^~~~ - | | - | char * -display.h:80: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:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 257 | display_string(" Value", username); - | ^~~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ -radius.c:285:36: 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 * -display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 286 | display_minimal_string(": "); - | ^~~~ - | | - | char * -display.h:80: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:36: 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 * -display.h:80: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_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(" "); @@ -3656,11 +3627,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 *); | ^~~~~~~~~~ -radius.c:313:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 313 | display_minimal_string(": "); - | ^~~~ - | | - | char * pptp.c:125:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 125 | display_string("Vendor", hdr.vendor); | ^~~~~~~~ @@ -3669,9 +3635,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 *); | ^~~~~~~~~~ -display.h:80: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_startccrep': pptp.c:169:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 169 | display_minimal_string(" "); @@ -3697,11 +3660,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 *); | ^~~~~~~~~~ -radius.c:344:36: 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 * pptp.c: In function 'dump_pptp_outgoingreq': pptp.c:234:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 234 | display_minimal_string(" "); @@ -3711,9 +3669,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 *); | ^~~~~~~~~~ -display.h:80: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:251:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 251 | display_string("Phone number", hdr.phone_num); | ^~~~~~~~~~~~~~ @@ -3727,17 +3682,9 @@ | ^~~~~~~~~~~~ | | | char * -radius.c:345:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 345 | 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 *); | ^~~~~~~~~~ -display.h:80: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_outgoingrep': pptp.c:296:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 296 | display_minimal_string(" "); @@ -3747,155 +3694,217 @@ display.h:80: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_3gpp2.c: In function 'dump_radius_3gpp2': pptp.c: In function 'dump_pptp_setlinkinfo': -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 * 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 * -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("["); +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(" "); | ^~~ | | | char * display.h:80: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_calldiscntfy': +pptp.c:444:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 444 | display_minimal_string(" "); + | ^~~ + | | + | char * display.h:80: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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 * - 166 | IANA_ENTERPRISE_3GPP2)); - | ~~~~~~~~~~~~~~~~~~~~~~ display.h:80: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:393:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 393 | display_minimal_string("| RADIUS "); - | ^~~~~~~~~~~ - | | - | char * -pptp.c: In function 'dump_pptp_callclearreq': -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("]: "); - | ^~~~~ +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)); + | ~~~~~~~~~~~~~~~~~~~ display.h:80: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 * display.h:80: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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ~~~~~~~~~~~~~~~~~~~~~~ display.h:80: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:399:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 399 | display_minimal_string(" "); - | ^~~ - | | - | char * -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(" "); +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 * display.h:80: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:36: 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 *); | ^~~~~~~~~~ -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 * -pptp.c: In function 'dump_pptp_calldiscntfy': +radius.c:186:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 186 | display_minimal_string("["); + | ^~~ + | | + | char * display.h:80: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:444:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 444 | display_minimal_string(" "); - | ^~~ - | | - | char * +radius.c:187:36: 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 * display.h:80: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 * +radius.c:188:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 188 | display_minimal_string("]: "); + | ^~~~~ + | | + | char * display.h:80: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': -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 * -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 * +radius.c: In function 'dump_radius_attribute': +radius.c:249:36: 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 * display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 250 | display_minimal_string(": "); + | ^~~~ + | | + | char * display.h:80: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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~ +radius.c:257:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 257 | display_string(" Value", username); + | ^~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +radius.c:285:36: 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 * +display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 286 | display_minimal_string(": "); + | ^~~~ + | | + | char * +display.h:80: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:36: 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 * +display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 313 | display_minimal_string(": "); + | ^~~~ + | | + | char * +display.h:80: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:36: 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 * +display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 345 | display_minimal_string(": "); + | ^~~~ + | | + | char * +display.h:80: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 * - 501 | pptp.pptp_msg_type)); - | ~~~~~~~~~~~~~~~~~~~ display.h:80: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(" "); +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 * +display.h:80: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 * display.h:80: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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 * - 504 | pptp.control_msg_type)); - | ~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o snmp.o snmp.c display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -3904,14 +3913,6 @@ | ^~~~ | | | char * -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 * -display.h:80: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.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -3923,6 +3924,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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ripng.o ripng.c rip.c: In function 'dump_rip': rip.c:94:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 94 | display_minimal_string("| RIPv1 "); @@ -3967,6 +3969,7 @@ 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rsvp.o rsvp.c rip.c:143:28: 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); | ^~~~~~~~~~~~ @@ -4055,6 +4058,65 @@ display.h:80: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 * +display.h:80: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)); + | ~~~~~~~~~~~~~~~~~~~~~~ +display.h:80: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 * +display.h:80: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 * +display.h:80: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 * +display.h:80: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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rtcp.o rtcp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o rtp.o rtp.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o slip.o slip.c 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 "); @@ -4075,9 +4137,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 /usr/include/stdio.h:970: -In function 'snprintf', - inlined from 'dump_netbios_ns' at netbios_ns.c:440:7: ripng.c:78:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 78 | display_minimal_string(" "); | ^~~ @@ -4086,20 +4145,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 *); | ^~~~~~~~~~ -/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ 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 function 'snprintf', - inlined from 'dump_netbios_ns' at netbios_ns.c:443: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 *); | ^~~~~~~~~~ @@ -4108,25 +4158,9 @@ | ^~~~~~ | | | char * -/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -In function 'snprintf', - inlined from 'dump_netbios_ns' at netbios_ns.c:446:7: 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 *); | ^~~~~~~~~~ -/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: warning: '__builtin___snprintf_chk' specified bound 256 exceeds destination size 64 [-Wstringop-overflow=] - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ ripng.c:120:24: 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); | ^~~~~~~~~ @@ -4143,35 +4177,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 *); | ^~~~~~~~~~ -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 * -display.h:80: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 * -display.h:80: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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o spx.o spx.c 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(" "); @@ -4184,6 +4189,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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o slp.o slp.c rtcp.c:210:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 210 | display_minimal_string(" "); | ^~~ @@ -4259,18 +4265,47 @@ display.h:80: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: 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 * rtcp.c:442:34: 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 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 *); + | ^~~~~~~~~~ display.h:80: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 * +display.h:80: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 * rtcp.c:414:17: warning: variable 'bytes_remaining' set but not used [-Wunused-but-set-variable] 414 | u_int16_t bytes_remaining; | ^~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o ssh.o ssh.c +display.h:80: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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o spx.o spx.c 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"); @@ -4299,31 +4334,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 *); | ^~~~~~~~~~ -slp.c: In function 'dump_slp': -slp.c:90:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 90 | display_minimal_string("| SLPv1 "); - | ^~~~~~~~~~ - | | - | char * 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 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 *); - | ^~~~~~~~~~ -slp.c:91:34: 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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -display.h:80: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.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -4332,73 +4347,9 @@ | ^~~~ | | | char * -slp.c:92:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 92 | display_minimal_string(" "); - | ^~~ - | | - | char * -display.h:80: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.h:80: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:103:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 103 | display_string("Operation", holder); - | ^~~~~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ -slp.c:103:39: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 103 | display_string("Operation", holder); - | ^~~~~~ - | | - | char * -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 *); - | ^~~~~~~~~~ -slp.c:131:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 131 | display_minimal_string("| SLPv2 "); - | ^~~~~~~~~~ - | | - | char * -display.h:80: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:132:34: 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 * -display.h:80: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:133:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 133 | display_minimal_string(" "); - | ^~~ - | | - | char * -display.h:80: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:144:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 144 | display_string("Operation", holder); - | ^~~~~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ -slp.c:144:39: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] - 144 | display_string("Operation", holder); - | ^~~~~~ - | | - | char * -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 *); - | ^~~~~~~~~~ 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 "); @@ -4411,21 +4362,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 *); | ^~~~~~~~~~ -sip.c: In function 'dump_sip': sdp.c:67:33: 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: +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 *); + | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o state.o state.c +sip.c: In function 'dump_sip': sip.c:67:33: 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: -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:31, from sip.h:29, from sip.c:29: @@ -4465,7 +4418,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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o state.o state.c slip.c: In function 'dump_slip': slip.c:64:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 64 | display_minimal_string("SLIP "); @@ -4487,68 +4439,105 @@ 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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o utilities.o utilities.c -spx.c: In function 'dump_spx': -spx.c:72:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 72 | display_minimal_string("| SPX "); - | ^~~~~~~~ +slp.c: In function 'dump_slp': +slp.c:90:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 90 | display_minimal_string("| SLPv1 "); + | ^~~~~~~~~~ | | | char * In file included from local.h:30, - from spx.h:30, - from spx.c:27: + 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 *); | ^~~~~~~~~~ -udp.c: In function 'dump_udp': -udp.c:77:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 77 | display_minimal_string("| UDP "); - | ^~~~~~~~ - | | - | char * -In file included from local.h:30, - from dhcp.h:30, - from ip_services.h:30, - from udp.c:27: +slp.c:91:34: 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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -udp.c:79:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 79 | display_minimal_string("->"); - | ^~~~ - | | - | char * +slp.c:92:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 92 | display_minimal_string(" "); + | ^~~ + | | + | char * display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ -udp.c:81:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 81 | display_minimal_string(" "); - | ^~~ - | | - | char * +slp.c:103:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 103 | display_string("Operation", holder); + | ^~~~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +slp.c:103:39: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 103 | display_string("Operation", holder); + | ^~~~~~ + | | + | char * +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 *); + | ^~~~~~~~~~ +slp.c:131:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 131 | display_minimal_string("| SLPv2 "); + | ^~~~~~~~~~ + | | + | char * +display.h:80: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:132:34: 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 * +display.h:80: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:133:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 133 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80: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:144:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 144 | display_string("Operation", holder); + | ^~~~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +slp.c:144:39: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] + 144 | display_string("Operation", holder); + | ^~~~~~ + | | + | char * +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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o tftp.o tftp.c +spx.c: In function 'dump_spx': +spx.c:72:34: 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 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 *); | ^~~~~~~~~~ -udp.c:92:27: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] - 92 | display("Length", (char *) &udp.length, 2, DISP_DEC); - | ^~~~~~~~~~~~~~~~~~~~ - | | - | char * -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); - | ^~~~~~~~~~ -udp.c:93:29: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] - 93 | display("Checksum", (char *) &udp.checksum, 2, DISP_DEC); - | ^~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -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); - | ^~~~~~~~~~ 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)) @@ -4578,104 +4567,14 @@ 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: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:36: 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 * -display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 99 | display_minimal_string(" ("); - | ^~~~ - | | - | char * -display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 101 | display_minimal_string(","); - | ^~~ - | | - | char * -display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 103 | display_minimal_string(")"); - | ^~~ - | | - | char * -display.h:80: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:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 108 | display_string("Filename", filename); - | ^~~~~~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ -tftp.c:109:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 109 | display_string("Mode", mode); - | ^~~~~~ - | | - | 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 *); - | ^~~~~~~~~~ -tftp.c:149:36: 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 * -display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 150 | display_minimal_string(" block "); - | ^~~~~~~~~ - | | - | char * -display.h:80: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:36: 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 * -display.h:80: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 -Werror=implicit-function-declaration -ffile-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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -c -o utilities.o utilities.c tcp.c: In function 'dump_tcp_options': tcp.c:91:30: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 91 | display_string("Option", holder); | ^~~~~~~~ | | | char * -tftp.c:183:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 183 | display_minimal_string(" block "); - | ^~~~~~~~~ - | | - | char * -display.h:80: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, @@ -4723,14 +4622,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:225:36: 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 * -display.h:80: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:136:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 136 | display_minimal_string(" "); | ^~~ @@ -4747,14 +4638,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:226:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 226 | display_minimal_string(" ("); - | ^~~~ - | | - | char * -display.h:80: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:147:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 147 | display_minimal_string(" "); | ^~~ @@ -4771,25 +4654,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:228:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 228 | display_minimal_string(","); - | ^~~ - | | - | char * -display.h:80: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 * tcp.c:167:38: 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 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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] - 230 | display_minimal_string(")"); - | ^~~ +display.h:80: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:36: 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 * tcp.c:169:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] @@ -4800,6 +4687,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 *); | ^~~~~~~~~~ +tftp.c:99:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 99 | display_minimal_string(" ("); + | ^~~~ + | | + | char * +display.h:80: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.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -4808,6 +4703,14 @@ | ^~~ | | | char * +tftp.c:101:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 101 | display_minimal_string(","); + | ^~~ + | | + | char * +display.h:80: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.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 80 | inline void display_minimal_string (u_int8_t *); | ^~~~~~~~~~ @@ -4816,17 +4719,22 @@ | ^~~ | | | char * +tftp.c:103:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 103 | display_minimal_string(")"); + | ^~~ + | | + | char * display.h:80: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:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] - 236 | display_string("Message", msg); - | ^~~~~~~~~ +display.h:80: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:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 108 | display_string("Filename", filename); + | ^~~~~~~~~~ | | | 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:198:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 198 | display_minimal_string(" "); | ^~~ @@ -4835,6 +4743,33 @@ display.h:80: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.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:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 109 | display_string("Mode", mode); + | ^~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +tftp.c:149:36: 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 * +display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 150 | display_minimal_string(" block "); + | ^~~~~~~~~ + | | + | char * +display.h:80: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': 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 "); @@ -4844,6 +4779,22 @@ display.h:80: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:36: 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 * +display.h:80: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:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 183 | display_minimal_string(" block "); + | ^~~~~~~~~ + | | + | char * +display.h:80: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:284:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 284 | display_minimal_string("->"); | ^~~~ @@ -4860,14 +4811,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 *); | ^~~~~~~~~~ +tftp.c:225:36: 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 * +display.h:80: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:287:23: warning: pointer targets in passing argument 1 of 'display_minimal' differ in signedness [-Wpointer-sign] 287 | display_minimal(flag_str, strlen(flag_str), DISP_STRING); | ^~~~~~~~ | | | char * +tftp.c:226:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 226 | display_minimal_string(" ("); + | ^~~~ + | | + | char * +display.h:80: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.h:79:30: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 79 | inline void display_minimal (u_int8_t *, u_int32_t, display_t); | ^~~~~~~~~~ +tftp.c:228:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 228 | display_minimal_string(","); + | ^~~ + | | + | char * tcp.c:288:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 288 | display_minimal_string(","); | ^~~ @@ -4876,6 +4848,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:230:36: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 230 | display_minimal_string(")"); + | ^~~ + | | + | char * +display.h:80: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:28: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] + 236 | display_string("Message", msg); + | ^~~~~~~~~ + | | + | 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 *); + | ^~~~~~~~~~ +display.h:80: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:290:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 290 | display_minimal_string(","); | ^~~ @@ -4916,6 +4907,51 @@ 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 *); | ^~~~~~~~~~ +udp.c: In function 'dump_udp': +udp.c:77:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 77 | display_minimal_string("| UDP "); + | ^~~~~~~~ + | | + | char * +In file included from local.h:30, + from dhcp.h:30, + from ip_services.h:30, + from udp.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 *); + | ^~~~~~~~~~ +udp.c:79:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 79 | display_minimal_string("->"); + | ^~~~ + | | + | char * +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +udp.c:81:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] + 81 | display_minimal_string(" "); + | ^~~ + | | + | char * +display.h:80:37: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 80 | inline void display_minimal_string (u_int8_t *); + | ^~~~~~~~~~ +udp.c:92:27: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] + 92 | display("Length", (char *) &udp.length, 2, DISP_DEC); + | ^~~~~~~~~~~~~~~~~~~~ + | | + | char * +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); + | ^~~~~~~~~~ +udp.c:93:29: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] + 93 | display("Checksum", (char *) &udp.checksum, 2, DISP_DEC); + | ^~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +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 -Wall -Wstrict-prototypes -Wformat -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ipgrab-0.9.10=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu89 -Wl,-z,relro -Wl,-z,now -o ipgrab ah.o arp.o cbcp.o ccp.o chap.o datalink.o dhcp.o display.o dns.o dynports.o error.o esp.o ethernet.o ethertypes.o file.o ftpctrl.o getopt.o gre.o hexbuffer.o http.o iana.o icmp.o icmpv6.o igmp.o ip.o ip_protocols.o ip_services.o ipcp.o ipgrab.o ipv6.o ipx.o ipxrip.o isakmp.o l2tp.o layers.o lcp.o llc.o loopback.o mgcp.o mobileip.o mppc.o netbios_ns.o nntp.o ns_labels.o open_pcap.o ospf.o packet_manip.o padding.o parse_cl.o payload.o ppp.o pppoe.o pptp.o radius.o radius_3gpp2.o raw.o rip.o ripng.o rsvp.o rtcp.o rtp.o sdp.o sip.o slip.o slp.o snmp.o spx.o ssh.o state.o stats.o strmap.o tcp.o tftp.o udp.o utilities.o -L/usr/local/lib -lpcap make[3]: Leaving directory '/build/reproducible-path/ipgrab-0.9.10/src' Making all in doc @@ -4923,12 +4959,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; \ @@ -4943,7 +4979,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 -j22 check "TESTSUITEFLAGS=-j22 --verbose" VERBOSE=1 + make -j10 check "TESTSUITEFLAGS=-j10 --verbose" 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' @@ -4986,12 +5022,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/12061/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/12061/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/65534 and its subdirectories -I: Current time: Thu Nov 13 14:30:54 -12 2025 -I: pbuilder-time-stamp: 1763087454 +I: removing directory /srv/workspace/pbuilder/12061 and its subdirectories +I: Current time: Sat Oct 12 10:08:45 +14 2024 +I: pbuilder-time-stamp: 1728677325