Diff of the two buildlogs: -- --- b1/build.log 2024-11-17 20:53:16.487666867 +0000 +++ b2/build.log 2024-11-17 20:54:03.981514163 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Dec 20 15:15:51 -12 2025 -I: pbuilder-time-stamp: 1766286951 +I: Current time: Mon Nov 18 10:53:19 +14 2024 +I: pbuilder-time-stamp: 1731876799 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -33,54 +33,86 @@ dpkg-source: info: applying ftbfs-with-gcc-14.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/117834/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/62214/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 Nov 17 20:53 /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/62214/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/62214/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='b296e51cdc3c429ebbf2b64a1f5672c3' - 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='117834' - PS1='# ' - PS2='> ' + INVOCATION_ID=99958b6429d24a7888cd34c19f44882d + 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=62214 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.TZ8QsTAL/pbuilderrc_6wEI --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.TZ8QsTAL/b1 --logfile b1/build.log mdk4_4.2-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.TZ8QsTAL/pbuilderrc_m5cD --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.TZ8QsTAL/b2 --logfile b2/build.log mdk4_4.2-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 ionos6-i386 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) 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/117834/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/62214/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -167,7 +199,7 @@ Get: 41 http://deb.debian.org/debian unstable/main i386 libpcap0.8t64 i386 1.10.5-1 [175 kB] Get: 42 http://deb.debian.org/debian unstable/main i386 libpcap0.8-dev i386 1.10.5-1 [293 kB] Get: 43 http://deb.debian.org/debian unstable/main i386 libpcap-dev i386 1.10.5-1 [31.7 kB] -Fetched 21.4 MB in 0s (87.1 MB/s) +Fetched 21.4 MB in 1s (19.1 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 ... 19952 files and directories currently installed.) @@ -355,7 +387,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mdk4-4.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mdk4_4.2-5_source.changes +I: user script /srv/workspace/pbuilder/62214/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/62214/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mdk4-4.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mdk4_4.2-5_source.changes dpkg-buildpackage: info: source package mdk4 dpkg-buildpackage: info: source version 4.2-5 dpkg-buildpackage: info: source distribution unstable @@ -365,7 +401,7 @@ debian/rules clean dh clean dh_auto_clean - make -j22 distclean + make -j10 distclean make[1]: Entering directory '/build/reproducible-path/mdk4-4.2' make -C src clean make[2]: Entering directory '/build/reproducible-path/mdk4-4.2/src' @@ -393,7 +429,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j22 "INSTALL=install --strip-program=true" + make -j10 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/mdk4-4.2' make -C src clean make[2]: Entering directory '/build/reproducible-path/mdk4-4.2/src' @@ -426,46 +462,28 @@ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o packet.o packet.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o brute.o brute.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o osdep.o osdep.c +packet.c: In function 'create_ieee_hdr': +packet.c:13:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 13 | if (!fragment) seqno++; seqno %= 0x1000; + | ^~ +packet.c:13:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 13 | if (!fragment) seqno++; seqno %= 0x1000; + | ^~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o channelhopper.o channelhopper.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ghosting.o ghosting.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fragmenting.o fragmenting.c +Building for Linux +make[4]: Entering directory '/build/reproducible-path/mdk4-4.2/src/osdep' make -C attacks -make -C attacks -make -C attacks -make -C attacks -make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' -make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' -make -C attacks -make -C attacks -make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' -make -C attacks -make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' -make -C attacks -make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' -make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' +osdep.c: In function 'osdep_init_txpowers': +osdep.c:165:36: warning: '%s' directive argument is null [-Wformat-overflow=] + 165 | printf("D'oh, open interface %s first, idiot...\n", osdep_iface_out); + | ^~ make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' make -C attacks make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' -make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c -Building for Linux -make[4]: Entering directory '/build/reproducible-path/mdk4-4.2/src/osdep' -packet.c: In function 'create_ieee_hdr': -packet.c:13:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 13 | if (!fragment) seqno++; seqno %= 0x1000; - | ^~ -packet.c:13:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 13 | if (!fragment) seqno++; seqno %= 0x1000; - | ^~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o osdep.o osdep.c channelhopper.c: In function 'error_handler': channelhopper.c:155:46: warning: unused parameter 'nla' [-Wunused-parameter] 155 | static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, @@ -490,124 +508,64 @@ channelhopper.c:240:14: warning: 'dfs_state_name' defined but not used [-Wunused-function] 240 | static char *dfs_state_name(enum nl80211_dfs_state state) | ^~~~~~~~~~~~~~ +make -C attacks +make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o attacks.o attacks.c +make -C attacks +make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' +make -C attacks cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c +make -C attacks cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c +make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' +make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o osdep.o osdep.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c make -C attacks make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c make -C attacks -osdep.c: In function 'osdep_init_txpowers': -osdep.c:165:36: warning: '%s' directive argument is null [-Wformat-overflow=] - 165 | printf("D'oh, open interface %s first, idiot...\n", osdep_iface_out); - | ^~ -make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' -make -C attacks -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c make -C attacks make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o auth_dos.o auth_dos.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o network.o network.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c network.c: In function 'net_send': network.c:61:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 61 | pktbuf = (char*)calloc(sizeof(char), pktlen); | ^~~~ network.c:61:39: note: earlier argument should specify number of elements, later size of each element -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o file.o file.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o beacon_flood.o beacon_flood.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux.o linux.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o file.o file.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux.o linux.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c -poc.c: In function 'poc_parse': -poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] - 168 | if(fgets(buf, sizeof(buf), fp1)) - | ^~~ - | | - | 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 poc.c:1: -/usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' - 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -poc.c: In function 'get_target': -poc.c:207:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] - 207 | uint16_t recv_seq_ctrl; - | ^~~~~~~~~~~~~ -poc.c: In function 'get_file_lines': -poc.c:489:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 489 | if(fp = fopen(filename, "r")) - | ^~ -poc.c:494:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] - 494 | if(fgets(buf, sizeof(buf), fp)) - | ^~~ - | | - | unsigned char * -/usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' - 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -poc.c: In function 'str_to_hex': -poc.c:518:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 518 | str_len = strlen(pascii)/4; - | ^~~~~~ - | | - | unsigned char * -In file included from poc.c:2: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 534 | if(i < len) - | ^ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o countermeasures.o countermeasures.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c linux.c: In function 'is_ndiswrapper': linux.c:183:17: warning: variable 'unused' set but not used [-Wunused-but-set-variable] 183 | int n, pid, unused; @@ -616,20 +574,11 @@ linux.c:457:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable] 457 | int pid, status, unused; | ^~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c -poc.c: In function 'get_target': -poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] - 232 | switch (dsflags) { - | ^~~~~~ -poc.c:203:13: note: 'dsflags' was declared here - 203 | uint8_t dsflags; - | ^~~~~~~ linux.c: In function 'linux_set_channel_nl80211': linux.c:950:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable] 950 | int pid, status, unused; | ^~~~~~ linux.c: In function 'linux_set_channel': -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c linux.c:1052:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable] 1052 | int pid, status, unused; | ^~~~~~ @@ -641,7 +590,6 @@ linux.c:1273:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable] 1273 | int pid, status, unused; | ^~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c linux.c: In function 'openraw': linux.c:1513:63: warning: comparison of constant '6' with boolean expression is always false [-Wbool-compare] 1513 | if (set_monitor( dev, iface, fd ) && !dev->drivertype == DT_ORINOCO ) @@ -680,45 +628,119 @@ linux.c:314:12: warning: 'linux_nl80211_init' defined but not used [-Wunused-function] 314 | static int linux_nl80211_init(struct nl80211_state *state) | ^~~~~~~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o deauth.o deauth.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux_tap.o linux_tap.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c -poc.c: In function 'poc_parse': -poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); - | ^ -probing.c: In function 'create_probe_req': -probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] - 236 | add_ssid_set(&probe, ssid); - | ^~~~ - | | - | unsigned char * -In file included from attacks.h:14, - from probing.h:4, - from probing.c:8: -../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' - 269 | void add_ssid_set(struct packet *pkt, char *ssid); - | ~~~~~~^~~~ -probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] - 240 | stpcpy(popt->proceed, ssid); - | ^~~~ - | | - | 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 probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dummy.o dummy.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c +linux.c: In function 'do_linux_open.constprop': +linux.c:1906:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 1906 | strncpy(dev->main_if, iface, strlen(iface)); + | ^ +linux.c:1906:9: note: length computed here + 1906 | strncpy(dev->main_if, iface, strlen(iface)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +linux.c:1911:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 1911 | strncpy(iface, buf, strlen(buf)); + | ^ +linux.c:1911:9: note: length computed here + 1911 | strncpy(iface, buf, strlen(buf)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +linux.c:1937:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=] + 1937 | "/sys/class/net/%s/device/rtap_iface", this_iface->d_name); + | ^~ +In file included from /usr/include/stdio.h:970, + from linux.c:34: +In function 'snprintf', + inlined from 'do_linux_open.constprop' at linux.c:1936:17: +/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 34 and 289 bytes into a destination of size 128 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fuzzer.o fuzzer.c +linux.c: In function 'get_battery_state': +linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull] + 2310 | closedir(batteries); + | ^~~~~~~~~~~~~~~~~~~ +In file included from linux.c:40: +/usr/include/dirent.h:134:12: note: in a call to function 'closedir' declared 'nonnull' + 134 | extern int closedir (DIR *__dirp) __nonnull ((1)); + | ^~~~~~~~ +linux.c:2318:78: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=] + 2318 | snprintf(battery_info, sizeof(battery_info), "/proc/acpi/battery/%s/info", this_battery->d_name); + | ^~ +In function 'snprintf', + inlined from 'get_battery_state' at linux.c:2318:13: +/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 25 and 280 bytes into a destination of size 128 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +linux.c: In function 'get_battery_state': +linux.c:2330:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=] + 2330 | "/proc/acpi/battery/%s/state", this_battery->d_name); + | ^~ +In function 'snprintf', + inlined from 'get_battery_state' at linux.c:2329:13: +/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 26 and 281 bytes into a destination of size 128 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +linux.c: In function 'get_battery_state': +linux.c:2289:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 106 [-Wformat-truncation=] + 2289 | "/proc/acpi/ac_adapter/%s/state", this_adapter->d_name); + | ^~ +In function 'snprintf', + inlined from 'get_battery_state' at linux.c:2288:13: +/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 29 and 284 bytes into a destination of size 128 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o linux_tap.o linux_tap.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c poc.c: In function 'poc_parse': poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 168 | if(fgets(buf, sizeof(buf), fp1)) @@ -736,7 +758,6 @@ poc.c:207:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] 207 | uint16_t recv_seq_ctrl; | ^~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c poc.c: In function 'get_file_lines': poc.c:489:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 489 | if(fp = fopen(filename, "r")) @@ -762,41 +783,12 @@ poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 534 | if(i < len) | ^ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c linux_tap.c: In function 'ti_open': linux_tap.c:72:5: warning: '__builtin_strncpy' output may be truncated copying 15 bytes from a string of length 63 [-Wstringop-truncation] 72 | strncpy(priv->tl_ifr.ifr_name, priv->tl_name, | ^ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c -probing.c: In function 'create_probe_req': -probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] - 236 | add_ssid_set(&probe, ssid); - | ^~~~ - | | - | unsigned char * -In file included from attacks.h:14, - from probing.h:4, - from probing.c:8: -../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' - 269 | void add_ssid_set(struct packet *pkt, char *ssid); - | ~~~~~~^~~~ -probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] - 240 | stpcpy(popt->proceed, ssid); - | ^~~~ - | | - | 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 probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o radiotap/radiotap.o radiotap/radiotap.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c poc.c: In function 'get_target': poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] 232 | switch (dsflags) { @@ -804,7 +796,24 @@ poc.c:203:13: note: 'dsflags' was declared here 203 | uint8_t dsflags; | ^~~~~~~ +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o radiotap/radiotap.o radiotap/radiotap.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c +poc.c: In function 'poc_parse': +poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] + 168 | if(fgets(buf, sizeof(buf), fp1)) + | ^~~ + | | + | unsigned char * poc.c: In function 'poc_parse': +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 poc.c:1: +/usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' + 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 168 | if(fgets(buf, sizeof(buf), fp1)) | ^~~ @@ -821,10 +830,36 @@ poc.c:207:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] 207 | uint16_t recv_seq_ctrl; | ^~~~~~~~~~~~~ +poc.c: In function 'get_target': +poc.c:207:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] + 207 | uint16_t recv_seq_ctrl; + | ^~~~~~~~~~~~~ +poc.c: In function 'get_file_lines': +poc.c:489:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 489 | if(fp = fopen(filename, "r")) + | ^~ +poc.c:494:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] + 494 | if(fgets(buf, sizeof(buf), fp)) + | ^~~ + | | + | unsigned char * +/usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' + 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ poc.c: In function 'get_file_lines': +poc.c: In function 'str_to_hex': +poc.c:518:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 518 | str_len = strlen(pascii)/4; + | ^~~~~~ + | | + | unsigned char * poc.c:489:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 489 | if(fp = fopen(filename, "r")) | ^~ +In file included from poc.c:2: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ poc.c:494:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 494 | if(fgets(buf, sizeof(buf), fp)) | ^~~ @@ -834,6 +869,9 @@ 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ poc.c: In function 'str_to_hex': +poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 534 | if(i < len) + | ^ poc.c:518:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 518 | str_len = strlen(pascii)/4; | ^~~~~~ @@ -846,7 +884,6 @@ poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 534 | if(i < len) | ^ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c poc.c: In function 'poc_parse': poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] @@ -890,33 +927,6 @@ poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 534 | if(i < len) | ^ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eapol.o eapol.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c -probing.c: In function 'create_probe_req': -probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] - 236 | add_ssid_set(&probe, ssid); - | ^~~~ - | | - | unsigned char * -In file included from attacks.h:14, - from probing.h:4, - from probing.c:8: -../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' - 269 | void add_ssid_set(struct packet *pkt, char *ssid); - | ~~~~~~^~~~ -probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] - 240 | stpcpy(popt->proceed, ssid); - | ^~~~ - | | - | 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 probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ poc.c: In function 'poc_parse': poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 168 | if(fgets(buf, sizeof(buf), fp1)) @@ -934,87 +944,15 @@ poc.c:207:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] 207 | uint16_t recv_seq_ctrl; | ^~~~~~~~~~~~~ -poc.c: In function 'get_target': -poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] - 232 | switch (dsflags) { - | ^~~~~~ -poc.c:203:13: note: 'dsflags' was declared here - 203 | uint8_t dsflags; - | ^~~~~~~ poc.c: In function 'get_file_lines': -probing.c: In function 'create_probe_req': poc.c:489:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 489 | if(fp = fopen(filename, "r")) | ^~ -probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] - 236 | add_ssid_set(&probe, ssid); - | ^~~~ - | | - | unsigned char * -In file included from attacks.h:14, - from probing.h:4, - from probing.c:8: -../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' - 269 | void add_ssid_set(struct packet *pkt, char *ssid); - | ~~~~~~^~~~ -probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] - 240 | stpcpy(popt->proceed, ssid); - | ^~~~ - | | - | 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 probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ poc.c:494:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 494 | if(fgets(buf, sizeof(buf), fp)) | ^~~ | | | unsigned char * -/usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' - 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -poc.c: In function 'str_to_hex': -poc.c:518:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 518 | str_len = strlen(pascii)/4; - | ^~~~~~ - | | - | unsigned char * -In file included from poc.c:2: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 534 | if(i < len) - | ^ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o common.o common.c -poc.c: In function 'poc_parse': -poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); - | ^ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c -poc.c: In function 'get_target': -poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] - 232 | switch (dsflags) { - | ^~~~~~ -poc.c:203:13: note: 'dsflags' was declared here - 203 | uint8_t dsflags; - | ^~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ieee80211s.o ieee80211s.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c -poc.c: In function 'get_target': -poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] - 232 | switch (dsflags) { - | ^~~~~~ -poc.c:203:13: note: 'dsflags' was declared here - 203 | uint8_t dsflags; - | ^~~~~~~ poc.c: In function 'poc_parse': poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 168 | if(fgets(buf, sizeof(buf), fp1)) @@ -1028,11 +966,26 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' + 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +poc.c: In function 'str_to_hex': poc.c: In function 'get_target': poc.c:207:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] 207 | uint16_t recv_seq_ctrl; | ^~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c +poc.c:518:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 518 | str_len = strlen(pascii)/4; + | ^~~~~~ + | | + | unsigned char * +In file included from poc.c:2: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 534 | if(i < len) + | ^ poc.c: In function 'get_file_lines': poc.c:489:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 489 | if(fp = fopen(filename, "r")) @@ -1058,16 +1011,25 @@ poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 534 | if(i < len) | ^ -make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' +poc.c: In function 'get_target': +poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] + 232 | switch (dsflags) { + | ^~~~~~ +poc.c:203:13: note: 'dsflags' was declared here + 203 | uint8_t dsflags; + | ^~~~~~~ poc.c: In function 'poc_parse': poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); | ^ +poc.c: In function 'get_target': +poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] + 232 | switch (dsflags) { + | ^~~~~~ +poc.c:203:13: note: 'dsflags' was declared here + 203 | uint8_t dsflags; + | ^~~~~~~ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c poc.c: In function 'poc_parse': poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 168 | if(fgets(buf, sizeof(buf), fp1)) @@ -1081,15 +1043,12 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fPIC -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o common.o common.c poc.c: In function 'get_target': poc.c:207:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] 207 | uint16_t recv_seq_ctrl; | ^~~~~~~~~~~~~ poc.c: In function 'get_file_lines': -poc.c: In function 'poc_parse': -poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); - | ^ poc.c:489:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 489 | if(fp = fopen(filename, "r")) | ^~ @@ -1098,34 +1057,10 @@ | ^~~ | | | unsigned char * -probing.c: In function 'create_probe_req': -probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] - 236 | add_ssid_set(&probe, ssid); - | ^~~~ - | | - | unsigned char * -In file included from attacks.h:14, - from probing.h:4, - from probing.c:8: -../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' - 269 | void add_ssid_set(struct packet *pkt, char *ssid); - | ~~~~~~^~~~ /usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] - 240 | stpcpy(popt->proceed, ssid); - | ^~~~ - | | - | unsigned char * poc.c: In function 'str_to_hex': -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 probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ poc.c:518:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 518 | str_len = strlen(pascii)/4; | ^~~~~~ @@ -1138,49 +1073,38 @@ poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 534 | if(i < len) | ^ -probing.c: In function 'create_probe_req': -probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] - 236 | add_ssid_set(&probe, ssid); - | ^~~~ - | | - | unsigned char * -In file included from attacks.h:14, - from probing.h:4, - from probing.c:8: -../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' - 269 | void add_ssid_set(struct packet *pkt, char *ssid); - | ~~~~~~^~~~ -probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] - 240 | stpcpy(popt->proceed, ssid); - | ^~~~ - | | - | 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 probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' - 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ +poc.c: In function 'get_target': +poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] + 232 | switch (dsflags) { + | ^~~~~~ +poc.c:203:13: note: 'dsflags' was declared here + 203 | uint8_t dsflags; + | ^~~~~~~ +poc.c: In function 'get_target': +poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] + 232 | switch (dsflags) { + | ^~~~~~ +poc.c:203:13: note: 'dsflags' was declared here + 203 | uint8_t dsflags; + | ^~~~~~~ +poc.c: In function 'get_target': +poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] + 232 | switch (dsflags) { + | ^~~~~~ +poc.c:203:13: note: 'dsflags' was declared here + 203 | uint8_t dsflags; + | ^~~~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o poc.o poc.c poc.c: In function 'poc_parse': +poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] + 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); + | ^ poc.c: In function 'poc_parse': poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 168 | if(fgets(buf, sizeof(buf), fp1)) | ^~~ | | | unsigned char * -poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] - 168 | if(fgets(buf, sizeof(buf), fp1)) - | ^~~ - | | - | 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 poc.c:1: -/usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' - 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, @@ -1189,18 +1113,10 @@ 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ poc.c: In function 'get_target': -poc.c: In function 'get_target': -poc.c:207:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] - 207 | uint16_t recv_seq_ctrl; - | ^~~~~~~~~~~~~ poc.c:207:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] 207 | uint16_t recv_seq_ctrl; | ^~~~~~~~~~~~~ poc.c: In function 'get_file_lines': -poc.c: In function 'get_file_lines': -poc.c:489:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 489 | if(fp = fopen(filename, "r")) - | ^~ poc.c:489:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 489 | if(fp = fopen(filename, "r")) | ^~ @@ -1209,24 +1125,11 @@ | ^~~ | | | unsigned char * -poc.c:494:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] - 494 | if(fgets(buf, sizeof(buf), fp)) - | ^~~ - | | - | unsigned char * -/usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' - 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/i386-linux-gnu/bits/stdio2.h:305:8: note: expected 'char *' but argument is of type 'unsigned char *' 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c poc.c: In function 'str_to_hex': -poc.c: In function 'str_to_hex': -poc.c:518:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 518 | str_len = strlen(pascii)/4; - | ^~~~~~ - | | - | unsigned char * poc.c:518:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 518 | str_len = strlen(pascii)/4; | ^~~~~~ @@ -1236,16 +1139,37 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -In file included from poc.c:2: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 534 | if(i < len) - | ^ poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 534 | if(i < len) | ^ +ar cru libosdep.a osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o +ar: `u' modifier ignored since `D' is the default (see `U') +poc.c: In function 'poc_parse': +poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] + 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); + | ^ +ranlib libosdep.a +poc.c: In function 'get_target': +poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] + 232 | switch (dsflags) { + | ^~~~~~ +poc.c:203:13: note: 'dsflags' was declared here + 203 | uint8_t dsflags; + | ^~~~~~~ +touch .os.Linux +make[4]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/osdep' +make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/osdep' +make -C attacks +make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' +poc.c: In function 'poc_parse': +poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] + 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); + | ^ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c +poc.c: In function 'poc_parse': +poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] + 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); + | ^ poc.c: In function 'poc_parse': poc.c:168:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 168 | if(fgets(buf, sizeof(buf), fp1)) @@ -1260,16 +1184,9 @@ 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ poc.c: In function 'get_target': -poc.c: In function 'get_target': -poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] - 232 | switch (dsflags) { - | ^~~~~~ poc.c:207:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] 207 | uint16_t recv_seq_ctrl; | ^~~~~~~~~~~~~ -poc.c:203:13: note: 'dsflags' was declared here - 203 | uint8_t dsflags; - | ^~~~~~~ poc.c: In function 'get_file_lines': poc.c:489:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 489 | if(fp = fopen(filename, "r")) @@ -1295,10 +1212,7 @@ poc.c:534:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 534 | if(i < len) | ^ -poc.c: In function 'poc_parse': -poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); - | ^ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c probing.c: In function 'create_probe_req': probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] 236 | add_ssid_set(&probe, ssid); @@ -1323,7 +1237,6 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ -make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' poc.c: In function 'get_target': poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] 232 | switch (dsflags) { @@ -1335,6 +1248,60 @@ poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); | ^ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c +probing.c: In function 'create_probe_req': +probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] + 236 | add_ssid_set(&probe, ssid); + | ^~~~ + | | + | unsigned char * +In file included from attacks.h:14, + from probing.h:4, + from probing.c:8: +../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' + 269 | void add_ssid_set(struct packet *pkt, char *ssid); + | ~~~~~~^~~~ +probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] + 240 | stpcpy(popt->proceed, ssid); + | ^~~~ + | | + | 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 probing.c:1: +/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +poc.c: In function 'poc_parse': +poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] + 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); + | ^ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c +probing.c: In function 'create_probe_req': +probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] + 236 | add_ssid_set(&probe, ssid); + | ^~~~ + | | + | unsigned char * +In file included from attacks.h:14, + from probing.h:4, + from probing.c:8: +../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' + 269 | void add_ssid_set(struct packet *pkt, char *ssid); + | ~~~~~~^~~~ +probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] + 240 | stpcpy(popt->proceed, ssid); + | ^~~~ + | | + | 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 probing.c:1: +/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ poc.c: In function 'get_target': poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] 232 | switch (dsflags) { @@ -1342,126 +1309,215 @@ poc.c:203:13: note: 'dsflags' was declared here 203 | uint8_t dsflags; | ^~~~~~~ -poc.c: In function 'get_target': -poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] - 232 | switch (dsflags) { - | ^~~~~~ -poc.c:203:13: note: 'dsflags' was declared here - 203 | uint8_t dsflags; - | ^~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' -poc.c: In function 'get_target': -poc.c:232:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] - 232 | switch (dsflags) { - | ^~~~~~ -poc.c:203:13: note: 'dsflags' was declared here - 203 | uint8_t dsflags; - | ^~~~~~~ -linux.c: In function 'do_linux_open.constprop': -linux.c:1906:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] - 1906 | strncpy(dev->main_if, iface, strlen(iface)); - | ^ -linux.c:1906:9: note: length computed here - 1906 | strncpy(dev->main_if, iface, strlen(iface)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -linux.c:1911:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] - 1911 | strncpy(iface, buf, strlen(buf)); - | ^ -linux.c:1911:9: note: length computed here - 1911 | strncpy(iface, buf, strlen(buf)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -linux.c:1937:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 113 [-Wformat-truncation=] - 1937 | "/sys/class/net/%s/device/rtap_iface", this_iface->d_name); - | ^~ -In file included from /usr/include/stdio.h:970, - from linux.c:34: -In function 'snprintf', - inlined from 'do_linux_open.constprop' at linux.c:1936:17: -/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 34 and 289 bytes into a destination of size 128 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c +probing.c: In function 'create_probe_req': +probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] + 236 | add_ssid_set(&probe, ssid); + | ^~~~ + | | + | unsigned char * +In file included from attacks.h:14, + from probing.h:4, + from probing.c:8: +../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' + 269 | void add_ssid_set(struct packet *pkt, char *ssid); + | ~~~~~~^~~~ +probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] + 240 | stpcpy(popt->proceed, ssid); + | ^~~~ + | | + | 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 probing.c:1: +/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c poc.c: In function 'poc_parse': poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); | ^ +probing.c: In function 'create_probe_req': +probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] + 236 | add_ssid_set(&probe, ssid); + | ^~~~ + | | + | unsigned char * +In file included from attacks.h:14, + from probing.h:4, + from probing.c:8: +../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' + 269 | void add_ssid_set(struct packet *pkt, char *ssid); + | ~~~~~~^~~~ +probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] + 240 | stpcpy(popt->proceed, ssid); + | ^~~~ + | | + | 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 probing.c:1: +/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c +probing.c: In function 'create_probe_req': +probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] + 236 | add_ssid_set(&probe, ssid); + | ^~~~ + | | + | unsigned char * +In file included from attacks.h:14, + from probing.h:4, + from probing.c:8: +../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' + 269 | void add_ssid_set(struct packet *pkt, char *ssid); + | ~~~~~~^~~~ +probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] + 240 | stpcpy(popt->proceed, ssid); + | ^~~~ + | | + | 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 probing.c:1: +/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +probing.c: In function 'create_probe_req': poc.c: In function 'poc_parse': poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); | ^ +probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] + 236 | add_ssid_set(&probe, ssid); + | ^~~~ + | | + | unsigned char * +In file included from attacks.h:14, + from probing.h:4, + from probing.c:8: +../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' + 269 | void add_ssid_set(struct packet *pkt, char *ssid); + | ~~~~~~^~~~ +probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] + 240 | stpcpy(popt->proceed, ssid); + | ^~~~ + | | + | 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 probing.c:1: +/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +probing.c: In function 'create_probe_req': +probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] + 236 | add_ssid_set(&probe, ssid); + | ^~~~ + | | + | unsigned char * +In file included from attacks.h:14, + from probing.h:4, + from probing.c:8: +../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' + 269 | void add_ssid_set(struct packet *pkt, char *ssid); + | ~~~~~~^~~~ +probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] + 240 | stpcpy(popt->proceed, ssid); + | ^~~~ + | | + | 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 probing.c:1: +/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o probing.o probing.c +probing.c: In function 'create_probe_req': +probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] + 236 | add_ssid_set(&probe, ssid); + | ^~~~ + | | + | unsigned char * +In file included from attacks.h:14, + from probing.h:4, + from probing.c:8: +../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' + 269 | void add_ssid_set(struct packet *pkt, char *ssid); + | ~~~~~~^~~~ +probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] + 240 | stpcpy(popt->proceed, ssid); + | ^~~~ + | | + | 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 probing.c:1: +/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c +probing.c: In function 'create_probe_req': +probing.c:236:24: warning: pointer targets in passing argument 2 of 'add_ssid_set' differ in signedness [-Wpointer-sign] + 236 | add_ssid_set(&probe, ssid); + | ^~~~ + | | + | unsigned char * +In file included from attacks.h:14, + from probing.h:4, + from probing.c:8: +../packet.h:269:45: note: expected 'char *' but argument is of type 'unsigned char *' + 269 | void add_ssid_set(struct packet *pkt, char *ssid); + | ~~~~~~^~~~ +probing.c:240:25: warning: pointer targets in passing argument 2 of 'stpcpy' differ in signedness [-Wpointer-sign] + 240 | stpcpy(popt->proceed, ssid); + | ^~~~ + | | + | 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 probing.c:1: +/usr/include/i386-linux-gnu/bits/string_fortified.h:86:1: note: expected 'const char *' but argument is of type 'unsigned char *' + 86 | __NTH (stpcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' +make -C attacks +make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' +make -C attacks +make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' +make[3]: Nothing to be done for 'all'. +make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' +make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' +make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mdk4-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -g -O3 -Wall -Wextra -fcommon -g -O3 -Wall -Wextra -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wids.o wids.c +make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' -poc.c: In function 'poc_parse': -poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); - | ^ -poc.c: In function 'poc_parse': -poc.c:154:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 154 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); - | ^ make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/attacks' -linux.c: In function 'get_battery_state': -linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull] - 2310 | closedir(batteries); - | ^~~~~~~~~~~~~~~~~~~ -In file included from linux.c:40: -/usr/include/dirent.h:134:12: note: in a call to function 'closedir' declared 'nonnull' - 134 | extern int closedir (DIR *__dirp) __nonnull ((1)); - | ^~~~~~~~ -linux.c:2318:78: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=] - 2318 | snprintf(battery_info, sizeof(battery_info), "/proc/acpi/battery/%s/info", this_battery->d_name); - | ^~ -In function 'snprintf', - inlined from 'get_battery_state' at linux.c:2318:13: -/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 25 and 280 bytes into a destination of size 128 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -linux.c: In function 'get_battery_state': -linux.c:2330:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 109 [-Wformat-truncation=] - 2330 | "/proc/acpi/battery/%s/state", this_battery->d_name); - | ^~ -In function 'snprintf', - inlined from 'get_battery_state' at linux.c:2329:13: -/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 26 and 281 bytes into a destination of size 128 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -linux.c: In function 'get_battery_state': -linux.c:2289:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 106 [-Wformat-truncation=] - 2289 | "/proc/acpi/ac_adapter/%s/state", this_adapter->d_name); - | ^~ -In function 'snprintf', - inlined from 'get_battery_state' at linux.c:2288:13: -/usr/include/i386-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 29 and 284 bytes into a destination of size 128 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -ar cru libosdep.a osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o -ar: `u' modifier ignored since `D' is the default (see `U') -ranlib libosdep.a -touch .os.Linux -make[4]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/osdep' -make[3]: Leaving directory '/build/reproducible-path/mdk4-4.2/src/osdep' make -C attacks make[3]: Entering directory '/build/reproducible-path/mdk4-4.2/src/attacks' make[3]: Nothing to be done for 'all'. @@ -1483,7 +1539,7 @@ make[2]: Leaving directory '/build/reproducible-path/mdk4-4.2/src' make[1]: Leaving directory '/build/reproducible-path/mdk4-4.2' dh_auto_test - make -j22 test + make -j10 test make[1]: Entering directory '/build/reproducible-path/mdk4-4.2' make -C src test make[2]: Entering directory '/build/reproducible-path/mdk4-4.2/src' @@ -1515,8 +1571,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'mdk4' in '../mdk4_4.2-5_i386.deb'. dpkg-deb: building package 'mdk4-dbgsym' in '../mdk4-dbgsym_4.2-5_i386.deb'. +dpkg-deb: building package 'mdk4' in '../mdk4_4.2-5_i386.deb'. dpkg-genbuildinfo --build=binary -O../mdk4_4.2-5_i386.buildinfo dpkg-genchanges --build=binary -O../mdk4_4.2-5_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1524,12 +1580,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/62214/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/62214/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/117834 and its subdirectories -I: Current time: Sat Dec 20 15:16:14 -12 2025 -I: pbuilder-time-stamp: 1766286974 +I: removing directory /srv/workspace/pbuilder/62214 and its subdirectories +I: Current time: Mon Nov 18 10:54:03 +14 2024 +I: pbuilder-time-stamp: 1731876843