Diff of the two buildlogs: -- --- b1/build.log 2024-06-13 20:29:24.992388011 +0000 +++ b2/build.log 2024-06-13 20:30:05.662658126 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 16 14:51:44 -12 2025 -I: pbuilder-time-stamp: 1752720704 +I: Current time: Fri Jun 14 10:29:28 +14 2024 +I: pbuilder-time-stamp: 1718310568 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -33,52 +33,84 @@ dpkg-source: info: applying missing-prototypes.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/226831/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1805275/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 13 20:29 /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/1805275/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1805275/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='a78f84e989184c178fe43c9e57126cde' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='226831' - PS1='# ' - PS2='> ' + INVOCATION_ID=ca6fc641e7fd4f07b77b1231e563834f + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1805275 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.wjOnNhA1/pbuilderrc_Sx09 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.wjOnNhA1/b1 --logfile b1/build.log weplab_0.1.5-7.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.wjOnNhA1/pbuilderrc_glC9 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.wjOnNhA1/b2 --logfile b2/build.log weplab_0.1.5-7.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink01-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jul 14 17:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/226831/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 11 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1805275/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -154,7 +186,7 @@ Get: 36 http://deb.debian.org/debian trixie/main arm64 libdbus-1-dev arm64 1.14.10-4+b1 [243 kB] Get: 37 http://deb.debian.org/debian trixie/main arm64 libpcap0.8t64 arm64 1.10.4-5 [155 kB] Get: 38 http://deb.debian.org/debian trixie/main arm64 libpcap0.8-dev arm64 1.10.4-5 [267 kB] -Fetched 19.6 MB in 0s (93.9 MB/s) +Fetched 19.6 MB in 0s (141 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 ... 19730 files and directories currently installed.) @@ -322,7 +354,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/weplab-0.1.5/ && 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 > ../weplab_0.1.5-7_source.changes +I: user script /srv/workspace/pbuilder/1805275/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1805275/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/weplab-0.1.5/ && 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 > ../weplab_0.1.5-7_source.changes dpkg-buildpackage: info: source package weplab dpkg-buildpackage: info: source version 0.1.5-7 dpkg-buildpackage: info: source distribution unstable @@ -416,42 +452,6 @@ md5.c:132:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 132 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ -analpfile.c: In function 'AnalyzePcapFile': -analpfile.c:105:44: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] - 105 | if (GetPacketBssid(pkt+144,bssid)){ - | ^~~~~ - | | - | char * -In file included from analpfile.c:33: -wep.h:85:54: note: expected 'unsigned char *' but argument is of type 'char *' - 85 | int GetPacketBssid(const u_char *pkt, unsigned char *bssid); - | ~~~~~~~~~~~~~~~^~~~~ -analpfile.c:106:70: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 106 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -analpfile.c:106:88: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 106 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -analpfile.c:114:40: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] - 114 | if (GetPacketBssid(pkt,bssid)){ - | ^~~~~ - | | - | char * -wep.h:85:54: note: expected 'unsigned char *' but argument is of type 'char *' - 85 | int GetPacketBssid(const u_char *pkt, unsigned char *bssid); - | ~~~~~~~~~~~~~~~^~~~~ -analpfile.c:115:71: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 115 | indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -analpfile.c:115:89: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 115 | indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -analpfile.c:187:54: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 187 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ -analpfile.c:187:72: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] - 187 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); - | ~~~~~~~~^~~~~~~~~ main.c: In function 'ReadHexByteArray': main.c:138:15: warning: unused variable 'j' [-Wunused-variable] 138 | int i,j; @@ -465,6 +465,19 @@ | ^~~~ | | | unsigned char * +dictionary.c: In function 'GetNextWord': +dictionary.c:143:27: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] + 143 | while (((rv=fgets(word, sz-1, wordfile))!=NULL)&&((word[0]=='\r')||(word[0]=='\n'))) { + | ^~~~ + | | + | unsigned char * +In file included from /usr/include/stdio.h:964, + from /usr/include/pcap/pcap.h:136, + from /usr/include/pcap.h:43, + from dictionary.c:26: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:195:25: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' + 195 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) + | ~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/features.h:502, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -491,69 +504,6 @@ main.c:310:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 310 | saux=(&optarg[i])+1; | ^ -main.c:334:79: warning: pointer targets in passing argument 1 of 'ReadHexByteArray' differ in signedness [-Wpointer-sign] - 334 | global_v.useDebugKey=ReadHexByteArray(optarg,global_v.debugKey,strlen(optarg)+1); - | ^~~~~~ - | | - | char * -main.c:137:37: note: expected 'unsigned char *' but argument is of type 'char *' - 137 | int ReadHexByteArray(unsigned char *asciiByteArray, unsigned char *destination, int asciiByteArrayMaxSize){ - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -main.c:196:17: warning: unused variable 'h2' [-Wunused-variable] - 196 | int h1, h2; - | ^~ -main.c:196:13: warning: unused variable 'h1' [-Wunused-variable] - 196 | int h1, h2; - | ^~ -heuristics.c: In function 'GuessOutputByte': -heuristics.c:61:10: warning: unused variable 'E' [-Wunused-variable] - 61 | u_char E, S[N]; - | ^ -heuristics.c: In function 'CalculateSimpleHeuristics': -heuristics.c:397:108: warning: unknown conversion type character ')' in format [-Wformat=] - 397 | printf("Perhaps you should increase the default probability (--perc) to a higher value (default 70%), or capture more packets.\n"); - | ^ -wep.c: In function 'GetLessSizedPackets': -wep.c:294:56: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] - 294 | if (GetPacketBssid(pkt,global_v.target_bssid)){ - | ~~~~~~~~^~~~~~~~~~~~~ - | | - | char * -In file included from wep.c:38: -wep.h:85:54: note: expected 'unsigned char *' but argument is of type 'char *' - 85 | int GetPacketBssid(const u_char *pkt, unsigned char *bssid); - | ~~~~~~~~~~~~~~~^~~~~ -wep.c:360:30: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] - 360 | printf("Total packets read: %u\n",totalPackets); - | ~^ ~~~~~~~~~~~~ - | | | - | | long unsigned int - | unsigned int - | %lu -attack.c: In function 'AttackAndEvaluate': -attack.c:88:23: warning: variable 'foundWeak' set but not used [-Wunused-but-set-variable] - 88 | unsigned char foundWeak[NUMBER_ATTACKS]; - | ^~~~~~~~~ -heuristics.c:394:17: warning: 'GuessOutputByte' accessing 17408 bytes in a region of size 13312 [-Wstringop-overflow=] - 394 | GuessOutputByte(i, global_v.debugKey, packets, controlPackets, votes); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -heuristics.c:394:17: note: referencing argument 5 of type 'unsigned int[17][256]' -heuristics.c:57:6: note: in a call to function 'GuessOutputByte' - 57 | void GuessOutputByte(int keyByte, u_char *sKey, t_StoredPacketsIV *packets, t_storedPacket **controlPackets, unsigned int votes[17][256]) - | ^~~~~~~~~~~~~~~ -dictionary.c: In function 'GetNextWord': -dictionary.c:143:27: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] - 143 | while (((rv=fgets(word, sz-1, wordfile))!=NULL)&&((word[0]=='\r')||(word[0]=='\n'))) { - | ^~~~ - | | - | unsigned char * -In file included from /usr/include/stdio.h:964, - from /usr/include/pcap/pcap.h:136, - from /usr/include/pcap.h:43, - from dictionary.c:26: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:195:25: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' - 195 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) - | ~~~~~~~~~~~~~~~~~^~~ dictionary.c: In function 'dictionary': dictionary.c:284:41: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 284 | strncpy(keys, word, global_v.key_len); @@ -575,6 +525,14 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ +main.c:334:79: warning: pointer targets in passing argument 1 of 'ReadHexByteArray' differ in signedness [-Wpointer-sign] + 334 | global_v.useDebugKey=ReadHexByteArray(optarg,global_v.debugKey,strlen(optarg)+1); + | ^~~~~~ + | | + | char * +main.c:137:37: note: expected 'unsigned char *' but argument is of type 'char *' + 137 | int ReadHexByteArray(unsigned char *asciiByteArray, unsigned char *destination, int asciiByteArrayMaxSize){ + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ dictionary.c:286:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 286 | strcpy(last_keys, keys); | ^~~~~~~~~ @@ -607,6 +565,84 @@ dictionary.c:104:25: note: expected 'char *' but argument is of type 'unsigned char *' 104 | void wep_keygen40(char *str, u_char *keys){ | ~~~~~~^~~ +main.c:196:17: warning: unused variable 'h2' [-Wunused-variable] + 196 | int h1, h2; + | ^~ +main.c:196:13: warning: unused variable 'h1' [-Wunused-variable] + 196 | int h1, h2; + | ^~ +wep.c: In function 'GetLessSizedPackets': +wep.c:294:56: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] + 294 | if (GetPacketBssid(pkt,global_v.target_bssid)){ + | ~~~~~~~~^~~~~~~~~~~~~ + | | + | char * +In file included from wep.c:38: +wep.h:85:54: note: expected 'unsigned char *' but argument is of type 'char *' + 85 | int GetPacketBssid(const u_char *pkt, unsigned char *bssid); + | ~~~~~~~~~~~~~~~^~~~~ +wep.c:360:30: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] + 360 | printf("Total packets read: %u\n",totalPackets); + | ~^ ~~~~~~~~~~~~ + | | | + | | long unsigned int + | unsigned int + | %lu +analpfile.c: In function 'AnalyzePcapFile': +analpfile.c:105:44: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] + 105 | if (GetPacketBssid(pkt+144,bssid)){ + | ^~~~~ + | | + | char * +In file included from analpfile.c:33: +wep.h:85:54: note: expected 'unsigned char *' but argument is of type 'char *' + 85 | int GetPacketBssid(const u_char *pkt, unsigned char *bssid); + | ~~~~~~~~~~~~~~~^~~~~ +analpfile.c:106:70: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 106 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +analpfile.c:106:88: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 106 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +analpfile.c:114:40: warning: pointer targets in passing argument 2 of 'GetPacketBssid' differ in signedness [-Wpointer-sign] + 114 | if (GetPacketBssid(pkt,bssid)){ + | ^~~~~ + | | + | char * +wep.h:85:54: note: expected 'unsigned char *' but argument is of type 'char *' + 85 | int GetPacketBssid(const u_char *pkt, unsigned char *bssid); + | ~~~~~~~~~~~~~~~^~~~~ +analpfile.c:115:71: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 115 | indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +analpfile.c:115:89: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 115 | indexArray=(unsigned char) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +analpfile.c:187:54: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 187 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +analpfile.c:187:72: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] + 187 | indexArray=(unsigned int) ((bssid[0]^bssid[1]+bssid[2]^bssid[3]+bssid[4]^bssid[5])&0x00000FFF); + | ~~~~~~~~^~~~~~~~~ +attack.c: In function 'AttackAndEvaluate': +attack.c:88:23: warning: variable 'foundWeak' set but not used [-Wunused-but-set-variable] + 88 | unsigned char foundWeak[NUMBER_ATTACKS]; + | ^~~~~~~~~ +heuristics.c: In function 'GuessOutputByte': +heuristics.c:61:10: warning: unused variable 'E' [-Wunused-variable] + 61 | u_char E, S[N]; + | ^ +heuristics.c: In function 'CalculateSimpleHeuristics': +heuristics.c:397:108: warning: unknown conversion type character ')' in format [-Wformat=] + 397 | printf("Perhaps you should increase the default probability (--perc) to a higher value (default 70%), or capture more packets.\n"); + | ^ +heuristics.c:394:17: warning: 'GuessOutputByte' accessing 17408 bytes in a region of size 13312 [-Wstringop-overflow=] + 394 | GuessOutputByte(i, global_v.debugKey, packets, controlPackets, votes); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +heuristics.c:394:17: note: referencing argument 5 of type 'unsigned int[17][256]' +heuristics.c:57:6: note: in a call to function 'GuessOutputByte' + 57 | void GuessOutputByte(int keyByte, u_char *sKey, t_StoredPacketsIV *packets, t_storedPacket **controlPackets, unsigned int votes[17][256]) + | ^~~~~~~~~~~~~~~ bruteforce.c: In function 'bruteforce': bruteforce.c:170:42: warning: 'mpid' may be used uninitialized [-Wmaybe-uninitialized] 170 | for (i=0; i