Diff of the two buildlogs: -- --- b1/build.log 2023-05-11 23:41:47.551108880 +0000 +++ b2/build.log 2023-05-11 23:42:44.736603117 +0000 @@ -1,6 +1,9 @@ -I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 12 18:04:16 -12 2024 -I: pbuilder-time-stamp: 1718258656 +W: cgroups are not available on the host, not using them. +unshare: unshare failed: Cannot allocate memory +W: pbuilder: unshare CLONE_NEWNET not available +I: pbuilder: network access is available during build! +I: Current time: Fri May 12 13:41:50 +14 2023 +I: pbuilder-time-stamp: 1683848510 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +20,7 @@ I: copying [./mdk4_4.2.orig.tar.gz] I: copying [./mdk4_4.2-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Sep 11 11:10:24 2021 -12 +gpgv: Signature made Sun Sep 12 13:10:24 2021 +14 gpgv: using RSA key 05DB6A837E105F4B1D02C55FBBA9FAADCCFB4707 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./mdk4_4.2-3.dsc: no acceptable signature found @@ -29,137 +32,168 @@ dpkg-source: info: applying makefile_osdep_parallel_build_fix.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/19790/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/25292/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-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 May 12 13:42 /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/25292/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/25292/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='bookworm' - 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]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=7' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='3708aee3acfe4c8794847053702a55db' - 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='19790' - PS1='# ' - PS2='> ' + 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=25292 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.A2gx3SMi/pbuilderrc_gECY --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.A2gx3SMi/b1 --logfile b1/build.log mdk4_4.2-3.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://85.184.249.68: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.A2gx3SMi/pbuilderrc_hLIS --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.A2gx3SMi/b2 --logfile b2/build.log --extrapackages usrmerge mdk4_4.2-3.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://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-686-pae #1 SMP Debian 5.10.178-3 (2023-04-22) i686 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 2023 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 2023 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 2023 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 2023 more - -rwsr-xr-x 1 root root 58912 Mar 22 2023 mount - -rwxr-xr-x 1 root root 13856 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 2023 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 2023 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 2023 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/19790/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 00:20 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 00:20 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 22:38 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 01:43 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 00:20 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 00:20 more + -rwsr-xr-x 1 root root 58912 Mar 24 00:20 mount + -rwxr-xr-x 1 root root 13856 Mar 24 00:20 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 12 13:42 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 00:20 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 22:38 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 00:20 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 00:20 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/25292/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -248,7 +282,7 @@ Get: 43 http://deb.debian.org/debian bookworm/main i386 libpcap0.8 i386 1.10.3-1 [164 kB] Get: 44 http://deb.debian.org/debian bookworm/main i386 libpcap0.8-dev i386 1.10.3-1 [291 kB] Get: 45 http://deb.debian.org/debian bookworm/main i386 libpcap-dev i386 1.10.3-1 [28.2 kB] -Fetched 20.3 MB in 4s (5526 kB/s) +Fetched 20.3 MB in 2s (13.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 ... 19604 files and directories currently installed.) @@ -443,8 +477,18 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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-3_source.changes +I: user script /srv/workspace/pbuilder/25292/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/25292/tmp/hooks/A99_set_merged_usr finished +I: Running cd /build/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-3_source.changes dpkg-buildpackage: info: source package mdk4 dpkg-buildpackage: info: source version 4.2-3 dpkg-buildpackage: info: source distribution unstable @@ -454,7 +498,7 @@ debian/rules clean dh clean dh_auto_clean - make -j16 distclean + make -j7 distclean make[1]: Entering directory '/build/mdk4-4.2' make -C src clean make[2]: Entering directory '/build/mdk4-4.2/src' @@ -482,7 +526,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j16 "INSTALL=install --strip-program=true" + make -j7 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/mdk4-4.2' make -C src clean make[2]: Entering directory '/build/mdk4-4.2/src' @@ -506,29 +550,22 @@ make[2]: Entering directory '/build/mdk4-4.2/src' make -C osdep gcc -g -O2 -ffile-prefix-map=/build/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 debug.o debug.c -gcc -g -O2 -ffile-prefix-map=/build/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 helpers.o helpers.c make[3]: Entering directory '/build/mdk4-4.2/src/osdep' +gcc -g -O2 -ffile-prefix-map=/build/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 helpers.o helpers.c gcc -g -O2 -ffile-prefix-map=/build/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 mac_addr.o mac_addr.c gcc -g -O2 -ffile-prefix-map=/build/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 linkedlist.o linkedlist.c gcc -g -O2 -ffile-prefix-map=/build/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 greylist.o greylist.c gcc -g -O2 -ffile-prefix-map=/build/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 dumpfile.o dumpfile.c +Building for Linux +make[4]: Entering directory '/build/mdk4-4.2/src/osdep' +gcc -g -O2 -ffile-prefix-map=/build/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 gcc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 +gcc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 gcc -g -O2 -ffile-prefix-map=/build/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 -gcc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -make -C attacks -make -C attacks -make -C attacks -make[3]: Entering directory '/build/mdk4-4.2/src/attacks' -make[3]: Entering directory '/build/mdk4-4.2/src/attacks' -make[3]: Entering directory '/build/mdk4-4.2/src/attacks' -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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/mdk4-4.2/src/osdep' +gcc -g -O2 -ffile-prefix-map=/build/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 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; @@ -536,119 +573,19 @@ 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; | ^~~~~ -channelhopper.c:48:26: warning: initialization of 'pthread_t' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] - 48 | pthread_t chan_sniffer = NULL; - | ^~~~ -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, - | ~~~~~~~~~~~~~~~~~~~~^~~ -gcc -g -O2 -ffile-prefix-map=/build/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 'finish_handler': -channelhopper.c:163:42: warning: unused parameter 'msg' [-Wunused-parameter] - 163 | static int finish_handler(struct nl_msg *msg, void *arg) - | ~~~~~~~~~~~~~~~^~~ -channelhopper.c: In function 'ack_handler': -channelhopper.c:170:39: warning: unused parameter 'msg' [-Wunused-parameter] - 170 | static int ack_handler(struct nl_msg *msg, void *arg) - | ~~~~~~~~~~~~~~~^~~ -channelhopper.c: In function 'valid_handler': -channelhopper.c:186:45: warning: unused parameter 'arg' [-Wunused-parameter] - 186 | int valid_handler(struct nl_msg *msg, void *arg) - | ~~~~~~^~~ -channelhopper.c: In function 'handle_channels': -channelhopper.c:328:50: warning: unused parameter 'state' [-Wunused-parameter] - 328 | static int handle_channels(struct nl80211_state *state, struct nl_msg *msg) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -channelhopper.c: At top level: -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) - | ^~~~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/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/mdk4-4.2/src/attacks' -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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/mdk4-4.2/src/attacks' -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -make[3]: Entering directory '/build/mdk4-4.2/src/attacks' -cc -g -O2 -ffile-prefix-map=/build/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 -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 -C attacks -make[3]: Entering directory '/build/mdk4-4.2/src/attacks' -make -C attacks -make[3]: Entering directory '/build/mdk4-4.2/src/attacks' -make -C attacks -cc -g -O2 -ffile-prefix-map=/build/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/mdk4-4.2/src/attacks' -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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/mdk4-4.2/src/attacks' -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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/mdk4-4.2/src/attacks' -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -make -C attacks -make[3]: Entering directory '/build/mdk4-4.2/src/attacks' -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -make -C attacks -make[3]: Entering directory '/build/mdk4-4.2/src/attacks' -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -gcc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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_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, + | ^ 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; | ^~~~~~ +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); + | ^~ +gcc -g -O2 -ffile-prefix-map=/build/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 linux.c: In function 'linux_set_rate': linux.c:457:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable] 457 | int pid, status, unused; @@ -697,7 +634,6 @@ linux.c:2273:35: warning: variable 'current' set but not used [-Wunused-but-set-variable] 2273 | int rate = 1, remain = 0, current = 0; | ^~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/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 linux.c: At top level: linux.c:2057:13: warning: 'linux_close' defined but not used [-Wunused-function] 2057 | static void linux_close(struct wif *wi) @@ -708,87 +644,158 @@ 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 'poc_parse': -poc.c:102:15: warning: assignment to 'DIR *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 102 | if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){ - | ^ -poc.c:102:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 102 | if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){ - | ^~~ -poc.c:148:30: warning: implicit declaration of function 'get_file_lines' [-Wimplicit-function-declaration] - 148 | file_lines = get_file_lines(file_name); - | ^~~~~~~~~~~~~~ -poc.c:160:38: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] - 160 | if(fgets(buf, sizeof(buf), fp1)) - | ^~~ - | | - | unsigned char * +gcc -g -O2 -ffile-prefix-map=/build/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 +gcc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 +make -C attacks +make[3]: Entering directory '/build/mdk4-4.2/src/attacks' +channelhopper.c:48:26: warning: initialization of 'pthread_t' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] + 48 | pthread_t chan_sniffer = NULL; + | ^~~~ +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, + | ~~~~~~~~~~~~~~~~~~~~^~~ +channelhopper.c: In function 'finish_handler': +channelhopper.c:163:42: warning: unused parameter 'msg' [-Wunused-parameter] + 163 | static int finish_handler(struct nl_msg *msg, void *arg) + | ~~~~~~~~~~~~~~~^~~ +channelhopper.c: In function 'ack_handler': +channelhopper.c:170:39: warning: unused parameter 'msg' [-Wunused-parameter] + 170 | static int ack_handler(struct nl_msg *msg, void *arg) + | ~~~~~~~~~~~~~~~^~~ +channelhopper.c: In function 'valid_handler': +channelhopper.c:186:45: warning: unused parameter 'arg' [-Wunused-parameter] + 186 | int valid_handler(struct nl_msg *msg, void *arg) + | ~~~~~~^~~ +channelhopper.c: In function 'handle_channels': +channelhopper.c:328:50: warning: unused parameter 'state' [-Wunused-parameter] + 328 | static int handle_channels(struct nl80211_state *state, struct nl_msg *msg) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +channelhopper.c: At top level: +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) + | ^~~~~~~~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/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/mdk4-4.2/src/attacks' +make -C attacks +cc -g -O2 -ffile-prefix-map=/build/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/mdk4-4.2/src/attacks' +cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 +make[3]: Entering directory '/build/mdk4-4.2/src/attacks' +cc -g -O2 -ffile-prefix-map=/build/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 +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:906, - from poc.c:1: -/usr/include/i386-linux-gnu/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) - | ~~~~~~~~~~~~~~~~~^~~ -poc.c:165:59: warning: implicit declaration of function 'str_to_hex' [-Wimplicit-function-declaration] - 165 | poc_pkts[i].pkts[j].len = str_to_hex(buf, poc_pkts[i].pkts[j].data, sizeof(poc_pkts[i].pkts[j].data)); - | ^~~~~~~~~~ -poc.c: In function 'get_target': -poc.c:199:14: warning: unused variable 'recv_seq_ctrl' [-Wunused-variable] - 199 | uint16_t recv_seq_ctrl; - | ^~~~~~~~~~~~~ -poc.c: In function 'get_file_lines': -poc.c:481:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 481 | if(fp = fopen(filename, "r")) - | ^~ -poc.c:486:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] - 486 | if(fgets(buf, sizeof(buf), fp)) - | ^~~ - | | - | unsigned char * -/usr/include/i386-linux-gnu/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) - | ~~~~~~~~~~~~~~~~~^~~ -poc.c: In function 'str_to_hex': -poc.c:508:17: warning: 'return' with no value, in function returning non-void [-Wreturn-type] - 508 | return; - | ^~~~~~ -poc.c:500:5: note: declared here - 500 | int str_to_hex(unsigned char *pascii, unsigned char *phex, unsigned int len) - | ^~~~~~~~~~ -poc.c:510:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 510 | 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:518:30: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] - 518 | s1 = toupper(h1) - 0x30; - | ^~~~~~~ -poc.c:13:1: note: include '' or provide a declaration of 'toupper' - 12 | #include "../helpers.h" - +++ |+#include - 13 | -poc.c:526:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 526 | if(i < len) - | ^ + 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:54:10: note: '__builtin___snprintf_chk' output between 34 and 289 bytes into a destination of size 128 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +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)); + | ^~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/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 +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:54:10: note: '__builtin___snprintf_chk' output between 25 and 280 bytes into a destination of size 128 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __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:54:10: note: '__builtin___snprintf_chk' output between 26 and 281 bytes into a destination of size 128 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __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:54:10: note: '__builtin___snprintf_chk' output between 29 and 284 bytes into a destination of size 128 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/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 +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') +cc -g -O2 -ffile-prefix-map=/build/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 +ranlib libosdep.a +touch .os.Linux +make[4]: Leaving directory '/build/mdk4-4.2/src/osdep' +make[3]: Leaving directory '/build/mdk4-4.2/src/osdep' +make -C attacks +make[3]: Entering directory '/build/mdk4-4.2/src/attacks' +cc -g -O2 -ffile-prefix-map=/build/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 +make -C attacks +make[3]: Entering directory '/build/mdk4-4.2/src/attacks' +cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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:146:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 146 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); - | ^ -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -poc.c: In function 'poc_parse': poc.c:102:15: warning: assignment to 'DIR *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 102 | if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){ | ^ @@ -854,6 +861,12 @@ 526 | if(i < len) | ^ cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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:146:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] + 146 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); + | ^ poc.c: In function 'get_target': poc.c:224:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] 224 | switch (dsflags) { @@ -862,11 +875,11 @@ 195 | uint8_t dsflags; | ^~~~~~~ cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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:146:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 146 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); - | ^ +cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] 236 | add_ssid_set(&probe, ssid); @@ -887,15 +900,8 @@ 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 'get_target': -poc.c:224:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] - 224 | switch (dsflags) { - | ^~~~~~ -poc.c:195:13: note: 'dsflags' was declared here - 195 | uint8_t dsflags; - | ^~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/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:102:15: warning: assignment to 'DIR *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 102 | if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){ @@ -961,24 +967,19 @@ poc.c:526:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 526 | if(i < len) | ^ -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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:146:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 146 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); | ^ -cc -g -O2 -ffile-prefix-map=/build/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 +make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' +make -C attacks probing.c: In function 'create_probe_req': probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] 236 | add_ssid_set(&probe, ssid); | ^~~~~~~~~~~~ +cc -g -O2 -ffile-prefix-map=/build/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:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration] 237 | add_rate_sets(&probe, 1, 1); | ^~~~~~~~~~~~~ @@ -994,7 +995,7 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -cc -g -O2 -ffile-prefix-map=/build/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 +make[3]: Entering directory '/build/mdk4-4.2/src/attacks' poc.c: In function 'poc_parse': poc.c:102:15: warning: assignment to 'DIR *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 102 | if(dir=opendir("/usr/local/src/mdk4/pocs")==NULL){ @@ -1034,7 +1035,6 @@ /usr/include/i386-linux-gnu/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ -linux.c: In function 'do_linux_open.constprop': poc.c: In function 'str_to_hex': poc.c:508:17: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 508 | return; @@ -1047,9 +1047,6 @@ | ^~~~~~ | | | unsigned char * -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)); - | ^ 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) @@ -1061,33 +1058,17 @@ 12 | #include "../helpers.h" +++ |+#include 13 | +make[3]: Nothing to be done for 'all'. +make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' poc.c:526:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 526 | if(i < len) | ^ -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:906, - 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:54:10: note: '__builtin___snprintf_chk' output between 34 and 289 bytes into a destination of size 128 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ +make -C attacks +make[3]: Entering directory '/build/mdk4-4.2/src/attacks' cc -g -O2 -ffile-prefix-map=/build/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 +make[3]: Nothing to be done for 'all'. +make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' +cc -g -O2 -ffile-prefix-map=/build/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: In function 'get_target': poc.c:224:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] 224 | switch (dsflags) { @@ -1114,6 +1095,10 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ +poc.c: In function 'poc_parse': +poc.c:146:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] + 146 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); + | ^ probing.c: In function 'create_probe_req': probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] 236 | add_ssid_set(&probe, ssid); @@ -1133,13 +1118,6 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -poc.c: In function 'poc_parse': -poc.c:146:17: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] - 146 | strncpy(poc_pkts[i].vendor, ptr->d_name, sizeof(poc_pkts[i].vendor)); - | ^ -make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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:224:9: warning: 'dsflags' may be used uninitialized [-Wmaybe-uninitialized] @@ -1148,216 +1126,7 @@ poc.c:195:13: note: 'dsflags' was declared here 195 | uint8_t dsflags; | ^~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] - 236 | add_ssid_set(&probe, ssid); - | ^~~~~~~~~~~~ -probing.c:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration] - 237 | add_rate_sets(&probe, 1, 1); - | ^~~~~~~~~~~~~ -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:489, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -probing.c: In function 'create_probe_req': -probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] - 236 | add_ssid_set(&probe, ssid); - | ^~~~~~~~~~~~ -cc -g -O2 -ffile-prefix-map=/build/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:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration] - 237 | add_rate_sets(&probe, 1, 1); - | ^~~~~~~~~~~~~ -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:489, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -cc -g -O2 -ffile-prefix-map=/build/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 -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)); - | ^~~~~~~~ -probing.c: In function 'create_probe_req': -probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] - 236 | add_ssid_set(&probe, ssid); - | ^~~~~~~~~~~~ -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:54:10: note: '__builtin___snprintf_chk' output between 25 and 280 bytes into a destination of size 128 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __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:54:10: note: '__builtin___snprintf_chk' output between 26 and 281 bytes into a destination of size 128 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -probing.c:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration] - 237 | add_rate_sets(&probe, 1, 1); - | ^~~~~~~~~~~~~ -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 * -linux.c: In function 'get_battery_state': -In file included from /usr/include/features.h:489, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -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:54:10: note: '__builtin___snprintf_chk' output between 29 and 284 bytes into a destination of size 128 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -probing.c: In function 'create_probe_req': -probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] - 236 | add_ssid_set(&probe, ssid); - | ^~~~~~~~~~~~ -probing.c:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration] - 237 | add_rate_sets(&probe, 1, 1); - | ^~~~~~~~~~~~~ -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:489, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -cc -g -O2 -ffile-prefix-map=/build/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:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] - 236 | add_ssid_set(&probe, ssid); - | ^~~~~~~~~~~~ -probing.c:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration] - 237 | add_rate_sets(&probe, 1, 1); - | ^~~~~~~~~~~~~ -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:489, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -gcc -g -O2 -ffile-prefix-map=/build/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 -probing.c: In function 'create_probe_req': -probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] - 236 | add_ssid_set(&probe, ssid); - | ^~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/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:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration] - 237 | add_rate_sets(&probe, 1, 1); - | ^~~~~~~~~~~~~ -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:489, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -probing.c: In function 'create_probe_req': -probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] - 236 | add_ssid_set(&probe, ssid); - | ^~~~~~~~~~~~ -probing.c:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration] - 237 | add_rate_sets(&probe, 1, 1); - | ^~~~~~~~~~~~~ -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:489, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -probing.c: In function 'create_probe_req': -probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] - 236 | add_ssid_set(&probe, ssid); - | ^~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/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 -probing.c:237:3: warning: implicit declaration of function 'add_rate_sets' [-Wimplicit-function-declaration] - 237 | add_rate_sets(&probe, 1, 1); - | ^~~~~~~~~~~~~ -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:489, - from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from probing.c:1: -/usr/include/i386-linux-gnu/bits/string_fortified.h:84:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -gcc -g -O2 -ffile-prefix-map=/build/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 probing.c: In function 'create_probe_req': probing.c:236:3: warning: implicit declaration of function 'add_ssid_set' [-Wimplicit-function-declaration] 236 | add_ssid_set(&probe, ssid); @@ -1378,23 +1147,6 @@ 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' -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, - | ^ -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/mdk4-4.2/src/osdep' -make[3]: Leaving directory '/build/mdk4-4.2/src/osdep' -make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' -make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' -make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' -make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' -make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' -make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' -make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' make[3]: Leaving directory '/build/mdk4-4.2/src/attacks' @@ -1420,7 +1172,7 @@ make[2]: Leaving directory '/build/mdk4-4.2/src' make[1]: Leaving directory '/build/mdk4-4.2' dh_auto_test - make -j16 test + make -j7 test make[1]: Entering directory '/build/mdk4-4.2' make -C src test make[2]: Entering directory '/build/mdk4-4.2/src' @@ -1465,13 +1217,14 @@ dpkg-source --after-build . 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/25292/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/25292/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/19790 and its subdirectories -I: Current time: Wed Jun 12 18:04:46 -12 2024 -I: pbuilder-time-stamp: 1718258686 +I: removing directory /srv/workspace/pbuilder/25292 and its subdirectories +I: Current time: Fri May 12 13:42:43 +14 2023 +I: pbuilder-time-stamp: 1683848563