Diff of the two buildlogs: -- --- b1/build.log 2023-04-18 22:40:02.005708830 +0000 +++ b2/build.log 2023-04-18 22:42:01.948387301 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 18 10:37:41 -12 2023 -I: pbuilder-time-stamp: 1681857461 +I: Current time: Tue May 21 19:03:06 +14 2024 +I: pbuilder-time-stamp: 1716267786 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ap-utils_1.5.orig.tar.gz] I: copying [./ap-utils_1.5-5.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Sep 21 11:34:15 2021 -12 +gpgv: Signature made Wed Sep 22 13:34:15 2021 +14 gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ap-utils_1.5-5.dsc: no acceptable signature found @@ -30,135 +30,167 @@ dpkg-source: info: applying 0004-fix-autoconf-2.70-compat.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2147365/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3972505/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 21 19:03 /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/3972505/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3972505/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='9782df67daac4625a2de95f26634a147' - 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='2147365' - PS1='# ' - PS2='> ' + INVOCATION_ID=8b4816db5cf64a1c9e906ae62eafc5a6 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3972505 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.OrQvosC7/pbuilderrc_zr4F --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.OrQvosC7/b1 --logfile b1/build.log ap-utils_1.5-5.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.OrQvosC7/pbuilderrc_3Vbt --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.OrQvosC7/b2 --logfile b2/build.log --extrapackages usrmerge ap-utils_1.5-5.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 08:05 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 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 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 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 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 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 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 08:05 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 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/2147365/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 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 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 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 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 May 21 19:03 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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/3972505/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -228,7 +260,7 @@ Get: 30 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 libncurses6 amd64 6.4-2 [103 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 libncurses-dev amd64 6.4-2 [348 kB] -Fetched 19.2 MB in 1s (35.8 MB/s) +Fetched 19.2 MB in 0s (61.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19596 files and directories currently installed.) @@ -373,10 +405,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ap-utils-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 > ../ap-utils_1.5-5_source.changes +I: user script /srv/workspace/pbuilder/3972505/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/3972505/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ap-utils-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 > ../ap-utils_1.5-5_source.changes dpkg-buildpackage: info: source package ap-utils dpkg-buildpackage: info: source version 1.5-5 dpkg-buildpackage: info: source distribution unstable @@ -414,7 +453,7 @@ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -441,8 +480,8 @@ checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for arpa/inet.h... yes checking for fcntl.h... yes @@ -468,7 +507,7 @@ checking for fork... yes checking for malloc... yes checking for free... yes -checking for a sed that does not truncate output... /bin/sed +checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt @@ -482,7 +521,7 @@ checking 32-bit host C ABI... no checking how to run the C preprocessor... gcc -E checking for ELF binary format... yes -checking for the common suffixes of directories in the library search path... lib,lib,lib +checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes @@ -512,7 +551,7 @@ dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/ap-utils-1.5' make all-recursive make[2]: Entering directory '/build/ap-utils-1.5' @@ -529,8 +568,33 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o test.o test.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o stat.o stat.c gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o set_community.o set_community.c -reset.c: In function 'SysReset': gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o cmd.o cmd.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o radio.o radio.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o aps.o aps.c +input.c: In function 'get_value': +input.c:129:18: warning: variable 'y' set but not used [-Wunused-but-set-variable] + 129 | int c, i, x, y; + | ^ +snmp.c: In function 'ber': +snmp.c:96:31: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] + 96 | *(pdu1 + len++) = 0x82; + | ^~~~ +snmp.c:118:27: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] + 118 | *(pdu + lenp++) = 0x82; + | ^~~~ +snmp.c:134:27: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] + 134 | *(pdu + lenp++) = 0x82; + | ^~~~ +snmp.c:146:30: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] + 146 | *(message + len++) = 0x82; + | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o ap_search.o ap_search.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o sysinfo.o sysinfo.c +snmp.c: In function 'snmp': +snmp.c:235:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 235 | start = buf; + | ^ +reset.c: In function 'SysReset': reset.c:25:55: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 25 | char sysReset[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x02, 0x00 }, enable = 1; | ^~~~ @@ -552,27 +616,6 @@ reset.c:45:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 45 | varbinds[0].oid = operESSID; | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o radio.o radio.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o aps.o aps.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o ap_search.o ap_search.c -snmp.c: In function 'ber': -snmp.c:96:31: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] - 96 | *(pdu1 + len++) = 0x82; - | ^~~~ -snmp.c:118:27: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] - 118 | *(pdu + lenp++) = 0x82; - | ^~~~ -snmp.c:134:27: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] - 134 | *(pdu + lenp++) = 0x82; - | ^~~~ -snmp.c:146:30: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] - 146 | *(message + len++) = 0x82; - | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o sysinfo.o sysinfo.c -snmp.c: In function 'snmp': -snmp.c:235:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 235 | start = buf; - | ^ oui.c: In function 'oui2manufacturer': oui.c:161:21: warning: overflow in conversion from 'int' to 'char' changes value from '128' to '-128' [-Woverflow] 161 | 0x00, 0x00, 0x80, "CRAY COMMUNICATIONS A/S"}, { @@ -904,6 +947,58 @@ oui.c:270:21: warning: overflow in conversion from 'int' to 'char' changes value from '237' to '-19' [-Woverflow] 270 | 0x00, 0x00, 0xED, "APRIL"}, { | ^~~~ +wlan.c: In function 'atmel_wireless': +wlan.c:56:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 56 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x05, 0x00 + | ^~~~ +wlan.c:60:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 60 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x01, 0x00 + | ^~~~ +wlan.c:63:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 63 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x02, 0x00 + | ^~~~ +wlan.c:66:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 66 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x03, 0x00 + | ^~~~ +wlan.c:69:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 69 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x04, 0x00 + | ^~~~ +wlan.c:72:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 72 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x05, 0x00 + | ^~~~ +wlan.c:75:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 75 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x06, 0x00 + | ^~~~ +wlan.c:78:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 78 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x07, 0x00 + | ^~~~ +wlan.c:81:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 81 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x08, 0x00 + | ^~~~ +wlan.c:84:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 84 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x09, 0x00 + | ^~~~ +wlan.c:87:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 87 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x0A, 0x00 + | ^~~~ +wlan.c:90:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 90 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x0B, 0x00 + | ^~~~ +wlan.c:95:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 95 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x01, 0x0D, 0x00 + | ^~~~ +wlan.c:99:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 99 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x01, 0x0E, 0x00 + | ^~~~ +wlan.c:102:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 102 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x01, 0x0F, 0x00 + | ^~~~ +wlan.c:106:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 106 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x01, 0x10, 0x00 + | ^~~~ +wlan.c:134:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 134 | sysDeviceInfo[5] = 0xE0; + | ^~~~ oui.c:271:21: warning: overflow in conversion from 'int' to 'char' changes value from '238' to '-18' [-Woverflow] 271 | 0x00, 0x00, 0xEE, "NETWORK DESIGNERS, LTD."}, { | ^~~~ @@ -964,6 +1059,87 @@ oui.c:417:21: warning: overflow in conversion from 'int' to 'char' changes value from '129' to '-127' [-Woverflow] 417 | 0x00, 0x01, 0x81, "Nortel Networks"}, { | ^~~~ +wlan.c:136:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 136 | operChannelID[5] = 0xE0; + | ^~~~ +wlan.c:138:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 138 | operESSIDLength[5] = 0xE0; + | ^~~~ +wlan.c:140:24: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 140 | operESSID[5] = 0xE0; + | ^~~~ +wlan.c:142:31: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 142 | operRTSThreshold[5] = 0xE0; + | ^~~~ +wlan.c:144:41: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 144 | operFragmentationThreshold[5] = 0xE0; + | ^~~~ +wlan.c:146:31: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 146 | operPreambleType[5] = 0xE0; + | ^~~~ +wlan.c:148:37: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 148 | operAuthenticationType[5] = 0xE0; + | ^~~~ +wlan.c:150:29: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 150 | operBasicRates[5] = 0xE0; + | ^~~~ +wlan.c:152:35: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 152 | operAutoRateFallBack[5] = 0xE0; + | ^~~~ +wlan.c:154:34: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 154 | operAccessPointName[5] = 0xE0; + | ^~~~ +wlan.c:156:35: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 156 | operSSIDBroadcasting[5] = 0xE0; + | ^~~~ +wlan.c:168:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 168 | varbinds[i++].oid = operChannelID; + | ^ +wlan.c:169:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 169 | varbinds[i++].oid = operESSIDLength; + | ^ +wlan.c:170:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 170 | varbinds[i++].oid = operESSID; + | ^ +wlan.c:171:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 171 | varbinds[i++].oid = operSSIDBroadcasting; + | ^ +wlan.c:172:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 172 | varbinds[i++].oid = operBasicRates; + | ^ +wlan.c:173:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 173 | varbinds[i++].oid = operAutoRateFallBack; + | ^ +wlan.c:174:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 174 | varbinds[i++].oid = operRTSThreshold; + | ^ +wlan.c:175:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 175 | varbinds[i++].oid = operFragmentationThreshold; + | ^ +wlan.c:176:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 176 | varbinds[i++].oid = operPreambleType; + | ^ +wlan.c:177:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 177 | varbinds[i++].oid = operAuthenticationType; + | ^ +wlan.c:178:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 178 | varbinds[i++].oid = operAccessPointName; + | ^ +wlan.c:179:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 179 | varbinds[i++].oid = sysDeviceInfo; + | ^ +wlan.c:181:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 181 | varbinds[i++].oid = operInterRoaming; + | ^ +wlan.c:183:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 183 | varbinds[i++].oid = operBeaconPeriod; + | ^ +wlan.c:184:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 184 | varbinds[i++].oid = operDTIM; + | ^ +wlan.c:187:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 187 | varbinds[i++].oid = operSIFSTIME; + | ^ oui.c:418:21: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] 418 | 0x00, 0x01, 0x82, "DICA TECHNOLOGIES AG"}, { | ^~~~ @@ -1003,44 +1179,6 @@ oui.c:430:21: warning: overflow in conversion from 'int' to 'char' changes value from '142' to '-114' [-Woverflow] 430 | 0x00, 0x01, 0x8E, "Logitec Corporation"}, { | ^~~~ -test.c: In function 'test': -stat.c: In function 'EthStat': -stat.c:42:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 42 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x07, 0x01, 0x00 - | ^~~~ -stat.c:45:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 45 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x07, 0x02, 0x00 - | ^~~~ -stat.c:53:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 53 | EthRxStatistics[5] = 0xE0; - | ^~~~ -stat.c:55:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 55 | EthTxStatistics[5] = 0xE0; - | ^~~~ -test.c:57:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 57 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x08, 0x01, - | ^~~~ -stat.c:65:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 65 | varbinds[0].oid = EthRxStatistics; - | ^ -stat.c:67:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 67 | varbinds[1].oid = EthTxStatistics; - | ^ -test.c:61:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 61 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x08, 0x02, - | ^~~~ -test.c:65:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 65 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x08, 0x09, - | ^~~~ -test.c:83:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 83 | TestModeOnOff[5] = 0xE0; - | ^~~~ -test.c:85:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 85 | TestModeCommandStruct[5] = 0xE0; - | ^~~~ -test.c:87:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 87 | TestModeStatistics[5] = 0xE0; - | ^~~~ oui.c:431:21: warning: overflow in conversion from 'int' to 'char' changes value from '143' to '-113' [-Woverflow] 431 | 0x00, 0x01, 0x8F, "Kenetec, Inc."}, { | ^~~~ @@ -1053,64 +1191,27 @@ oui.c:434:21: warning: overflow in conversion from 'int' to 'char' changes value from '146' to '-110' [-Woverflow] 434 | 0x00, 0x01, 0x92, "Texas Digital Systems"}, { | ^~~~ -test.c:144:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 144 | varbinds[0].oid = TestModeOnOff; - | ^ oui.c:435:21: warning: overflow in conversion from 'int' to 'char' changes value from '147' to '-109' [-Woverflow] 435 | 0x00, 0x01, 0x93, "Hanbyul Telecom Co., Ltd."}, { | ^~~~ -test.c:146:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 146 | varbinds[0].value = &teston; - | ^ oui.c:436:21: warning: overflow in conversion from 'int' to 'char' changes value from '148' to '-108' [-Woverflow] 436 | 0x00, 0x01, 0x94, "Capital Equipment Corporation"}, { | ^~~~ -stat.c: In function 'WirelessStat': oui.c:437:21: warning: overflow in conversion from 'int' to 'char' changes value from '149' to '-107' [-Woverflow] 437 | 0x00, 0x01, 0x95, "Sena Technologies, Inc."}, { | ^~~~ -stat.c:220:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 220 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x03, 0x01, 0x00 - | ^~~~ -test.c:162:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 162 | varbinds[0].oid = TestModeOnOff; - | ^ oui.c:438:21: warning: overflow in conversion from 'int' to 'char' changes value from '150' to '-106' [-Woverflow] 438 | 0x00, 0x01, 0x96, "Cisco Systems, Inc."}, { | ^~~~ -test.c:164:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 164 | varbinds[0].value = &teston; - | ^ -stat.c:228:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 228 | wirelessStatistics[5] = 0xE0; - | ^~~~ -test.c:167:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 167 | varbinds[1].oid = TestModeCommandStruct; - | ^ oui.c:439:21: warning: overflow in conversion from 'int' to 'char' changes value from '151' to '-105' [-Woverflow] 439 | 0x00, 0x01, 0x97, "Cisco Systems, Inc."}, { | ^~~~ -test.c:170:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 170 | varbinds[1].value = (char *) &testmode; - | ^ oui.c:440:21: warning: overflow in conversion from 'int' to 'char' changes value from '152' to '-104' [-Woverflow] 440 | 0x00, 0x01, 0x98, "Darim Vision"}, { | ^~~~ -stat.c:238:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 238 | varbinds[0].oid = wirelessStatistics; - | ^ -test.c:177:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 177 | varbinds[0].oid = TestModeStatistics; - | ^ oui.c:441:21: warning: overflow in conversion from 'int' to 'char' changes value from '153' to '-103' [-Woverflow] 441 | 0x00, 0x01, 0x99, "HeiSei Electronics"}, { | ^~~~ -test.c:179:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 179 | varbinds[0].value = TestModeStatistics; - | ^ -stat.c:242:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 242 | varbinds[0].value = wirelessStatistics; - | ^ oui.c:442:21: warning: overflow in conversion from 'int' to 'char' changes value from '154' to '-102' [-Woverflow] 442 | 0x00, 0x01, 0x9A, "LEUNIG GmbH"}, { | ^~~~ @@ -1123,245 +1224,168 @@ oui.c:445:21: warning: overflow in conversion from 'int' to 'char' changes value from '157' to '-99' [-Woverflow] 445 | 0x00, 0x01, 0x9D, "E-Control Systems, Inc."}, { | ^~~~ +wlan.c:425:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 425 | varbinds[i].oid = operChannelID; + | ^ oui.c:446:21: warning: overflow in conversion from 'int' to 'char' changes value from '158' to '-98' [-Woverflow] 446 | 0x00, 0x01, 0x9E, "ESS Technology, Inc."}, { | ^~~~ -test.c:205:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 205 | varbinds[0].oid = TestModeOnOff; - | ^ +wlan.c:427:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 427 | varbinds[i].value = (char *) &channel; + | ^ oui.c:447:21: warning: overflow in conversion from 'int' to 'char' changes value from '159' to '-97' [-Woverflow] 447 | 0x00, 0x01, 0x9F, "Phonex Broadband"}, { | ^~~~ oui.c:448:21: warning: overflow in conversion from 'int' to 'char' changes value from '160' to '-96' [-Woverflow] 448 | 0x00, 0x01, 0xA0, "Infinilink Corporation"}, { | ^~~~ -test.c:207:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 207 | varbinds[0].value = &teston; - | ^ +wlan.c:439:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 439 | varbinds[i].oid = operBasicRates; + | ^ oui.c:449:21: warning: overflow in conversion from 'int' to 'char' changes value from '161' to '-95' [-Woverflow] 449 | 0x00, 0x01, 0xA1, "Mag-Tek, Inc."}, { | ^~~~ +wlan.c:441:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 441 | varbinds[i].value = basic_rates; + | ^ oui.c:450:21: warning: overflow in conversion from 'int' to 'char' changes value from '162' to '-94' [-Woverflow] 450 | 0x00, 0x01, 0xA2, "Logical Co., Ltd."}, { | ^~~~ oui.c:451:21: warning: overflow in conversion from 'int' to 'char' changes value from '163' to '-93' [-Woverflow] 451 | 0x00, 0x01, 0xA3, "GENESYS LOGIC, INC."}, { | ^~~~ +wlan.c:447:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 447 | varbinds[i].oid = operSSIDBroadcasting; + | ^ oui.c:452:21: warning: overflow in conversion from 'int' to 'char' changes value from '164' to '-92' [-Woverflow] 452 | 0x00, 0x01, 0xA4, "Microlink Corporation"}, { | ^~~~ +wlan.c:449:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 449 | varbinds[i].value = (char *) &SSIDBroadcasting; + | ^ oui.c:453:21: warning: overflow in conversion from 'int' to 'char' changes value from '165' to '-91' [-Woverflow] 453 | 0x00, 0x01, 0xA5, "Nextcomm, Inc."}, { | ^~~~ oui.c:454:21: warning: overflow in conversion from 'int' to 'char' changes value from '166' to '-90' [-Woverflow] 454 | 0x00, 0x01, 0xA6, "Scientific-Atlanta Arcodan A/S"}, { | ^~~~ -stat.c: In function 'nwn_wireless_stat': -stat.c:384:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 384 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x01, 0x01 }; - | ^~~~ -stat.c:384:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 384 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x01, 0x01 }; - | ^~~~ -stat.c:386:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 386 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x02, 0x01 }; - | ^~~~ -stat.c:386:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 386 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x02, 0x01 }; - | ^~~~ -stat.c:388:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 388 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x03, 0x01 }; - | ^~~~ -stat.c:388:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 388 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x03, 0x01 }; - | ^~~~ -stat.c:390:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 390 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x04, 0x01 }; - | ^~~~ -stat.c:390:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 390 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x04, 0x01 }; - | ^~~~ -stat.c:392:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 392 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x05, 0x01 }; - | ^~~~ -stat.c:392:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 392 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x05, 0x01 }; - | ^~~~ -stat.c:394:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 394 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x06, 0x01 }; - | ^~~~ -stat.c:394:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 394 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x06, 0x01 }; - | ^~~~ -stat.c:396:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 396 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x07, 0x01 }; - | ^~~~ -stat.c:396:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 396 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x07, 0x01 }; - | ^~~~ +wlan.c:455:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 455 | varbinds[i].oid = operAuthenticationType; + | ^ oui.c:455:21: warning: overflow in conversion from 'int' to 'char' changes value from '167' to '-89' [-Woverflow] 455 | 0x00, 0x01, 0xA7, "UNEX TECHNOLOGY CORPORATION"}, { | ^~~~ -stat.c:398:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 398 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x08, 0x01 }; - | ^~~~ +wlan.c:457:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 457 | varbinds[i].value = &AuthenticationType; + | ^ oui.c:456:21: warning: overflow in conversion from 'int' to 'char' changes value from '168' to '-88' [-Woverflow] 456 | 0x00, 0x01, 0xA8, "Welltech Computer Co., Ltd."}, { | ^~~~ -stat.c:398:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 398 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x08, 0x01 }; - | ^~~~ oui.c:457:21: warning: overflow in conversion from 'int' to 'char' changes value from '169' to '-87' [-Woverflow] 457 | 0x00, 0x01, 0xA9, "BMW AG"}, { | ^~~~ -stat.c:400:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 400 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x09, 0x01 }; - | ^~~~ +wlan.c:463:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 463 | varbinds[i].oid = operPreambleType; + | ^ oui.c:458:21: warning: overflow in conversion from 'int' to 'char' changes value from '170' to '-86' [-Woverflow] 458 | 0x00, 0x01, 0xAA, "Airspan Communications, Ltd."}, { | ^~~~ -stat.c:400:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 400 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x09, 0x01 }; - | ^~~~ +wlan.c:465:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 465 | varbinds[i].value = &PreambleType; + | ^ oui.c:459:21: warning: overflow in conversion from 'int' to 'char' changes value from '171' to '-85' [-Woverflow] 459 | 0x00, 0x01, 0xAB, "Main Street Networks"}, { | ^~~~ oui.c:460:21: warning: overflow in conversion from 'int' to 'char' changes value from '172' to '-84' [-Woverflow] 460 | 0x00, 0x01, 0xAC, "Sitara Networks, Inc."}, { | ^~~~ -stat.c:402:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 402 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0a, 0x01 }; - | ^~~~ -stat.c:402:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 402 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0a, 0x01 }; - | ^~~~ -stat.c:404:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 404 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0b, 0x01 }; - | ^~~~ +wlan.c:471:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 471 | varbinds[i].oid = operAutoRateFallBack; + | ^ oui.c:461:21: warning: overflow in conversion from 'int' to 'char' changes value from '173' to '-83' [-Woverflow] 461 | 0x00, 0x01, 0xAD, | ^~~~ -stat.c:404:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 404 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0b, 0x01 }; - | ^~~~ -stat.c:406:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 406 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0c, 0x01 }; - | ^~~~ -stat.c:406:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 406 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0c, 0x01 }; - | ^~~~ -stat.c:408:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 408 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0d, 0x01 }; - | ^~~~ -stat.c:408:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 408 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0d, 0x01 }; - | ^~~~ +wlan.c:473:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 473 | varbinds[i].value = &AutoRateFallBack; + | ^ oui.c:464:21: warning: overflow in conversion from 'int' to 'char' changes value from '174' to '-82' [-Woverflow] 464 | 0x00, 0x01, 0xAE, "Trex Enterprises"}, { | ^~~~ -stat.c:410:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 410 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0e, 0x01 }; - | ^~~~ -stat.c:410:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 410 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0e, 0x01 }; - | ^~~~ -stat.c:412:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 412 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x05, 0x01 }; - | ^~~~ -stat.c:412:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 412 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x05, 0x01 }; - | ^~~~ -stat.c:414:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 414 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x06, 0x01 }; - | ^~~~ -stat.c:414:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 414 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x06, 0x01 }; - | ^~~~ -stat.c:428:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 428 | varbinds[0].oid = oid_dot11TransmittedFragmentCount; - | ^ -stat.c:430:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 430 | varbinds[1].oid = oid_dot11MulticastTransmittedFrameCount; - | ^ -stat.c:432:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 432 | varbinds[2].oid = oid_dot11FailedCount; - | ^ -wep.c: In function 'wep': -wep.c:40:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 40 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x02, 0x01, 0x00}, - | ^~~~ -stat.c:434:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 434 | varbinds[3].oid = oid_dot11RetryCount; - | ^ -wep.c:41:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 41 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x02, 0x02, 0x00}, - | ^~~~ -wep.c:42:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 42 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x02, 0x03, 0x00}, - | ^~~~ -stat.c:436:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 436 | varbinds[4].oid = oid_dot11MultipleRetryCount; - | ^ -stat.c:438:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 438 | varbinds[5].oid = oid_dot11FrameDuplicateCount; - | ^ -stat.c:440:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 440 | varbinds[6].oid = oid_dot11RTSSuccessCount; - | ^ -stat.c:442:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 442 | varbinds[7].oid = oid_dot11RTSFailureCount; - | ^ -stat.c:444:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 444 | varbinds[8].oid = oid_dot11ACKFailureCount; - | ^ -stat.c:446:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 446 | varbinds[9].oid = oid_dot11ReceivedFragmentCount; - | ^ -stat.c:448:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 448 | varbinds[10].oid = oid_dot11MulticastReceivedFrameCount; - | ^ -stat.c:450:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 450 | varbinds[11].oid = oid_dot11FCSErrorCount; - | ^ -stat.c:452:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 452 | varbinds[12].oid = oid_dot11TransmittedFrameCount; - | ^ -stat.c:454:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 454 | varbinds[13].oid = oid_dot11WEPUndecryptableCount; - | ^ -stat.c:456:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 456 | varbinds[14].oid = oid_dot11WEPICVErrorCount; - | ^ -stat.c:458:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 458 | varbinds[15].oid = oid_dot11WEPExcludedCount; - | ^ -stat.c:463:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 463 | varbinds[i].value = oid_dot11TransmittedFragmentCount; - | ^ oui.c:465:21: warning: overflow in conversion from 'int' to 'char' changes value from '175' to '-81' [-Woverflow] 465 | 0x00, 0x01, 0xAF, "Motorola Computer Group"}, { | ^~~~ +wlan.c:480:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 480 | varbinds[i].oid = operAccessPointName; + | ^ oui.c:466:21: warning: overflow in conversion from 'int' to 'char' changes value from '176' to '-80' [-Woverflow] 466 | 0x00, 0x01, 0xB0, "Fulltek Technology Co., Ltd."}, { | ^~~~ +wlan.c:482:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 482 | varbinds[i].value = ap_name; + | ^ oui.c:467:21: warning: overflow in conversion from 'int' to 'char' changes value from '177' to '-79' [-Woverflow] 467 | 0x00, 0x01, 0xB1, "General Bandwidth"}, { | ^~~~ oui.c:468:21: warning: overflow in conversion from 'int' to 'char' changes value from '178' to '-78' [-Woverflow] 468 | 0x00, 0x01, 0xB2, "Digital Processing Systems, Inc."}, { | ^~~~ +wlan.c:488:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 488 | varbinds[i].oid = operFragmentationThreshold; + | ^ oui.c:469:21: warning: overflow in conversion from 'int' to 'char' changes value from '179' to '-77' [-Woverflow] 469 | 0x00, 0x01, 0xB3, "Precision Electronic Manufacturing"}, { | ^~~~ +wlan.c:491:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 491 | varbinds[i].value = (char *) &FragmentationThreshold; + | ^ oui.c:470:21: warning: overflow in conversion from 'int' to 'char' changes value from '180' to '-76' [-Woverflow] 470 | 0x00, 0x01, 0xB4, "Wayport, Inc."}, { | ^~~~ oui.c:471:21: warning: overflow in conversion from 'int' to 'char' changes value from '181' to '-75' [-Woverflow] 471 | 0x00, 0x01, 0xB5, "Turin Networks, Inc."}, { | ^~~~ +wlan.c:497:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 497 | varbinds[i].oid = operRTSThreshold; + | ^ oui.c:472:21: warning: overflow in conversion from 'int' to 'char' changes value from '182' to '-74' [-Woverflow] 472 | 0x00, 0x01, 0xB6, "SAEJIN T&M Co., Ltd."}, { | ^~~~ +wlan.c:500:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 500 | varbinds[i].value = (char *) &RTSThreshold; + | ^ +wlan.c:507:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 507 | varbinds[i].oid = operESSIDLength; + | ^ +wlan.c:509:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 509 | varbinds[i].value = (char *)&ch; + | ^ +wlan.c:513:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 513 | varbinds[i].oid = operESSID; + | ^ +wlan.c:515:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 515 | varbinds[i].value = domain; + | ^ +wlan.c:521:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 521 | varbinds[i].oid = operInterRoaming; + | ^ +wlan.c:523:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 523 | varbinds[i].value = (char *) &InterRoaming; + | ^ +wlan.c:529:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 529 | varbinds[i].oid = operBeaconPeriod; + | ^ +wlan.c:532:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 532 | varbinds[i].value = (char *) &BeaconPeriod; + | ^ +wlan.c:538:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 538 | varbinds[i].oid = operDTIM; + | ^ +wlan.c:540:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 540 | varbinds[i].value = (char *) &dtim; + | ^ +wlan.c:546:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 546 | varbinds[i].oid = operSIFSTIME; + | ^ oui.c:473:21: warning: overflow in conversion from 'int' to 'char' changes value from '183' to '-73' [-Woverflow] 473 | 0x00, 0x01, 0xB7, "Centos, Inc."}, { | ^~~~ @@ -1404,6 +1428,89 @@ oui.c:486:21: warning: overflow in conversion from 'int' to 'char' changes value from '196' to '-60' [-Woverflow] 486 | 0x00, 0x01, 0xC4, "NeoWave, Inc."}, { | ^~~~ +oui.c:487:21: warning: overflow in conversion from 'int' to 'char' changes value from '197' to '-59' [-Woverflow] + 487 | 0x00, 0x01, 0xC5, "Simpler Networks"}, { + | ^~~~ +oui.c:488:21: warning: overflow in conversion from 'int' to 'char' changes value from '198' to '-58' [-Woverflow] + 488 | 0x00, 0x01, 0xC6, "Quarry Technologies"}, { + | ^~~~ +oui.c:489:21: warning: overflow in conversion from 'int' to 'char' changes value from '199' to '-57' [-Woverflow] + 489 | 0x00, 0x01, 0xC7, "Cisco Systems, Inc."}, { + | ^~~~ +oui.c:490:21: warning: overflow in conversion from 'int' to 'char' changes value from '200' to '-56' [-Woverflow] + 490 | 0x00, 0x01, 0xC8, "THOMAS CONRAD CORP."}, { + | ^~~~ +oui.c:491:21: warning: overflow in conversion from 'int' to 'char' changes value from '200' to '-56' [-Woverflow] + 491 | 0x00, 0x01, 0xC8, "CONRAD CORP."}, { + | ^~~~ +oui.c:492:21: warning: overflow in conversion from 'int' to 'char' changes value from '201' to '-55' [-Woverflow] + 492 | 0x00, 0x01, 0xC9, "Cisco Systems, Inc."}, { + | ^~~~ +oui.c:493:21: warning: overflow in conversion from 'int' to 'char' changes value from '202' to '-54' [-Woverflow] + 493 | 0x00, 0x01, 0xCA, "Geocast Network Systems, Inc."}, { + | ^~~~ +oui.c:494:21: warning: overflow in conversion from 'int' to 'char' changes value from '203' to '-53' [-Woverflow] + 494 | 0x00, 0x01, 0xCB, "NetGame, Ltd."}, { + | ^~~~ +oui.c:495:21: warning: overflow in conversion from 'int' to 'char' changes value from '204' to '-52' [-Woverflow] + 495 | 0x00, 0x01, 0xCC, "Japan Total Design Communication Co., Ltd."}, { + | ^~~~ +oui.c:496:21: warning: overflow in conversion from 'int' to 'char' changes value from '205' to '-51' [-Woverflow] + 496 | 0x00, 0x01, 0xCD, "ARtem"}, { + | ^~~~ +wep.c: In function 'wep': +oui.c:497:21: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 497 | 0x00, 0x01, 0xCE, "Custom Micro Products, Ltd."}, { + | ^~~~ +wep.c:40:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 40 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x02, 0x01, 0x00}, + | ^~~~ +wlan.c:549:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 549 | varbinds[i].value = (char *) &sifs; + | ^ +wlan.c: In function 'nwn_wireless': +wlan.c:577:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 577 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x09, 0x01 }; + | ^~~~ +wlan.c:577:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 577 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x09, 0x01 }; + | ^~~~ +wlan.c:579:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 579 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x0b, 0x01 }; + | ^~~~ +wlan.c:579:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 579 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x0b, 0x01 }; + | ^~~~ +wlan.c:581:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 581 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x02, 0x01, 0x03, 0x01, 0x01 }; + | ^~~~ +wlan.c:581:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 581 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x02, 0x01, 0x03, 0x01, 0x01 }; + | ^~~~ +wlan.c:583:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 583 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x02, 0x01, 0x03, 0x01, 0x02 }; + | ^~~~ +wlan.c:583:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 583 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x02, 0x01, 0x03, 0x01, 0x02 }; + | ^~~~ +wlan.c:585:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 585 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x02, 0x01 }; + | ^~~~ +wlan.c:585:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 585 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x02, 0x01 }; + | ^~~~ +wlan.c:587:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 587 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x05, 0x01 }; + | ^~~~ +wlan.c:587:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 587 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x05, 0x01 }; + | ^~~~ +wep.c:41:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 41 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x02, 0x02, 0x00}, + | ^~~~ +wep.c:42:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 42 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x02, 0x03, 0x00}, + | ^~~~ wep.c:43:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 43 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x02, 0x04, 0x00} | ^~~~ @@ -1428,70 +1535,24 @@ wep.c:74:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 74 | varbinds[1].oid = privacyDefaultWEPKeyID; | ^ -wlan.c: In function 'atmel_wireless': -wlan.c:56:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 56 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x05, 0x00 - | ^~~~ -wlan.c:60:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 60 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x01, 0x00 - | ^~~~ -wlan.c:63:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 63 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x02, 0x00 - | ^~~~ wep.c:150:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 150 | varbinds[i].oid = privacyWEPEnable; | ^ -wlan.c:66:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 66 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x03, 0x00 - | ^~~~ wep.c:153:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 153 | varbinds[i].value = (char *) &wep_hw; | ^ -wlan.c:69:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 69 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x04, 0x00 - | ^~~~ -wlan.c:72:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 72 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x05, 0x00 - | ^~~~ wep.c:159:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 159 | varbinds[i].oid = privacyDefaultWEPKeyID; | ^ -wlan.c:75:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 75 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x06, 0x00 - | ^~~~ wep.c:162:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 162 | varbinds[i].value = (char *) &wepid_hw; | ^ -wlan.c:78:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 78 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x07, 0x00 - | ^~~~ -wlan.c:81:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 81 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x08, 0x00 - | ^~~~ wep.c:168:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 168 | varbinds[i].oid = defaultWEPKey[c]; | ^ -wlan.c:84:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 84 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x09, 0x00 - | ^~~~ -wlan.c:87:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 87 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x0A, 0x00 - | ^~~~ wep.c:171:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 171 | varbinds[i].value = wepkey[c]; | ^ -wlan.c:90:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 90 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x0B, 0x00 - | ^~~~ -wlan.c:95:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 95 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x01, 0x0D, 0x00 - | ^~~~ -wlan.c:99:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 99 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x01, 0x0E, 0x00 - | ^~~~ -wlan.c:102:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 102 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x01, 0x0F, 0x00 - | ^~~~ wep.c: In function 'nwn_wep': wep.c:198:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] 198 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x03, 0x01, 0x02, 0x01, 0x01}, @@ -1508,312 +1569,205 @@ wep.c:200:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] 200 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x03, 0x01, 0x02, 0x01, 0x03}, | ^~~~ -wep.c:200:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 200 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x03, 0x01, 0x02, 0x01, 0x03}, - | ^~~~ -wep.c:201:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 201 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x03, 0x01, 0x02, 0x01, 0x04}, - | ^~~~ -wep.c:201:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 201 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x03, 0x01, 0x02, 0x01, 0x04}, - | ^~~~ -wep.c:205:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 205 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x01, 0x01 }; - | ^~~~ -wep.c:205:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 205 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x01, 0x01 }; - | ^~~~ -wep.c:207:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 207 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x02, 0x01 }; - | ^~~~ -wep.c:207:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 207 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x02, 0x01 }; - | ^~~~ -wep.c:210:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 210 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x04, 0x01 }; - | ^~~~ -wep.c:210:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 210 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x04, 0x01 }; - | ^~~~ -wep.c:212:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 212 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x02, 0x01, - | ^~~~ -wep.c:221:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 221 | varbinds[0].oid = privacyWEPEnable; - | ^ -wep.c:225:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 225 | varbinds[1].oid = oid_smtPublicKeyEnable; - | ^ -wep.c:229:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 229 | varbinds[2].oid = oid_dot11ExcludeUnencrypted; - | ^ -wep.c:233:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 233 | varbinds[3].oid = privacyDefaultWEPKeyID; - | ^ -oui.c:487:21: warning: overflow in conversion from 'int' to 'char' changes value from '197' to '-59' [-Woverflow] - 487 | 0x00, 0x01, 0xC5, "Simpler Networks"}, { - | ^~~~ -wlan.c:106:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 106 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x01, 0x10, 0x00 - | ^~~~ -oui.c:488:21: warning: overflow in conversion from 'int' to 'char' changes value from '198' to '-58' [-Woverflow] - 488 | 0x00, 0x01, 0xC6, "Quarry Technologies"}, { - | ^~~~ -oui.c:489:21: warning: overflow in conversion from 'int' to 'char' changes value from '199' to '-57' [-Woverflow] - 489 | 0x00, 0x01, 0xC7, "Cisco Systems, Inc."}, { - | ^~~~ -oui.c:490:21: warning: overflow in conversion from 'int' to 'char' changes value from '200' to '-56' [-Woverflow] - 490 | 0x00, 0x01, 0xC8, "THOMAS CONRAD CORP."}, { - | ^~~~ -oui.c:491:21: warning: overflow in conversion from 'int' to 'char' changes value from '200' to '-56' [-Woverflow] - 491 | 0x00, 0x01, 0xC8, "CONRAD CORP."}, { - | ^~~~ -wlan.c:134:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 134 | sysDeviceInfo[5] = 0xE0; - | ^~~~ -wlan.c:136:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 136 | operChannelID[5] = 0xE0; - | ^~~~ -oui.c:492:21: warning: overflow in conversion from 'int' to 'char' changes value from '201' to '-55' [-Woverflow] - 492 | 0x00, 0x01, 0xC9, "Cisco Systems, Inc."}, { - | ^~~~ -wlan.c:138:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 138 | operESSIDLength[5] = 0xE0; - | ^~~~ -wlan.c:140:24: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 140 | operESSID[5] = 0xE0; - | ^~~~ -oui.c:493:21: warning: overflow in conversion from 'int' to 'char' changes value from '202' to '-54' [-Woverflow] - 493 | 0x00, 0x01, 0xCA, "Geocast Network Systems, Inc."}, { - | ^~~~ -wlan.c:142:31: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 142 | operRTSThreshold[5] = 0xE0; - | ^~~~ -wlan.c:144:41: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 144 | operFragmentationThreshold[5] = 0xE0; - | ^~~~ -wlan.c:146:31: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 146 | operPreambleType[5] = 0xE0; - | ^~~~ -oui.c:494:21: warning: overflow in conversion from 'int' to 'char' changes value from '203' to '-53' [-Woverflow] - 494 | 0x00, 0x01, 0xCB, "NetGame, Ltd."}, { - | ^~~~ -wlan.c:148:37: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 148 | operAuthenticationType[5] = 0xE0; - | ^~~~ -wlan.c:150:29: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 150 | operBasicRates[5] = 0xE0; - | ^~~~ -oui.c:495:21: warning: overflow in conversion from 'int' to 'char' changes value from '204' to '-52' [-Woverflow] - 495 | 0x00, 0x01, 0xCC, "Japan Total Design Communication Co., Ltd."}, { - | ^~~~ -wlan.c:152:35: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 152 | operAutoRateFallBack[5] = 0xE0; - | ^~~~ -wlan.c:154:34: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 154 | operAccessPointName[5] = 0xE0; - | ^~~~ -oui.c:496:21: warning: overflow in conversion from 'int' to 'char' changes value from '205' to '-51' [-Woverflow] - 496 | 0x00, 0x01, 0xCD, "ARtem"}, { - | ^~~~ -wlan.c:156:35: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 156 | operSSIDBroadcasting[5] = 0xE0; - | ^~~~ -oui.c:497:21: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 497 | 0x00, 0x01, 0xCE, "Custom Micro Products, Ltd."}, { - | ^~~~ -wlan.c:168:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 168 | varbinds[i++].oid = operChannelID; - | ^ -wlan.c:169:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 169 | varbinds[i++].oid = operESSIDLength; - | ^ oui.c:498:21: warning: overflow in conversion from 'int' to 'char' changes value from '207' to '-49' [-Woverflow] 498 | 0x00, 0x01, 0xCF, "Alpha Data Parallel Systems, Ltd."}, { | ^~~~ -wlan.c:170:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 170 | varbinds[i++].oid = operESSID; - | ^ -wlan.c:171:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 171 | varbinds[i++].oid = operSSIDBroadcasting; - | ^ +wlan.c:589:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 589 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x05, 0x01, 0x01, 0x01 }; + | ^~~~ oui.c:499:21: warning: overflow in conversion from 'int' to 'char' changes value from '208' to '-48' [-Woverflow] 499 | 0x00, 0x01, 0xD0, "VitalPoint, Inc."}, { | ^~~~ -wlan.c:172:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 172 | varbinds[i++].oid = operBasicRates; - | ^ -wlan.c:173:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 173 | varbinds[i++].oid = operAutoRateFallBack; - | ^ oui.c:500:21: warning: overflow in conversion from 'int' to 'char' changes value from '209' to '-47' [-Woverflow] 500 | 0x00, 0x01, 0xD1, "CoNet Communications, Inc."}, { | ^~~~ -wlan.c:174:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 174 | varbinds[i++].oid = operRTSThreshold; - | ^ -wlan.c:175:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 175 | varbinds[i++].oid = operFragmentationThreshold; - | ^ +wlan.c:589:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 589 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x05, 0x01, 0x01, 0x01 }; + | ^~~~ oui.c:501:21: warning: overflow in conversion from 'int' to 'char' changes value from '210' to '-46' [-Woverflow] 501 | 0x00, 0x01, 0xD2, "MacPower Peripherals, Ltd."}, { | ^~~~ -wlan.c:176:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 176 | varbinds[i++].oid = operPreambleType; - | ^ -wlan.c:177:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 177 | varbinds[i++].oid = operAuthenticationType; - | ^ -wlan.c:178:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 178 | varbinds[i++].oid = operAccessPointName; - | ^ oui.c:502:21: warning: overflow in conversion from 'int' to 'char' changes value from '211' to '-45' [-Woverflow] 502 | 0x00, 0x01, 0xD3, "PAXCOMM, Inc."}, { | ^~~~ -wlan.c:179:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 179 | varbinds[i++].oid = sysDeviceInfo; - | ^ +wlan.c:591:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 591 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x02, 0x01, 0x01 }, + | ^~~~ oui.c:503:21: warning: overflow in conversion from 'int' to 'char' changes value from '212' to '-44' [-Woverflow] 503 | 0x00, 0x01, 0xD4, "Leisure Time, Inc."}, { | ^~~~ -wlan.c:181:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 181 | varbinds[i++].oid = operInterRoaming; - | ^ -wlan.c:183:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 183 | varbinds[i++].oid = operBeaconPeriod; - | ^ +wlan.c:591:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 591 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x02, 0x01, 0x01 }, + | ^~~~ oui.c:504:21: warning: overflow in conversion from 'int' to 'char' changes value from '213' to '-43' [-Woverflow] 504 | 0x00, 0x01, 0xD5, "HAEDONG INFO & COMM CO., LTD"}, { | ^~~~ -wlan.c:184:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 184 | varbinds[i++].oid = operDTIM; - | ^ oui.c:505:21: warning: overflow in conversion from 'int' to 'char' changes value from '214' to '-42' [-Woverflow] 505 | 0x00, 0x01, 0xD6, "MAN Roland Druckmaschinen AG"}, { | ^~~~ -wlan.c:187:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 187 | varbinds[i++].oid = operSIFSTIME; - | ^ +wlan.c:592:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 592 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x02, 0x01, 0x02 }, + | ^~~~ oui.c:506:21: warning: overflow in conversion from 'int' to 'char' changes value from '215' to '-41' [-Woverflow] 506 | 0x00, 0x01, 0xD7, "F5 Networks, Inc."}, { | ^~~~ +wlan.c:592:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 592 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x02, 0x01, 0x02 }, + | ^~~~ oui.c:507:21: warning: overflow in conversion from 'int' to 'char' changes value from '216' to '-40' [-Woverflow] 507 | 0x00, 0x01, 0xD8, "Teltronics, Inc."}, { | ^~~~ oui.c:508:21: warning: overflow in conversion from 'int' to 'char' changes value from '217' to '-39' [-Woverflow] 508 | 0x00, 0x01, 0xD9, "Sigma, Inc."}, { | ^~~~ +wlan.c:593:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 593 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x03, 0x01, 0x01 }, + | ^~~~ oui.c:509:21: warning: overflow in conversion from 'int' to 'char' changes value from '218' to '-38' [-Woverflow] 509 | 0x00, 0x01, 0xDA, "WINCOMM Corporation"}, { | ^~~~ oui.c:510:21: warning: overflow in conversion from 'int' to 'char' changes value from '219' to '-37' [-Woverflow] 510 | 0x00, 0x01, 0xDB, "Freecom Technologies GmbH"}, { | ^~~~ +wlan.c:593:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 593 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x03, 0x01, 0x01 }, + | ^~~~ oui.c:511:21: warning: overflow in conversion from 'int' to 'char' changes value from '220' to '-36' [-Woverflow] 511 | 0x00, 0x01, 0xDC, "Activetelco"}, { | ^~~~ +wlan.c:594:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 594 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x03, 0x01, 0x02 }, + | ^~~~ oui.c:512:21: warning: overflow in conversion from 'int' to 'char' changes value from '221' to '-35' [-Woverflow] 512 | 0x00, 0x01, 0xDD, "Avail Networks"}, { | ^~~~ oui.c:513:21: warning: overflow in conversion from 'int' to 'char' changes value from '222' to '-34' [-Woverflow] 513 | 0x00, 0x01, 0xDE, "Trango Systems, Inc."}, { | ^~~~ +wlan.c:594:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 594 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x03, 0x01, 0x02 }, + | ^~~~ oui.c:514:21: warning: overflow in conversion from 'int' to 'char' changes value from '223' to '-33' [-Woverflow] 514 | 0x00, 0x01, 0xDF, "ISDN Communications, Ltd."}, { | ^~~~ -wep.c:336:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 336 | varbinds[i].oid = privacyWEPEnable; - | ^ +wlan.c:595:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 595 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x04, 0x01, 0x01 }, + | ^~~~ oui.c:515:21: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 515 | 0x00, 0x01, 0xE0, "Fast Systems, Inc."}, { | ^~~~ -wep.c:339:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 339 | varbinds[i].value = (char *) &wep; - | ^ oui.c:516:21: warning: overflow in conversion from 'int' to 'char' changes value from '225' to '-31' [-Woverflow] 516 | 0x00, 0x01, 0xE1, "Kinpo Electronics, Inc."}, { | ^~~~ -wep.c:353:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 353 | varbinds[i].oid = oid_dot11ExcludeUnencrypted; - | ^ +wlan.c:595:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 595 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x04, 0x01, 0x01 }, + | ^~~~ oui.c:517:21: warning: overflow in conversion from 'int' to 'char' changes value from '226' to '-30' [-Woverflow] 517 | 0x00, 0x01, 0xE2, "Ando Electric Corporation"}, { | ^~~~ -wep.c:356:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 356 | varbinds[i].value = &exclude; - | ^ +wlan.c:596:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 596 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x04, 0x01, 0x02 } + | ^~~~ oui.c:518:21: warning: overflow in conversion from 'int' to 'char' changes value from '227' to '-29' [-Woverflow] 518 | 0x00, 0x01, 0xE3, "Siemens AG"}, { | ^~~~ -wep.c:361:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 361 | varbinds[i].oid = oid_smtPublicKeyEnable; - | ^ oui.c:519:21: warning: overflow in conversion from 'int' to 'char' changes value from '228' to '-28' [-Woverflow] 519 | 0x00, 0x01, 0xE4, "Sitera, Inc."}, { | ^~~~ -wep.c:364:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 364 | varbinds[i].value = &publickey; - | ^ +wlan.c:596:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 596 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x04, 0x01, 0x02 } + | ^~~~ oui.c:520:21: warning: overflow in conversion from 'int' to 'char' changes value from '229' to '-27' [-Woverflow] 520 | 0x00, 0x01, 0xE5, "Supernet, Inc."}, { | ^~~~ -wep.c:379:30: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 379 | varbinds[i].oid = privacyDefaultWEPKeyID; - | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o set_oeminfo.o set_oeminfo.c +wep.c:200:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 200 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x03, 0x01, 0x02, 0x01, 0x03}, + | ^~~~ +wep.c:201:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 201 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x03, 0x01, 0x02, 0x01, 0x04}, + | ^~~~ +wep.c:201:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 201 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x03, 0x01, 0x02, 0x01, 0x04}, + | ^~~~ +wep.c:205:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 205 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x01, 0x01 }; + | ^~~~ +wep.c:205:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 205 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x01, 0x01 }; + | ^~~~ +wep.c:207:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 207 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x02, 0x01 }; + | ^~~~ +wep.c:207:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 207 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x02, 0x01 }; + | ^~~~ +wep.c:210:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 210 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x04, 0x01 }; + | ^~~~ +wep.c:210:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 210 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x04, 0x01 }; + | ^~~~ +wep.c:212:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 212 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x02, 0x01, + | ^~~~ +wep.c:221:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 221 | varbinds[0].oid = privacyWEPEnable; + | ^ +wep.c:225:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 225 | varbinds[1].oid = oid_smtPublicKeyEnable; + | ^ +wep.c:229:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 229 | varbinds[2].oid = oid_dot11ExcludeUnencrypted; + | ^ +wep.c:233:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 233 | varbinds[3].oid = privacyDefaultWEPKeyID; + | ^ +wep.c:336:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 336 | varbinds[i].oid = privacyWEPEnable; + | ^ +wep.c:339:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 339 | varbinds[i].value = (char *) &wep; + | ^ +wlan.c:607:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 607 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x02, 0x01, + | ^~~~ oui.c:521:21: warning: overflow in conversion from 'int' to 'char' changes value from '230' to '-26' [-Woverflow] 521 | 0x00, 0x01, 0xE6, "Hewlett-Packard Company"}, { | ^~~~ -wep.c:382:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 382 | varbinds[i].value = (char *) &wepid_hw; - | ^ oui.c:522:21: warning: overflow in conversion from 'int' to 'char' changes value from '231' to '-25' [-Woverflow] 522 | 0x00, 0x01, 0xE7, "Hewlett-Packard Company"}, { | ^~~~ oui.c:523:21: warning: overflow in conversion from 'int' to 'char' changes value from '232' to '-24' [-Woverflow] 523 | 0x00, 0x01, 0xE8, "Force10 Networks, Inc."}, { | ^~~~ -wep.c:396:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 396 | varbinds[i].oid = defaultWEPKey[c]; - | ^ oui.c:524:21: warning: overflow in conversion from 'int' to 'char' changes value from '233' to '-23' [-Woverflow] 524 | 0x00, 0x01, 0xE9, "Litton Marine Systems B.V."}, { | ^~~~ oui.c:525:21: warning: overflow in conversion from 'int' to 'char' changes value from '234' to '-22' [-Woverflow] 525 | 0x00, 0x01, 0xEA, "Cirilium Corp."}, { | ^~~~ -wep.c:399:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 399 | varbinds[i].value = wepkey[c]; - | ^ oui.c:526:21: warning: overflow in conversion from 'int' to 'char' changes value from '235' to '-21' [-Woverflow] 526 | 0x00, 0x01, 0xEB, "C-COM Corporation"}, { | ^~~~ -wlan.c:425:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 425 | varbinds[i].oid = operChannelID; - | ^ -wlan.c:427:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 427 | varbinds[i].value = (char *) &channel; - | ^ -wlan.c:439:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 439 | varbinds[i].oid = operBasicRates; - | ^ -wlan.c:441:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 441 | varbinds[i].value = basic_rates; - | ^ -wlan.c:447:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 447 | varbinds[i].oid = operSSIDBroadcasting; - | ^ -wlan.c:449:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 449 | varbinds[i].value = (char *) &SSIDBroadcasting; - | ^ +wlan.c:637:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 637 | varbinds[0].oid = operChannelID; + | ^ oui.c:527:21: warning: overflow in conversion from 'int' to 'char' changes value from '236' to '-20' [-Woverflow] 527 | 0x00, 0x01, 0xEC, "Ericsson Group"}, { | ^~~~ +wlan.c:639:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 639 | varbinds[1].oid = operESSID; + | ^ oui.c:528:21: warning: overflow in conversion from 'int' to 'char' changes value from '237' to '-19' [-Woverflow] 528 | 0x00, 0x01, 0xED, "SETA Corp."}, { | ^~~~ oui.c:529:21: warning: overflow in conversion from 'int' to 'char' changes value from '238' to '-18' [-Woverflow] 529 | 0x00, 0x01, 0xEE, "Comtrol Europe, Ltd."}, { | ^~~~ +wlan.c:641:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 641 | varbinds[2].oid = operRTSThreshold; + | ^ oui.c:530:21: warning: overflow in conversion from 'int' to 'char' changes value from '239' to '-17' [-Woverflow] 530 | 0x00, 0x01, 0xEF, "Camtel Technology Corp."}, { | ^~~~ @@ -1823,28 +1777,39 @@ oui.c:532:21: warning: overflow in conversion from 'int' to 'char' changes value from '241' to '-15' [-Woverflow] 532 | 0x00, 0x01, 0xF1, "Innovative Concepts, Inc."}, { | ^~~~ +wlan.c:643:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 643 | varbinds[3].oid = operFragmentationThreshold; + | ^ oui.c:533:21: warning: overflow in conversion from 'int' to 'char' changes value from '242' to '-14' [-Woverflow] 533 | 0x00, 0x01, 0xF2, "Mark of the Unicorn, Inc."}, { | ^~~~ +wlan.c:645:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 645 | varbinds[4].oid = operBasicRates; + | ^ oui.c:534:21: warning: overflow in conversion from 'int' to 'char' changes value from '243' to '-13' [-Woverflow] 534 | 0x00, 0x01, 0xF3, "QPS, Inc."}, { | ^~~~ oui.c:535:21: warning: overflow in conversion from 'int' to 'char' changes value from '244' to '-12' [-Woverflow] 535 | 0x00, 0x01, 0xF4, "Enterasys Networks"}, { | ^~~~ +wlan.c:647:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 647 | varbinds[5].oid = OpenSystem; + | ^ oui.c:536:21: warning: overflow in conversion from 'int' to 'char' changes value from '245' to '-11' [-Woverflow] 536 | 0x00, 0x01, 0xF5, "ERIM S.A."}, { | ^~~~ oui.c:537:21: warning: overflow in conversion from 'int' to 'char' changes value from '246' to '-10' [-Woverflow] 537 | 0x00, 0x01, 0xF6, "Association of Musical Electronics Industry"}, { | ^~~~ -input.c: In function 'get_value': -input.c:129:18: warning: variable 'y' set but not used [-Wunused-but-set-variable] - 129 | int c, i, x, y; - | ^ +wlan.c:649:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 649 | varbinds[6].oid = SharedKey; + | ^ oui.c:538:21: warning: overflow in conversion from 'int' to 'char' changes value from '247' to '-9' [-Woverflow] 538 | 0x00, 0x01, 0xF7, "Image Display Systems, Inc."}, { | ^~~~ +wlan.c:651:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 651 | varbinds[7].oid = operAccessPointName; + | ^ oui.c:539:21: warning: overflow in conversion from 'int' to 'char' changes value from '248' to '-8' [-Woverflow] 539 | 0x00, 0x01, 0xF8, "Adherent Systems, Ltd."}, { | ^~~~ @@ -1857,56 +1822,47 @@ oui.c:542:21: warning: overflow in conversion from 'int' to 'char' changes value from '251' to '-5' [-Woverflow] 542 | 0x00, 0x01, 0xFB, "DoTop Technology, Inc."}, { | ^~~~ -oui.c:543:21: warning: overflow in conversion from 'int' to 'char' changes value from '252' to '-4' [-Woverflow] - 543 | 0x00, 0x01, 0xFC, "Keyence Corporation"}, { - | ^~~~ -oui.c:544:21: warning: overflow in conversion from 'int' to 'char' changes value from '253' to '-3' [-Woverflow] - 544 | 0x00, 0x01, 0xFD, "Digital Voice Systems, Inc."}, { - | ^~~~ -oui.c:545:21: warning: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Woverflow] - 545 | 0x00, 0x01, 0xFE, "DIGITAL EQUIPMENT CORPORATION"}, { - | ^~~~ -cmd.c: In function 'defaults': -wlan.c:455:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 455 | varbinds[i].oid = operAuthenticationType; +wep.c:353:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 353 | varbinds[i].oid = oid_dot11ExcludeUnencrypted; | ^ +wep.c:356:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 356 | varbinds[i].value = &exclude; + | ^ +wep.c:361:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 361 | varbinds[i].oid = oid_smtPublicKeyEnable; + | ^ +cmd.c: In function 'defaults': cmd.c:30:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 30 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, | ^~~~ +wep.c:364:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 364 | varbinds[i].value = &publickey; + | ^ cmd.c:36:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 36 | sysLoadDefaults[5] = 0xE0; | ^~~~ -wlan.c:457:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 457 | varbinds[i].value = &AuthenticationType; - | ^ -wlan.c:463:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 463 | varbinds[i].oid = operPreambleType; - | ^ +wep.c:379:30: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 379 | varbinds[i].oid = privacyDefaultWEPKeyID; + | ^ +wep.c:382:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 382 | varbinds[i].value = (char *) &wepid_hw; + | ^ cmd.c:53:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 53 | varbinds[0].oid = sysLoadDefaults; | ^ -wlan.c:465:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 465 | varbinds[i].value = &PreambleType; - | ^ cmd.c:55:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 55 | varbinds[0].value = &enable; | ^ -wlan.c:471:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 471 | varbinds[i].oid = operAutoRateFallBack; - | ^ -wlan.c:473:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 473 | varbinds[i].value = &AutoRateFallBack; - | ^ -wlan.c:480:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 480 | varbinds[i].oid = operAccessPointName; - | ^ +wep.c:396:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 396 | varbinds[i].oid = defaultWEPKey[c]; + | ^ +wep.c:399:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 399 | varbinds[i].value = wepkey[c]; + | ^ cmd.c: In function 'SysUpload': cmd.c:94:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 94 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x06, | ^~~~ -wlan.c:482:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 482 | varbinds[i].value = ap_name; - | ^ cmd.c:100:24: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 100 | sysUpload[5] = 0xE0; | ^~~~ @@ -1916,103 +1872,36 @@ cmd.c:106:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 106 | varbinds[0].value = &enable; | ^ -wlan.c:488:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 488 | varbinds[i].oid = operFragmentationThreshold; - | ^ -wlan.c:491:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 491 | varbinds[i].value = (char *) &FragmentationThreshold; - | ^ -wlan.c:497:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 497 | varbinds[i].oid = operRTSThreshold; - | ^ -wlan.c:500:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 500 | varbinds[i].value = (char *) &RTSThreshold; - | ^ -wlan.c:507:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 507 | varbinds[i].oid = operESSIDLength; - | ^ -wlan.c:509:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 509 | varbinds[i].value = (char *)&ch; - | ^ +oui.c:543:21: warning: overflow in conversion from 'int' to 'char' changes value from '252' to '-4' [-Woverflow] + 543 | 0x00, 0x01, 0xFC, "Keyence Corporation"}, { + | ^~~~ +oui.c:544:21: warning: overflow in conversion from 'int' to 'char' changes value from '253' to '-3' [-Woverflow] + 544 | 0x00, 0x01, 0xFD, "Digital Voice Systems, Inc."}, { + | ^~~~ +oui.c:545:21: warning: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Woverflow] + 545 | 0x00, 0x01, 0xFE, "DIGITAL EQUIPMENT CORPORATION"}, { + | ^~~~ oui.c:546:21: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] 546 | 0x00, 0x01, 0xFF, "Data Direct Networks, Inc."}, { | ^~~~ -wlan.c:513:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 513 | varbinds[i].oid = operESSID; - | ^ -wlan.c:515:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 515 | varbinds[i].value = domain; - | ^ -wlan.c:521:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 521 | varbinds[i].oid = operInterRoaming; - | ^ -wlan.c:523:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 523 | varbinds[i].value = (char *) &InterRoaming; - | ^ -wlan.c:529:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 529 | varbinds[i].oid = operBeaconPeriod; - | ^ -wlan.c:532:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 532 | varbinds[i].value = (char *) &BeaconPeriod; - | ^ -wlan.c:538:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 538 | varbinds[i].oid = operDTIM; - | ^ -wlan.c:540:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 540 | varbinds[i].value = (char *) &dtim; - | ^ -wlan.c:546:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 546 | varbinds[i].oid = operSIFSTIME; - | ^ -wlan.c:549:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 549 | varbinds[i].value = (char *) &sifs; - | ^ -wlan.c: In function 'nwn_wireless': +wlan.c:701:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 701 | varbinds[i].oid = oid_dot11SupportedAntenna[i]; + | ^ +wlan.c:704:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 704 | varbinds[6].oid = sysTrapSwitch; + | ^ +wlan.c:706:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 706 | varbinds[7].oid = operAccessPointContact; + | ^ +wlan.c:708:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 708 | varbinds[8].oid = operAccessPointLocation; + | ^ oui.c:678:21: warning: overflow in conversion from 'int' to 'char' changes value from '128' to '-128' [-Woverflow] 678 | 0x00, 0x02, 0x80, "Mu Net, Inc."}, { | ^~~~ -wlan.c:577:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 577 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x09, 0x01 }; - | ^~~~ oui.c:679:21: warning: overflow in conversion from 'int' to 'char' changes value from '129' to '-127' [-Woverflow] 679 | 0x00, 0x02, 0x81, "Madge Networks Limited"}, { | ^~~~ -wlan.c:577:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 577 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x09, 0x01 }; - | ^~~~ -wlan.c:579:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 579 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x0b, 0x01 }; - | ^~~~ -wlan.c:579:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 579 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x0b, 0x01 }; - | ^~~~ -wlan.c:581:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 581 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x02, 0x01, 0x03, 0x01, 0x01 }; - | ^~~~ -wlan.c:581:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 581 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x02, 0x01, 0x03, 0x01, 0x01 }; - | ^~~~ -wlan.c:583:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 583 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x02, 0x01, 0x03, 0x01, 0x02 }; - | ^~~~ -wlan.c:583:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 583 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x02, 0x01, 0x03, 0x01, 0x02 }; - | ^~~~ -wlan.c:585:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 585 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x02, 0x01 }; - | ^~~~ -wlan.c:585:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 585 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x02, 0x01 }; - | ^~~~ -wlan.c:587:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 587 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x05, 0x01 }; - | ^~~~ -wlan.c:587:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 587 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x05, 0x01 }; - | ^~~~ -wlan.c:589:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 589 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x05, 0x01, 0x01, 0x01 }; - | ^~~~ oui.c:680:21: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] 680 | 0x00, 0x02, 0x82, "ViaClix, Inc."}, { | ^~~~ @@ -2058,138 +1947,90 @@ oui.c:694:21: warning: overflow in conversion from 'int' to 'char' changes value from '144' to '-112' [-Woverflow] 694 | 0x00, 0x02, 0x90, "Woorigisool, Inc."}, { | ^~~~ -wlan.c:589:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 589 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x05, 0x01, 0x01, 0x01 }; - | ^~~~ -wlan.c:591:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 591 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x02, 0x01, 0x01 }, - | ^~~~ -wlan.c:591:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 591 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x02, 0x01, 0x01 }, - | ^~~~ -wlan.c:592:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 592 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x02, 0x01, 0x02 }, - | ^~~~ -wlan.c:592:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 592 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x02, 0x01, 0x02 }, - | ^~~~ -wlan.c:593:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 593 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x03, 0x01, 0x01 }, - | ^~~~ -wlan.c:593:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 593 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x03, 0x01, 0x01 }, - | ^~~~ -wlan.c:594:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 594 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x03, 0x01, 0x02 }, - | ^~~~ -wlan.c:594:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 594 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x03, 0x01, 0x02 }, - | ^~~~ -wlan.c:595:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 595 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x04, 0x01, 0x01 }, - | ^~~~ -wlan.c:595:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 595 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x04, 0x01, 0x01 }, - | ^~~~ -wlan.c:596:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 596 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x04, 0x01, 0x02 } - | ^~~~ -wlan.c:596:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 596 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x08, 0x01, 0x04, 0x01, 0x02 } - | ^~~~ oui.c:695:21: warning: overflow in conversion from 'int' to 'char' changes value from '145' to '-111' [-Woverflow] 695 | 0x00, 0x02, 0x91, "Open Network Co., Ltd."}, { | ^~~~ -wlan.c:607:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 607 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x02, 0x01, - | ^~~~ oui.c:696:21: warning: overflow in conversion from 'int' to 'char' changes value from '146' to '-110' [-Woverflow] 696 | 0x00, 0x02, 0x92, "Logic Innovations, Inc."}, { | ^~~~ +wlan.c:910:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 910 | varbinds[i].oid = ChannelPref; + | ^ oui.c:697:21: warning: overflow in conversion from 'int' to 'char' changes value from '147' to '-109' [-Woverflow] 697 | 0x00, 0x02, 0x93, "Solid Data Systems"}, { | ^~~~ oui.c:698:21: warning: overflow in conversion from 'int' to 'char' changes value from '148' to '-108' [-Woverflow] 698 | 0x00, 0x02, 0x94, "Tokyo Sokushin Co., Ltd."}, { | ^~~~ +wlan.c:912:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 912 | varbinds[i].value = channel_pref; + | ^ oui.c:699:21: warning: overflow in conversion from 'int' to 'char' changes value from '149' to '-107' [-Woverflow] 699 | 0x00, 0x02, 0x95, "IP.Access Limited"}, { | ^~~~ -wlan.c:637:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 637 | varbinds[0].oid = operChannelID; - | ^ +wlan.c:916:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 916 | varbinds[i].oid = operChannelID; + | ^ oui.c:700:21: warning: overflow in conversion from 'int' to 'char' changes value from '150' to '-106' [-Woverflow] 700 | 0x00, 0x02, 0x96, "Lectron Co,. Ltd."}, { | ^~~~ -wlan.c:639:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 639 | varbinds[1].oid = operESSID; - | ^ oui.c:701:21: warning: overflow in conversion from 'int' to 'char' changes value from '151' to '-105' [-Woverflow] 701 | 0x00, 0x02, 0x97, "C-COR.net"}, { | ^~~~ -wlan.c:641:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 641 | varbinds[2].oid = operRTSThreshold; - | ^ +wlan.c:918:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 918 | varbinds[i].value = (char *) &channel; + | ^ oui.c:702:21: warning: overflow in conversion from 'int' to 'char' changes value from '152' to '-104' [-Woverflow] 702 | 0x00, 0x02, 0x98, "Broadframe Corporation"}, { | ^~~~ oui.c:703:21: warning: overflow in conversion from 'int' to 'char' changes value from '153' to '-103' [-Woverflow] 703 | 0x00, 0x02, 0x99, "Apex, Inc."}, { | ^~~~ -wlan.c:643:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 643 | varbinds[3].oid = operFragmentationThreshold; - | ^ +wlan.c:924:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 924 | varbinds[i].oid = operBasicRates; + | ^ oui.c:704:21: warning: overflow in conversion from 'int' to 'char' changes value from '154' to '-102' [-Woverflow] 704 | 0x00, 0x02, 0x9A, "Storage Apps"}, { | ^~~~ -wlan.c:645:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 645 | varbinds[4].oid = operBasicRates; - | ^ +wlan.c:926:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 926 | varbinds[i].value = basic_rates; + | ^ oui.c:705:21: warning: overflow in conversion from 'int' to 'char' changes value from '155' to '-101' [-Woverflow] 705 | 0x00, 0x02, 0x9B, "Kreatel Communications AB"}, { | ^~~~ -wlan.c:647:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 647 | varbinds[5].oid = OpenSystem; - | ^ oui.c:706:21: warning: overflow in conversion from 'int' to 'char' changes value from '156' to '-100' [-Woverflow] 706 | 0x00, 0x02, 0x9C, "3COM"}, { | ^~~~ oui.c:707:21: warning: overflow in conversion from 'int' to 'char' changes value from '157' to '-99' [-Woverflow] 707 | 0x00, 0x02, 0x9D, "Merix Corp."}, { | ^~~~ -wlan.c:649:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 649 | varbinds[6].oid = SharedKey; - | ^ +wlan.c:943:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 943 | varbinds[i].oid = OpenSystem; + | ^ oui.c:708:21: warning: overflow in conversion from 'int' to 'char' changes value from '158' to '-98' [-Woverflow] 708 | 0x00, 0x02, 0x9E, "Information Equipment Co., Ltd."}, { | ^~~~ -wlan.c:651:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 651 | varbinds[7].oid = operAccessPointName; - | ^ oui.c:709:21: warning: overflow in conversion from 'int' to 'char' changes value from '159' to '-97' [-Woverflow] 709 | 0x00, 0x02, 0x9F, "L-3 Communication Aviation Recorders"}, { | ^~~~ -wlan.c:701:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 701 | varbinds[i].oid = oid_dot11SupportedAntenna[i]; - | ^ -wlan.c:704:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 704 | varbinds[6].oid = sysTrapSwitch; - | ^ -wlan.c:706:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 706 | varbinds[7].oid = operAccessPointContact; - | ^ -wlan.c:708:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 708 | varbinds[8].oid = operAccessPointLocation; - | ^ +wlan.c:945:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 945 | varbinds[i].value = (char *) &m_auth; + | ^ oui.c:710:21: warning: overflow in conversion from 'int' to 'char' changes value from '160' to '-96' [-Woverflow] 710 | 0x00, 0x02, 0xA0, "Flatstack Ltd."}, { | ^~~~ +wlan.c:949:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 949 | varbinds[i].oid = SharedKey; + | ^ oui.c:711:21: warning: overflow in conversion from 'int' to 'char' changes value from '161' to '-95' [-Woverflow] 711 | 0x00, 0x02, 0xA1, "World Wide Packets"}, { | ^~~~ oui.c:712:21: warning: overflow in conversion from 'int' to 'char' changes value from '162' to '-94' [-Woverflow] 712 | 0x00, 0x02, 0xA2, "Hilscher GmbH"}, { | ^~~~ +wlan.c:951:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 951 | varbinds[i].value = (char *) &m_basic_rates; + | ^ oui.c:713:21: warning: overflow in conversion from 'int' to 'char' changes value from '163' to '-93' [-Woverflow] 713 | 0x00, 0x02, 0xA3, "ABB Power Automation"}, { | ^~~~ @@ -2199,6 +2040,9 @@ oui.c:715:21: warning: overflow in conversion from 'int' to 'char' changes value from '165' to '-91' [-Woverflow] 715 | 0x00, 0x02, 0xA5, "Compaq Computer Corporation"}, { | ^~~~ +wlan.c:965:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 965 | varbinds[i].oid = operAccessPointName; + | ^ oui.c:716:21: warning: overflow in conversion from 'int' to 'char' changes value from '166' to '-90' [-Woverflow] 716 | 0x00, 0x02, 0xA6, "Effinet Systems Co., Ltd."}, { | ^~~~ @@ -2241,48 +2085,54 @@ oui.c:729:21: warning: overflow in conversion from 'int' to 'char' changes value from '179' to '-77' [-Woverflow] 729 | 0x00, 0x02, 0xB3, "Intel Corporation"}, { | ^~~~ -wlan.c:910:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 910 | varbinds[i].oid = ChannelPref; - | ^ oui.c:730:21: warning: overflow in conversion from 'int' to 'char' changes value from '180' to '-76' [-Woverflow] 730 | 0x00, 0x02, 0xB4, "DAPHNE"}, { | ^~~~ +wlan.c:967:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 967 | varbinds[i].value = ap_name; + | ^ +wlan.c:974:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 974 | varbinds[i].oid = operAccessPointLocation; + | ^ +wlan.c:976:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 976 | varbinds[i].value = ap_location; + | ^ +wlan.c:990:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 990 | varbinds[i].oid = operAccessPointContact; + | ^ +wlan.c:992:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 992 | varbinds[i].value = ap_contact; + | ^ +wlan.c:998:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 998 | varbinds[i].oid = operFragmentationThreshold; + | ^ +wlan.c:1001:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1001 | varbinds[i].value = (char *) &FragmentationThreshold; + | ^ +wlan.c:1007:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1007 | varbinds[i].oid = operRTSThreshold; + | ^ oui.c:731:21: warning: overflow in conversion from 'int' to 'char' changes value from '181' to '-75' [-Woverflow] 731 | 0x00, 0x02, 0xB5, "Avnet, Inc."}, { | ^~~~ -wlan.c:912:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 912 | varbinds[i].value = channel_pref; - | ^ oui.c:732:21: warning: overflow in conversion from 'int' to 'char' changes value from '182' to '-74' [-Woverflow] 732 | 0x00, 0x02, 0xB6, "Acrosser Technology Co., Ltd."}, { | ^~~~ -wlan.c:916:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 916 | varbinds[i].oid = operChannelID; - | ^ oui.c:733:21: warning: overflow in conversion from 'int' to 'char' changes value from '183' to '-73' [-Woverflow] 733 | 0x00, 0x02, 0xB7, "Watanabe Electric Industry Co., Ltd."}, { | ^~~~ oui.c:734:21: warning: overflow in conversion from 'int' to 'char' changes value from '184' to '-72' [-Woverflow] 734 | 0x00, 0x02, 0xB8, "WHI KONSULT AB"}, { | ^~~~ -wlan.c:918:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 918 | varbinds[i].value = (char *) &channel; - | ^ oui.c:735:21: warning: overflow in conversion from 'int' to 'char' changes value from '185' to '-71' [-Woverflow] 735 | 0x00, 0x02, 0xB9, "Cisco Systems, Inc."}, { | ^~~~ oui.c:736:21: warning: overflow in conversion from 'int' to 'char' changes value from '186' to '-70' [-Woverflow] 736 | 0x00, 0x02, 0xBA, "Cisco Systems, Inc."}, { | ^~~~ -wlan.c:924:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 924 | varbinds[i].oid = operBasicRates; - | ^ oui.c:737:21: warning: overflow in conversion from 'int' to 'char' changes value from '187' to '-69' [-Woverflow] 737 | 0x00, 0x02, 0xBB, "Continuous Computing"}, { | ^~~~ -wlan.c:926:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 926 | varbinds[i].value = basic_rates; - | ^ oui.c:738:21: warning: overflow in conversion from 'int' to 'char' changes value from '188' to '-68' [-Woverflow] 738 | 0x00, 0x02, 0xBC, "LVL 7 Systems, Inc."}, { | ^~~~ @@ -2292,311 +2142,351 @@ oui.c:740:21: warning: overflow in conversion from 'int' to 'char' changes value from '190' to '-66' [-Woverflow] 740 | 0x00, 0x02, 0xBE, "Totsu Engineering, Inc."}, { | ^~~~ -wlan.c:943:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 943 | varbinds[i].oid = OpenSystem; - | ^ oui.c:741:21: warning: overflow in conversion from 'int' to 'char' changes value from '191' to '-65' [-Woverflow] 741 | 0x00, 0x02, 0xBF, "dotRocket, Inc."}, { | ^~~~ -wlan.c:945:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 945 | varbinds[i].value = (char *) &m_auth; - | ^ oui.c:742:21: warning: overflow in conversion from 'int' to 'char' changes value from '192' to '-64' [-Woverflow] 742 | 0x00, 0x02, 0xC0, "Bencent Tzeng Industry Co., Ltd."}, { | ^~~~ oui.c:743:21: warning: overflow in conversion from 'int' to 'char' changes value from '193' to '-63' [-Woverflow] 743 | 0x00, 0x02, 0xC1, "Innovative Electronic Designs, Inc."}, { | ^~~~ -wlan.c:949:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 949 | varbinds[i].oid = SharedKey; - | ^ oui.c:744:21: warning: overflow in conversion from 'int' to 'char' changes value from '194' to '-62' [-Woverflow] 744 | 0x00, 0x02, 0xC2, "Net Vision Telecom"}, { | ^~~~ -wlan.c:951:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 951 | varbinds[i].value = (char *) &m_basic_rates; - | ^ +sysinfo.c: In function 'atmel_sysinfo': +sysinfo.c:41:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 41 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x01, 0x00 + | ^~~~ +sysinfo.c:44:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 44 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x05, 0x00 + | ^~~~ oui.c:745:21: warning: overflow in conversion from 'int' to 'char' changes value from '195' to '-61' [-Woverflow] 745 | 0x00, 0x02, 0xC3, "Arelnet Ltd."}, { | ^~~~ +sysinfo.c:47:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 47 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x01, 0x00 + | ^~~~ +sysinfo.c:51:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 51 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x09, 0x01, 0x00 + | ^~~~ oui.c:746:21: warning: overflow in conversion from 'int' to 'char' changes value from '196' to '-60' [-Woverflow] 746 | 0x00, 0x02, 0xC4, "Vector International BUBA"}, { | ^~~~ +sysinfo.c:86:23: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 86 | sysDescr[5] = 0xE0; + | ^~~~ oui.c:747:21: warning: overflow in conversion from 'int' to 'char' changes value from '197' to '-59' [-Woverflow] 747 | 0x00, 0x02, 0xC5, "Evertz Microsystems Ltd."}, { | ^~~~ -wlan.c:965:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 965 | varbinds[i].oid = operAccessPointName; - | ^ +sysinfo.c:88:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 88 | sysDeviceInfo[5] = 0xE0; + | ^~~~ +sysinfo.c:90:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 90 | bridgeOperationalMode[5] = 0xE0; + | ^~~~ oui.c:748:21: warning: overflow in conversion from 'int' to 'char' changes value from '198' to '-58' [-Woverflow] 748 | 0x00, 0x02, 0xC6, "Data Track Technology PLC"}, { | ^~~~ -wlan.c:967:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 967 | varbinds[i].value = ap_name; - | ^ +sysinfo.c:102:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 102 | varbinds[i].oid = sysDescr; + | ^ +sysinfo.c:104:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 104 | varbinds[i].value = sysDescr; + | ^ +sysinfo.c:109:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 109 | varbinds[i].oid = sysDeviceInfo; + | ^ +sysinfo.c:111:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 111 | varbinds[i].value = sysDeviceInfo; + | ^ oui.c:749:21: warning: overflow in conversion from 'int' to 'char' changes value from '199' to '-57' [-Woverflow] 749 | 0x00, 0x02, 0xC7, "ALPS ELECTRIC Co., Ltd."}, { | ^~~~ +sysinfo.c:116:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 116 | varbinds[i].oid = bridgeOperationalMode; + | ^ +sysinfo.c:118:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 118 | varbinds[i].value = bridgeOperationalMode; + | ^ +sysinfo.c:124:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 124 | varbinds[i].oid = UpTime; + | ^ oui.c:750:21: warning: overflow in conversion from 'int' to 'char' changes value from '200' to '-56' [-Woverflow] 750 | 0x00, 0x02, 0xC8, "Technocom Communications Technology (pte) Ltd"}, | ^~~~ -wlan.c:974:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 974 | varbinds[i].oid = operAccessPointLocation; - | ^ +sysinfo.c:126:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 126 | varbinds[i].value = UpTime; + | ^ oui.c:752:21: warning: overflow in conversion from 'int' to 'char' changes value from '201' to '-55' [-Woverflow] 752 | 0x00, 0x02, 0xC9, "Mellanox Technologies"}, { | ^~~~ -wlan.c:976:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 976 | varbinds[i].value = ap_location; - | ^ -wlan.c:990:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 990 | varbinds[i].oid = operAccessPointContact; - | ^ -wlan.c:992:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 992 | varbinds[i].value = ap_contact; - | ^ -wlan.c:998:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 998 | varbinds[i].oid = operFragmentationThreshold; - | ^ -wlan.c:1001:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1001 | varbinds[i].value = (char *) &FragmentationThreshold; - | ^ -wlan.c:1007:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1007 | varbinds[i].oid = operRTSThreshold; - | ^ -wlan.c:1010:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1010 | varbinds[i].value = (char *) &RTSThreshold; - | ^ -wlan.c:1016:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1016 | varbinds[i].oid = sysTrapSwitch; - | ^ oui.c:753:21: warning: overflow in conversion from 'int' to 'char' changes value from '202' to '-54' [-Woverflow] 753 | 0x00, 0x02, 0xCA, "EndPoints, Inc."}, { | ^~~~ -wlan.c:1018:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1018 | varbinds[i].value = &traps; - | ^ +sysinfo.c:152:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 152 | ap_macaddr = str128.MacAddress; + | ^ +sysinfo.c:155:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 155 | ap_oemname = str128.OEMName; + | ^ oui.c:754:21: warning: overflow in conversion from 'int' to 'char' changes value from '203' to '-53' [-Woverflow] 754 | 0x00, 0x02, 0xCB, "TriState Ltd."}, { | ^~~~ +sysinfo.c:157:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 157 | ap_prodname = str128.ProductName; + | ^ +sysinfo.c:164:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 164 | ap_macaddr = str160.MacAddress; + | ^ +sysinfo.c:166:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 166 | ap_oemname = str160.OEMName; + | ^ oui.c:755:21: warning: overflow in conversion from 'int' to 'char' changes value from '204' to '-52' [-Woverflow] 755 | 0x00, 0x02, 0xCC, "M.C.C.I"}, { | ^~~~ +sysinfo.c:168:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 168 | ap_prodname = str160.ProductName; + | ^ oui.c:756:21: warning: overflow in conversion from 'int' to 'char' changes value from '205' to '-51' [-Woverflow] 756 | 0x00, 0x02, 0xCD, "TeleDream, Inc."}, { | ^~~~ -wlan.c:1032:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1032 | varbinds[c].oid = oid_dot11SupportedAntenna[i]; - | ^ oui.c:757:21: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] 757 | 0x00, 0x02, 0xCE, "FoxJet, Inc."}, { | ^~~~ oui.c:758:21: warning: overflow in conversion from 'int' to 'char' changes value from '207' to '-49' [-Woverflow] 758 | 0x00, 0x02, 0xCF, "ZyGate Communications, Inc."}, { | ^~~~ -wlan.c:1035:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1035 | varbinds[c].value = &antenna[i]; - | ^ oui.c:759:21: warning: overflow in conversion from 'int' to 'char' changes value from '208' to '-48' [-Woverflow] 759 | 0x00, 0x02, 0xD0, "Comdial Corporation"}, { | ^~~~ -radio.c: In function 'power': oui.c:760:21: warning: overflow in conversion from 'int' to 'char' changes value from '209' to '-47' [-Woverflow] 760 | 0x00, 0x02, 0xD1, "Vivotek, Inc."}, { | ^~~~ -radio.c:38:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 38 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x08, 0x08, - | ^~~~ -radio.c:43:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 43 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x0C, - | ^~~~ -wlan.c:1049:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1049 | varbinds[c].oid = oid_dot11SupportedAntenna[i]; - | ^ oui.c:761:21: warning: overflow in conversion from 'int' to 'char' changes value from '210' to '-46' [-Woverflow] 761 | 0x00, 0x02, 0xD2, "Workstation AG"}, { | ^~~~ -radio.c:93:41: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 93 | TestModeRadioConfiguration[5] = 0xE0; - | ^~~~ oui.c:762:21: warning: overflow in conversion from 'int' to 'char' changes value from '211' to '-45' [-Woverflow] 762 | 0x00, 0x02, 0xD3, "NetBotz, Inc."}, { | ^~~~ -radio.c:95:34: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 95 | operAntennaSettings[5] = 0xE0; - | ^~~~ +wlan.c:1010:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1010 | varbinds[i].value = (char *) &RTSThreshold; + | ^ +wlan.c:1016:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1016 | varbinds[i].oid = sysTrapSwitch; + | ^ +wlan.c:1018:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1018 | varbinds[i].value = &traps; + | ^ +wlan.c:1032:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1032 | varbinds[c].oid = oid_dot11SupportedAntenna[i]; + | ^ +wlan.c:1035:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1035 | varbinds[c].value = &antenna[i]; + | ^ +wlan.c:1049:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1049 | varbinds[c].oid = oid_dot11SupportedAntenna[i]; + | ^ wlan.c:1052:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1052 | varbinds[c].value = &antenna[i]; | ^ -radio.c:99:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 99 | varbinds[0].oid = TestModeRadioConfiguration; - | ^ -radio.c:101:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 101 | varbinds[0].value = TestModeRadioConfiguration; - | ^ +wlan.c:1066:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1066 | varbinds[i].oid = operESSID; + | ^ +sysinfo.c: In function 'get_RegDomain': +sysinfo.c:257:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 257 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x02, 0x01 }; + | ^~~~ +sysinfo.c:257:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 257 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x02, 0x01 }; + | ^~~~ oui.c:763:21: warning: overflow in conversion from 'int' to 'char' changes value from '212' to '-44' [-Woverflow] 763 | 0x00, 0x02, 0xD4, "PDA Peripherals, Inc."}, { | ^~~~ -radio.c:104:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 104 | varbinds[1].oid = operAntennaSettings; +sysinfo.c:260:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 260 | varbinds[0].oid = oid_dot11CurrentRegDomain; | ^ -radio.c:105:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 105 | varbinds[1].value = TestModeRadioConfiguration; +sysinfo.c:262:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 262 | varbinds[0].value = oid_dot11CurrentRegDomain; | ^ oui.c:764:21: warning: overflow in conversion from 'int' to 'char' changes value from '213' to '-43' [-Woverflow] 764 | 0x00, 0x02, 0xD5, "ACR"}, { | ^~~~ +sysinfo.c: In function 'nwn_sysinfo': +sysinfo.c:274:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 274 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x01, 0x01 }; + | ^~~~ oui.c:765:21: warning: overflow in conversion from 'int' to 'char' changes value from '214' to '-42' [-Woverflow] 765 | 0x00, 0x02, 0xD6, "NICE Systems"}, { | ^~~~ -wlan.c:1066:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1066 | varbinds[i].oid = operESSID; - | ^ +sysinfo.c:274:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 274 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x01, 0x01 }; + | ^~~~ +sysinfo.c:276:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 276 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x08, 0x01 }; + | ^~~~ oui.c:766:21: warning: overflow in conversion from 'int' to 'char' changes value from '215' to '-41' [-Woverflow] 766 | 0x00, 0x02, 0xD7, "EMPEG Ltd"}, { | ^~~~ -aps.c: In function 'APs': -aps.c:69:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 69 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x01, 0x07, 0x00 - | ^~~~ -aps.c:73:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 73 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x01, 0x00 - | ^~~~ -aps.c:76:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 76 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x02, 0x00 - | ^~~~ -aps.c:80:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 80 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x01, 0x00 - | ^~~~ -aps.c:83:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 83 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x02, 0x00 - | ^~~~ -aps.c:86:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 86 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x03, 0x00 - | ^~~~ -aps.c:89:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 89 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x07, 0x01, 0x00 - | ^~~~ -aps.c:98:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 98 | operESSIDLength[5] = 0xE0; - | ^~~~ -aps.c:100:24: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 100 | operESSID[5] = 0xE0; - | ^~~~ -aps.c:102:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 102 | operChannelID[5] = 0xE0; - | ^~~~ -aps.c:104:22: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 104 | KnownAP[5] = 0xE0; - | ^~~~ -aps.c:106:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 106 | bridgeOperationalMode[5] = 0xE0; - | ^~~~ -aps.c:108:38: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 108 | bridgeRemoteBridgeBSSID[5] = 0xE0; - | ^~~~ -aps.c:115:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 115 | varbinds[0].oid = bridgeOperationalMode; - | ^ +sysinfo.c:276:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 276 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x08, 0x01 }; + | ^~~~ +sysinfo.c:278:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 278 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x09, 0x01 }; + | ^~~~ oui.c:767:21: warning: overflow in conversion from 'int' to 'char' changes value from '216' to '-40' [-Woverflow] 767 | 0x00, 0x02, 0xD8, "BRECIS Communications Corporation"}, { | ^~~~ -wlan.c:1068:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1068 | varbinds[i].value = domain; - | ^ +sysinfo.c:278:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 278 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x09, 0x01 }; + | ^~~~ +sysinfo.c:280:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 280 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x01, + | ^~~~ oui.c:768:21: warning: overflow in conversion from 'int' to 'char' changes value from '217' to '-39' [-Woverflow] 768 | 0x00, 0x02, 0xD9, "Reliable Controls"}, { | ^~~~ +sysinfo.c:280:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 280 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x01, + | ^~~~ +sysinfo.c:284:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 284 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x02, + | ^~~~ oui.c:769:21: warning: overflow in conversion from 'int' to 'char' changes value from '218' to '-38' [-Woverflow] 769 | 0x00, 0x02, 0xDA, "ExiO Communications, Inc."}, { | ^~~~ +sysinfo.c:284:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 284 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x02, + | ^~~~ +sysinfo.c:288:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 288 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x03, + | ^~~~ oui.c:770:21: warning: overflow in conversion from 'int' to 'char' changes value from '219' to '-37' [-Woverflow] 770 | 0x00, 0x02, 0xDB, "NETSEC"}, { | ^~~~ +sysinfo.c:288:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 288 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x03, + | ^~~~ oui.c:771:21: warning: overflow in conversion from 'int' to 'char' changes value from '220' to '-36' [-Woverflow] 771 | 0x00, 0x02, 0xDC, "Fujitsu General Limited"}, { | ^~~~ +sysinfo.c:292:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 292 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x04, + | ^~~~ +sysinfo.c:292:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 292 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x04, + | ^~~~ oui.c:772:21: warning: overflow in conversion from 'int' to 'char' changes value from '221' to '-35' [-Woverflow] 772 | 0x00, 0x02, 0xDD, "Bromax Communications, Ltd."}, { | ^~~~ -radio.c:177:24: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] - 177 | i = strtol(a, NULL, 16); - | ^ - | | - | unsigned char * -In file included from radio.c:22: -/usr/include/stdlib.h:177:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 177 | extern long int strtol (const char *__restrict __nptr, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +sysinfo.c:296:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 296 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x01, 0x01 }; + | ^~~~ +sysinfo.c:296:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 296 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x01, 0x01 }; + | ^~~~ oui.c:773:21: warning: overflow in conversion from 'int' to 'char' changes value from '222' to '-34' [-Woverflow] 773 | 0x00, 0x02, 0xDE, "Astrodesign, Inc."}, { | ^~~~ +sysinfo.c:298:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 298 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x03, 0x01 }; + | ^~~~ +sysinfo.c:298:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 298 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x03, 0x01 }; + | ^~~~ oui.c:774:21: warning: overflow in conversion from 'int' to 'char' changes value from '223' to '-33' [-Woverflow] 774 | 0x00, 0x02, 0xDF, "Net Com Systems, Inc."}, { | ^~~~ +sysinfo.c:300:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 300 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x03, 0x01, 0x02, 0x01 }; + | ^~~~ +sysinfo.c:300:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 300 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x03, 0x01, 0x02, 0x01 }; + | ^~~~ oui.c:775:21: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 775 | 0x00, 0x02, 0xE0, "ETAS GmbH"}, { | ^~~~ +sysinfo.c:302:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 302 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x07, 0x01 }; + | ^~~~ +sysinfo.c:302:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 302 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x07, 0x01 }; + | ^~~~ oui.c:776:21: warning: overflow in conversion from 'int' to 'char' changes value from '225' to '-31' [-Woverflow] 776 | 0x00, 0x02, 0xE1, "Integrated Network Corporation"}, { | ^~~~ +sysinfo.c:304:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 304 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x02, 0x01, 0x03, 0x01 }; + | ^~~~ oui.c:777:21: warning: overflow in conversion from 'int' to 'char' changes value from '226' to '-30' [-Woverflow] 777 | 0x00, 0x02, 0xE2, "NDC Infared Engineering"}, { | ^~~~ +sysinfo.c:304:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 304 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x02, 0x01, 0x03, 0x01 }; + | ^~~~ +wlan.c:1068:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1068 | varbinds[i].value = domain; + | ^ oui.c:778:21: warning: overflow in conversion from 'int' to 'char' changes value from '227' to '-29' [-Woverflow] 778 | 0x00, 0x02, 0xE3, "LITE-ON Communications, Inc."}, { | ^~~~ oui.c:779:21: warning: overflow in conversion from 'int' to 'char' changes value from '228' to '-28' [-Woverflow] 779 | 0x00, 0x02, 0xE4, "JC HYUN Systems, Inc."}, { | ^~~~ -aps.c:117:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 117 | varbinds[0].value = bridgeOperationalMode; - | ^ -radio.c:259:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 259 | varbinds[i].oid = TestModeRadioConfiguration; - | ^ -radio.c:283:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 283 | varbinds[i].oid = operAntennaSettings; - | ^ -radio.c:288:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 288 | varbinds[i].value = (char *) &antenna_hw; - | ^ -radio.c:290:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 290 | varbinds[i].value = &antenna.antennac; - | ^ -aps.c:161:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 161 | varbinds[0].oid = bridgeOperationalMode; - | ^ -aps.c:165:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 165 | varbinds[0].value = &c; - | ^ -aps.c:183:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 183 | varbinds[0].oid = KnownAP; - | ^ -aps.c:186:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 186 | varbinds[0].value = value; - | ^ +sysinfo.c:333:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 333 | varbinds[i].value = oid_mac; + | ^ oui.c:780:21: warning: overflow in conversion from 'int' to 'char' changes value from '229' to '-27' [-Woverflow] 780 | 0x00, 0x02, 0xE5, "Timeware Ltd."}, { | ^~~~ +sysinfo.c:337:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 337 | varbinds[0].oid = oid_mac; + | ^ oui.c:781:21: warning: overflow in conversion from 'int' to 'char' changes value from '230' to '-26' [-Woverflow] 781 | 0x00, 0x02, 0xE6, "Gould Instrument Systems, Inc."}, { | ^~~~ +sysinfo.c:339:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 339 | varbinds[1].oid = oid_manufacturerID; + | ^ +sysinfo.c:341:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 341 | varbinds[2].oid = oid_productID; + | ^ oui.c:782:21: warning: overflow in conversion from 'int' to 'char' changes value from '231' to '-25' [-Woverflow] 782 | 0x00, 0x02, 0xE7, "CAB GmbH & Co KG"}, { | ^~~~ +sysinfo.c:343:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 343 | varbinds[3].oid = oid_dot11manufacturerOUI; + | ^ oui.c:783:21: warning: overflow in conversion from 'int' to 'char' changes value from '232' to '-24' [-Woverflow] 783 | 0x00, 0x02, 0xE8, "E.D.&A."}, { | ^~~~ +sysinfo.c:345:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 345 | varbinds[4].oid = oid_dot11manufacturerName; + | ^ +sysinfo.c:347:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 347 | varbinds[5].oid = oid_dot11manufacturerProductName; + | ^ oui.c:784:21: warning: overflow in conversion from 'int' to 'char' changes value from '233' to '-23' [-Woverflow] 784 | 0x00, 0x02, 0xE9, "CS Systemes De Securite - C3S"}, { | ^~~~ +sysinfo.c:349:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 349 | varbinds[6].oid = oid_dot11manufacturerProductVersion; + | ^ +sysinfo.c:351:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 351 | varbinds[7].oid = oid_dot11PHYType; + | ^ oui.c:785:21: warning: overflow in conversion from 'int' to 'char' changes value from '234' to '-22' [-Woverflow] 785 | 0x00, 0x02, 0xEA, "Videonics, Inc."}, { | ^~~~ +sysinfo.c:353:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 353 | varbinds[8].oid = oid_dot11TempType; + | ^ oui.c:786:21: warning: overflow in conversion from 'int' to 'char' changes value from '235' to '-21' [-Woverflow] 786 | 0x00, 0x02, 0xEB, "Pico Communications"}, { | ^~~~ +sysinfo.c:355:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 355 | varbinds[9].oid = oid_TxPowerLevel1; + | ^ oui.c:787:21: warning: overflow in conversion from 'int' to 'char' changes value from '236' to '-20' [-Woverflow] 787 | 0x00, 0x02, 0xEC, "Maschoff Design Engineering"}, { | ^~~~ @@ -2606,17 +2496,15 @@ oui.c:789:21: warning: overflow in conversion from 'int' to 'char' changes value from '238' to '-18' [-Woverflow] 789 | 0x00, 0x02, 0xEE, "Nokia Danmark A/S"}, { | ^~~~ -In file included from ap-curses.h:25, - from ap-utils.h:41, - from aps.c:28: -aps.c:303:41: warning: pointer targets in passing argument 1 of 'oui2manufacturer' differ in signedness [-Wpointer-sign] - 303 | oui2manufacturer(app->mac), 48); - | ~~~^~~~~ +sysinfo.c:386:41: warning: pointer targets in passing argument 1 of 'oui2manufacturer' differ in signedness [-Wpointer-sign] + 386 | oui2manufacturer(varbinds[3].value)); + | ~~~~~~~~~~~^~~~~~ | | | unsigned char * oui.c:790:21: warning: overflow in conversion from 'int' to 'char' changes value from '239' to '-17' [-Woverflow] 790 | 0x00, 0x02, 0xEF, "CCC Network Systems Group Ltd."}, { | ^~~~ +In file included from sysinfo.c:27: ap-utils.h:385:32: note: expected 'char *' but argument is of type 'unsigned char *' 385 | extern char * oui2manufacturer(char *); | ^~~~~~ @@ -2626,36 +2514,6 @@ oui.c:792:21: warning: overflow in conversion from 'int' to 'char' changes value from '241' to '-15' [-Woverflow] 792 | 0x00, 0x02, 0xF1, "Pinetron Co., Ltd."}, { | ^~~~ -aps.c:371:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 371 | else /* ATMEL12350 */ - | ^~~~ -aps.c:374:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 374 | while (1) - | ^~~~~ -aps.c:417:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 417 | varbinds[3].oid = operChannelID; - | ^ -aps.c:419:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 419 | varbinds[3].value = &ap[j-1].channel; - | ^ -aps.c:422:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 422 | varbinds[2].oid = bridgeRemoteBridgeBSSID; - | ^ -aps.c:424:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 424 | varbinds[2].value = ap[j-1].mac; - | ^ -aps.c:427:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 427 | varbinds[1].oid = operESSIDLength; - | ^ -aps.c:429:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 429 | varbinds[1].value = (char *) &ap[j-1].essid_len; - | ^ -aps.c:432:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 432 | varbinds[0].oid = operESSID; - | ^ -aps.c:434:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 434 | varbinds[0].value = ap[j-1].essid; - | ^ oui.c:793:21: warning: overflow in conversion from 'int' to 'char' changes value from '242' to '-14' [-Woverflow] 793 | 0x00, 0x02, 0xF2, "eDevice, Inc."}, { | ^~~~ @@ -2668,27 +2526,45 @@ oui.c:796:21: warning: overflow in conversion from 'int' to 'char' changes value from '245' to '-11' [-Woverflow] 796 | 0x00, 0x02, 0xF5, "VIVE Synergies, Inc."}, { | ^~~~ +sysinfo.c:430:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 430 | varbinds[0].oid = oid_dot11PrivacyOptionImplemented; + | ^ oui.c:797:21: warning: overflow in conversion from 'int' to 'char' changes value from '246' to '-10' [-Woverflow] 797 | 0x00, 0x02, 0xF6, "Equipe Communications"}, { | ^~~~ -aps.c:480:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 480 | varbinds[0].oid = SiteSurveyCommand; - | ^ +sysinfo.c:432:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 432 | varbinds[0].value = oid_mac; + | ^ +sysinfo.c:435:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 435 | varbinds[1].oid = oid_dot11DiversitySupport; + | ^ oui.c:798:21: warning: overflow in conversion from 'int' to 'char' changes value from '247' to '-9' [-Woverflow] 798 | 0x00, 0x02, 0xF7, "ARM"}, { | ^~~~ -aps.c:483:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 483 | varbinds[0].value = &c; - | ^ +sysinfo.c:437:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 437 | varbinds[1].value = oid_mac; + | ^ oui.c:799:21: warning: overflow in conversion from 'int' to 'char' changes value from '248' to '-8' [-Woverflow] 799 | 0x00, 0x02, 0xF8, "SEAKR Engineering, Inc."}, { | ^~~~ +sysinfo.c:440:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 440 | varbinds[2].oid = oid_sysDescr; + | ^ oui.c:800:21: warning: overflow in conversion from 'int' to 'char' changes value from '249' to '-7' [-Woverflow] 800 | 0x00, 0x02, 0xF9, "Mimos Semiconductor SDN BHD"}, { | ^~~~ +sysinfo.c:442:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 442 | varbinds[2].value = oid_mac; + | ^ +sysinfo.c:445:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 445 | varbinds[3].oid = oid_sysUptime; + | ^ oui.c:801:21: warning: overflow in conversion from 'int' to 'char' changes value from '250' to '-6' [-Woverflow] 801 | 0x00, 0x02, 0xFA, "DX Antenna Co., Ltd."}, { | ^~~~ +sysinfo.c:447:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 447 | varbinds[3].value = oid_mac; + | ^ oui.c:802:21: warning: overflow in conversion from 'int' to 'char' changes value from '251' to '-5' [-Woverflow] 802 | 0x00, 0x02, 0xFB, "Baumuller Aulugen-Systemtechnik GmbH"}, { | ^~~~ @@ -2698,24 +2574,94 @@ oui.c:804:21: warning: overflow in conversion from 'int' to 'char' changes value from '253' to '-3' [-Woverflow] 804 | 0x00, 0x02, 0xFD, "Cisco Systems, Inc."}, { | ^~~~ -aps.c:574:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 574 | varbinds[0].oid = bridgeOperationalMode; - | ^ -aps.c:576:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 576 | varbinds[0].value = (char *) &bridge_mode; - | ^ oui.c:805:21: warning: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Woverflow] 805 | 0x00, 0x02, 0xFE, "Viditec, Inc."}, { | ^~~~ +sysinfo.c:488:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 488 | sprintf(message, _("Uptime: %u:%02u:%02u.%02u"), time_stamp, min, sec, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +ap-utils.h:52:28: note: in definition of macro '_' + 52 | #define _(String) gettext (String) + | ^~~~~~ oui.c:806:21: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] 806 | 0x00, 0x02, 0xFF, "Handan Broad InfoCom"}, { | ^~~~ +aps.c: In function 'APs': +aps.c:69:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 69 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x01, 0x07, 0x00 + | ^~~~ +aps.c:73:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 73 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x01, 0x00 + | ^~~~ +sysinfo.c:488:38: note: format string is defined here + 488 | sprintf(message, _("Uptime: %u:%02u:%02u.%02u"), time_stamp, min, sec, + | ~^ + | | + | unsigned int + | %lu +aps.c:76:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 76 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x02, 0x00 + | ^~~~ +aps.c:80:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 80 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x01, 0x00 + | ^~~~ +aps.c:83:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 83 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x02, 0x00 + | ^~~~ +aps.c:86:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 86 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x03, 0x00 + | ^~~~ +sysinfo.c:492:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 492 | varbinds[0].oid = oid_ip; + | ^ +aps.c:89:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 89 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x07, 0x01, 0x00 + | ^~~~ +aps.c:98:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 98 | operESSIDLength[5] = 0xE0; + | ^~~~ +sysinfo.c:494:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 494 | varbinds[0].value = oid_mac; + | ^ +aps.c:100:24: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 100 | operESSID[5] = 0xE0; + | ^~~~ +aps.c:102:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 102 | operChannelID[5] = 0xE0; + | ^~~~ +aps.c:104:22: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 104 | KnownAP[5] = 0xE0; + | ^~~~ +aps.c:106:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 106 | bridgeOperationalMode[5] = 0xE0; + | ^~~~ +aps.c:108:38: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 108 | bridgeRemoteBridgeBSSID[5] = 0xE0; + | ^~~~ +aps.c:115:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 115 | varbinds[0].oid = bridgeOperationalMode; + | ^ +aps.c:117:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 117 | varbinds[0].value = bridgeOperationalMode; + | ^ +aps.c:161:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 161 | varbinds[0].oid = bridgeOperationalMode; + | ^ oui.c:934:21: warning: overflow in conversion from 'int' to 'char' changes value from '128' to '-128' [-Woverflow] 934 | 0x00, 0x03, 0x80, "SSH Communications Security Corp."}, { | ^~~~ +aps.c:165:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 165 | varbinds[0].value = &c; + | ^ oui.c:935:21: warning: overflow in conversion from 'int' to 'char' changes value from '129' to '-127' [-Woverflow] 935 | 0x00, 0x03, 0x81, "Ingenico International"}, { | ^~~~ +aps.c:183:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 183 | varbinds[0].oid = KnownAP; + | ^ +aps.c:186:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 186 | varbinds[0].value = value; + | ^ oui.c:936:21: warning: overflow in conversion from 'int' to 'char' changes value from '130' to '-126' [-Woverflow] 936 | 0x00, 0x03, 0x82, "A-One Co., Ltd."}, { | ^~~~ @@ -2734,7 +2680,6 @@ oui.c:941:21: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] 941 | 0x00, 0x03, 0x87, "Blaze Network Products"}, { | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o set_oeminfo.o set_oeminfo.c oui.c:942:21: warning: overflow in conversion from 'int' to 'char' changes value from '136' to '-120' [-Woverflow] 942 | 0x00, 0x03, 0x88, "Fastfame Technology Co., Ltd."}, { | ^~~~ @@ -2750,6 +2695,17 @@ oui.c:946:21: warning: overflow in conversion from 'int' to 'char' changes value from '140' to '-116' [-Woverflow] 946 | 0x00, 0x03, 0x8C, "Total Impact"}, { | ^~~~ +In file included from ap-curses.h:25, + from ap-utils.h:41, + from aps.c:28: +aps.c:303:41: warning: pointer targets in passing argument 1 of 'oui2manufacturer' differ in signedness [-Wpointer-sign] + 303 | oui2manufacturer(app->mac), 48); + | ~~~^~~~~ + | | + | unsigned char * +ap-utils.h:385:32: note: expected 'char *' but argument is of type 'unsigned char *' + 385 | extern char * oui2manufacturer(char *); + | ^~~~~~ oui.c:947:21: warning: overflow in conversion from 'int' to 'char' changes value from '141' to '-115' [-Woverflow] 947 | 0x00, 0x03, 0x8D, "PCS Revenue Control Systems, Inc."}, { | ^~~~ @@ -2768,59 +2724,6 @@ oui.c:952:21: warning: overflow in conversion from 'int' to 'char' changes value from '147' to '-109' [-Woverflow] 952 | 0x00, 0x03, 0x93, "Apple Computer, Inc."}, { | ^~~~ -set_community.c: In function 'AuthorizedSettings': -set_community.c:41:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 41 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x09, 0x01, - | ^~~~ -set_community.c:43:40: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 43 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x02, 0x01, 0x02, 0x01, - | ^~~~ -set_community.c:45:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 45 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x09, 0x01, - | ^~~~ -set_community.c:49:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 49 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x09, 0x02, - | ^~~~ -set_community.c:51:40: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 51 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x02, 0x01, 0x02, 0x02, - | ^~~~ -set_community.c:53:40: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 53 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x09, 0x02, - | ^~~~ -set_community.c:57:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 57 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x09, 0x03, - | ^~~~ -set_community.c:66:37: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 66 | AuthorizedManufactPass[5] = 0xE0; - | ^~~~ -sysinfo.c: In function 'atmel_sysinfo': -sysinfo.c:41:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 41 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x01, 0x00 - | ^~~~ -sysinfo.c:44:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 44 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x05, 0x00 - | ^~~~ -sysinfo.c:47:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 47 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x01, 0x00 - | ^~~~ -sysinfo.c:51:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 51 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x09, 0x01, 0x00 - | ^~~~ -sysinfo.c:86:23: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 86 | sysDescr[5] = 0xE0; - | ^~~~ -sysinfo.c:88:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 88 | sysDeviceInfo[5] = 0xE0; - | ^~~~ -sysinfo.c:90:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 90 | bridgeOperationalMode[5] = 0xE0; - | ^~~~ -set_community.c:115:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 115 | varbinds[i].oid = AuthorizedUserPass[ap_type]; - | ^ -set_community.c:117:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 117 | varbinds[i].value = user; - | ^ oui.c:953:21: warning: overflow in conversion from 'int' to 'char' changes value from '148' to '-108' [-Woverflow] 953 | 0x00, 0x03, 0x94, "Connect One"}, { | ^~~~ @@ -2848,98 +2751,45 @@ oui.c:962:21: warning: overflow in conversion from 'int' to 'char' changes value from '156' to '-100' [-Woverflow] 962 | 0x00, 0x03, 0x9C, "OptiMight Communications, Inc."}, { | ^~~~ +aps.c:371:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 371 | else /* ATMEL12350 */ + | ^~~~ +aps.c:374:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 374 | while (1) + | ^~~~~ +aps.c:417:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 417 | varbinds[3].oid = operChannelID; + | ^ +aps.c:419:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 419 | varbinds[3].value = &ap[j-1].channel; + | ^ +aps.c:422:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 422 | varbinds[2].oid = bridgeRemoteBridgeBSSID; + | ^ +aps.c:424:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 424 | varbinds[2].value = ap[j-1].mac; + | ^ +aps.c:427:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 427 | varbinds[1].oid = operESSIDLength; + | ^ +aps.c:429:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 429 | varbinds[1].value = (char *) &ap[j-1].essid_len; + | ^ +aps.c:432:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 432 | varbinds[0].oid = operESSID; + | ^ +aps.c:434:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 434 | varbinds[0].value = ap[j-1].essid; + | ^ oui.c:963:21: warning: overflow in conversion from 'int' to 'char' changes value from '157' to '-99' [-Woverflow] 963 | 0x00, 0x03, 0x9D, "BENQ CORPORATION"}, { | ^~~~ -sysinfo.c:102:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 102 | varbinds[i].oid = sysDescr; - | ^ -sysinfo.c:104:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 104 | varbinds[i].value = sysDescr; - | ^ -sysinfo.c:109:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 109 | varbinds[i].oid = sysDeviceInfo; - | ^ -sysinfo.c:111:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 111 | varbinds[i].value = sysDeviceInfo; - | ^ -sysinfo.c:116:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 116 | varbinds[i].oid = bridgeOperationalMode; - | ^ -sysinfo.c:118:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 118 | varbinds[i].value = bridgeOperationalMode; - | ^ -sysinfo.c:124:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 124 | varbinds[i].oid = UpTime; - | ^ -sysinfo.c:126:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 126 | varbinds[i].value = UpTime; - | ^ -sysinfo.c:152:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 152 | ap_macaddr = str128.MacAddress; - | ^ -sysinfo.c:155:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 155 | ap_oemname = str128.OEMName; - | ^ -sysinfo.c:157:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 157 | ap_prodname = str128.ProductName; - | ^ -sysinfo.c:164:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 164 | ap_macaddr = str160.MacAddress; - | ^ -sysinfo.c:166:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 166 | ap_oemname = str160.OEMName; - | ^ -sysinfo.c:168:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 168 | ap_prodname = str160.ProductName; - | ^ -set_community.c:123:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 123 | varbinds[i].oid = AuthorizedAdminPass[ap_type]; - | ^ -set_community.c:125:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 125 | varbinds[i].value = admin; - | ^ -set_community.c:131:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 131 | varbinds[i].oid = AuthorizedManufactPass; - | ^ -set_community.c:133:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 133 | varbinds[i].value = manufact; - | ^ -sysinfo.c: In function 'get_RegDomain': -sysinfo.c:257:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 257 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x02, 0x01 }; - | ^~~~ -sysinfo.c:257:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 257 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x02, 0x01 }; - | ^~~~ -sysinfo.c:260:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 260 | varbinds[0].oid = oid_dot11CurrentRegDomain; - | ^ -sysinfo.c:262:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 262 | varbinds[0].value = oid_dot11CurrentRegDomain; - | ^ -sysinfo.c: In function 'nwn_sysinfo': -sysinfo.c:274:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 274 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x01, 0x01 }; - | ^~~~ -sysinfo.c:274:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 274 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x01, 0x01 }; - | ^~~~ -sysinfo.c:276:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 276 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x08, 0x01 }; - | ^~~~ -sysinfo.c:276:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 276 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x08, 0x01 }; - | ^~~~ -sysinfo.c:278:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 278 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x09, 0x01 }; - | ^~~~ -sysinfo.c:278:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 278 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x01, 0x01, 0x09, 0x01 }; - | ^~~~ -sysinfo.c:280:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 280 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x01, - | ^~~~ +aps.c:480:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 480 | varbinds[0].oid = SiteSurveyCommand; + | ^ +aps.c:483:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 483 | varbinds[0].value = &c; + | ^ oui.c:964:21: warning: overflow in conversion from 'int' to 'char' changes value from '158' to '-98' [-Woverflow] 964 | 0x00, 0x03, 0x9E, "Tera System Co., Ltd."}, { | ^~~~ @@ -2958,9 +2808,15 @@ oui.c:969:21: warning: overflow in conversion from 'int' to 'char' changes value from '163' to '-93' [-Woverflow] 969 | 0x00, 0x03, 0xA3, "MAVIX, Ltd."}, { | ^~~~ +aps.c:574:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 574 | varbinds[0].oid = bridgeOperationalMode; + | ^ oui.c:970:21: warning: overflow in conversion from 'int' to 'char' changes value from '164' to '-92' [-Woverflow] 970 | 0x00, 0x03, 0xA4, "Data Storage and Information Management"}, { | ^~~~ +aps.c:576:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 576 | varbinds[0].value = (char *) &bridge_mode; + | ^ oui.c:971:21: warning: overflow in conversion from 'int' to 'char' changes value from '165' to '-91' [-Woverflow] 971 | 0x00, 0x03, 0xA5, "Medea Corporation"}, { | ^~~~ @@ -2970,111 +2826,28 @@ oui.c:973:21: warning: overflow in conversion from 'int' to 'char' changes value from '168' to '-88' [-Woverflow] 973 | 0x00, 0x03, 0xA8, "IDOT Computers, Inc."}, { | ^~~~ -sysinfo.c:280:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 280 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x01, - | ^~~~ -sysinfo.c:284:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 284 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x02, - | ^~~~ -sysinfo.c:284:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 284 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x02, - | ^~~~ -sysinfo.c:288:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 288 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x03, - | ^~~~ -sysinfo.c:288:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 288 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x03, - | ^~~~ -sysinfo.c:292:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 292 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x04, - | ^~~~ -sysinfo.c:292:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 292 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x03, 0x01, 0x02, 0x01, 0x04, - | ^~~~ -sysinfo.c:296:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 296 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x01, 0x01 }; - | ^~~~ -sysinfo.c:296:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 296 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x01, 0x01 }; - | ^~~~ -sysinfo.c:298:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 298 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x03, 0x01 }; - | ^~~~ -sysinfo.c:298:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 298 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x01, 0x01, 0x03, 0x01 }; - | ^~~~ -sysinfo.c:300:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 300 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x03, 0x01, 0x02, 0x01 }; - | ^~~~ -sysinfo.c:300:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 300 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x03, 0x01, 0x02, 0x01 }; - | ^~~~ -sysinfo.c:302:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 302 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x07, 0x01 }; - | ^~~~ -sysinfo.c:302:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 302 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x07, 0x01 }; - | ^~~~ -sysinfo.c:304:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 304 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x02, 0x01, 0x03, 0x01 }; - | ^~~~ -sysinfo.c:304:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 304 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x04, 0x02, 0x01, 0x03, 0x01 }; - | ^~~~ oui.c:974:21: warning: overflow in conversion from 'int' to 'char' changes value from '169' to '-87' [-Woverflow] 974 | 0x00, 0x03, 0xA9, "AXCENT Media AG"}, { | ^~~~ oui.c:975:21: warning: overflow in conversion from 'int' to 'char' changes value from '170' to '-86' [-Woverflow] 975 | 0x00, 0x03, 0xAA, "Watlow"}, { | ^~~~ -sysinfo.c:333:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 333 | varbinds[i].value = oid_mac; - | ^ oui.c:976:21: warning: overflow in conversion from 'int' to 'char' changes value from '171' to '-85' [-Woverflow] 976 | 0x00, 0x03, 0xAB, "Bridge Information Systems"}, { | ^~~~ -sysinfo.c:337:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 337 | varbinds[0].oid = oid_mac; - | ^ -sysinfo.c:339:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 339 | varbinds[1].oid = oid_manufacturerID; - | ^ oui.c:977:21: warning: overflow in conversion from 'int' to 'char' changes value from '172' to '-84' [-Woverflow] 977 | 0x00, 0x03, 0xAC, "Fronius Schweissmaschinen"}, { | ^~~~ -sysinfo.c:341:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 341 | varbinds[2].oid = oid_productID; - | ^ -sysinfo.c:343:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 343 | varbinds[3].oid = oid_dot11manufacturerOUI; - | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o common.o common.c oui.c:978:21: warning: overflow in conversion from 'int' to 'char' changes value from '173' to '-83' [-Woverflow] 978 | 0x00, 0x03, 0xAD, "Emerson Energy Systems AB"}, { | ^~~~ -sysinfo.c:345:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 345 | varbinds[4].oid = oid_dot11manufacturerName; - | ^ -sysinfo.c:347:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 347 | varbinds[5].oid = oid_dot11manufacturerProductName; - | ^ oui.c:979:21: warning: overflow in conversion from 'int' to 'char' changes value from '174' to '-82' [-Woverflow] 979 | 0x00, 0x03, 0xAE, "Allied Advanced Manufacturing Pte, Ltd."}, { | ^~~~ -sysinfo.c:349:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 349 | varbinds[6].oid = oid_dot11manufacturerProductVersion; - | ^ -sysinfo.c:351:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 351 | varbinds[7].oid = oid_dot11PHYType; - | ^ oui.c:980:21: warning: overflow in conversion from 'int' to 'char' changes value from '175' to '-81' [-Woverflow] 980 | 0x00, 0x03, 0xAF, "Paragea Communications"}, { | ^~~~ -sysinfo.c:353:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 353 | varbinds[8].oid = oid_dot11TempType; - | ^ -sysinfo.c:355:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 355 | varbinds[9].oid = oid_TxPowerLevel1; - | ^ oui.c:981:21: warning: overflow in conversion from 'int' to 'char' changes value from '176' to '-80' [-Woverflow] 981 | 0x00, 0x03, 0xB0, "Xsense Technology Corp."}, { | ^~~~ @@ -3087,45 +2860,21 @@ oui.c:984:21: warning: overflow in conversion from 'int' to 'char' changes value from '179' to '-77' [-Woverflow] 984 | 0x00, 0x03, 0xB3, "IA Link Systems Co., Ltd."}, { | ^~~~ -sysinfo.c:386:41: warning: pointer targets in passing argument 1 of 'oui2manufacturer' differ in signedness [-Wpointer-sign] - 386 | oui2manufacturer(varbinds[3].value)); - | ~~~~~~~~~~~^~~~~~ - | | - | unsigned char * -In file included from sysinfo.c:27: -ap-utils.h:385:32: note: expected 'char *' but argument is of type 'unsigned char *' - 385 | extern char * oui2manufacturer(char *); - | ^~~~~~ oui.c:985:21: warning: overflow in conversion from 'int' to 'char' changes value from '180' to '-76' [-Woverflow] 985 | 0x00, 0x03, 0xB4, "Macrotek International Corp."}, { | ^~~~ oui.c:986:21: warning: overflow in conversion from 'int' to 'char' changes value from '181' to '-75' [-Woverflow] 986 | 0x00, 0x03, 0xB5, "Entra Technology Co."}, { | ^~~~ -sysinfo.c:430:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 430 | varbinds[0].oid = oid_dot11PrivacyOptionImplemented; - | ^ oui.c:987:21: warning: overflow in conversion from 'int' to 'char' changes value from '182' to '-74' [-Woverflow] 987 | 0x00, 0x03, 0xB6, "QSI Corporation"}, { | ^~~~ -sysinfo.c:432:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 432 | varbinds[0].value = oid_mac; - | ^ oui.c:988:21: warning: overflow in conversion from 'int' to 'char' changes value from '183' to '-73' [-Woverflow] 988 | 0x00, 0x03, 0xB7, "ZACCESS Systems"}, { | ^~~~ -sysinfo.c:435:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 435 | varbinds[1].oid = oid_dot11DiversitySupport; - | ^ -sysinfo.c:437:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 437 | varbinds[1].value = oid_mac; - | ^ oui.c:989:21: warning: overflow in conversion from 'int' to 'char' changes value from '184' to '-72' [-Woverflow] 989 | 0x00, 0x03, 0xB8, "NetKit Solutions, LLC"}, { | ^~~~ -sysinfo.c:440:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 440 | varbinds[2].oid = oid_sysDescr; - | ^ oui.c:990:21: warning: overflow in conversion from 'int' to 'char' changes value from '185' to '-71' [-Woverflow] 990 | 0x00, 0x03, 0xB9, "Hualong Telecom Co., Ltd."}, { | ^~~~ @@ -3153,21 +2902,55 @@ oui.c:998:21: warning: overflow in conversion from 'int' to 'char' changes value from '193' to '-63' [-Woverflow] 998 | 0x00, 0x03, 0xC1, "Packet Dynamics Ltd"}, { | ^~~~ +set_community.c: In function 'AuthorizedSettings': +set_community.c:41:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 41 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x09, 0x01, + | ^~~~ +set_community.c:43:40: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 43 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x02, 0x01, 0x02, 0x01, + | ^~~~ +set_community.c:45:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 45 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x09, 0x01, + | ^~~~ +set_community.c:49:40: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 49 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x09, 0x02, + | ^~~~ +set_community.c:51:40: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 51 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x02, 0x01, 0x02, 0x02, + | ^~~~ +set_community.c:53:40: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 53 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x09, 0x02, + | ^~~~ +set_community.c:57:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 57 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x09, 0x03, + | ^~~~ +set_community.c:66:37: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 66 | AuthorizedManufactPass[5] = 0xE0; + | ^~~~ +set_community.c:115:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 115 | varbinds[i].oid = AuthorizedUserPass[ap_type]; + | ^ +set_community.c:117:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 117 | varbinds[i].value = user; + | ^ +set_community.c:123:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 123 | varbinds[i].oid = AuthorizedAdminPass[ap_type]; + | ^ +set_community.c:125:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 125 | varbinds[i].value = admin; + | ^ +set_community.c:131:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 131 | varbinds[i].oid = AuthorizedManufactPass; + | ^ +set_community.c:133:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 133 | varbinds[i].value = manufact; + | ^ oui.c:999:21: warning: overflow in conversion from 'int' to 'char' changes value from '194' to '-62' [-Woverflow] 999 | 0x00, 0x03, 0xC2, "Solphone K.K."}, { | ^~~~ oui.c:1000:21: warning: overflow in conversion from 'int' to 'char' changes value from '195' to '-61' [-Woverflow] 1000 | 0x00, 0x03, 0xC3, "Micronik Multimedia"}, { | ^~~~ -sysinfo.c:442:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 442 | varbinds[2].value = oid_mac; - | ^ -sysinfo.c:445:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 445 | varbinds[3].oid = oid_sysUptime; - | ^ -sysinfo.c:447:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 447 | varbinds[3].value = oid_mac; - | ^ oui.c:1001:21: warning: overflow in conversion from 'int' to 'char' changes value from '196' to '-60' [-Woverflow] 1001 | 0x00, 0x03, 0xC4, "Tomra Systems ASA"}, { | ^~~~ @@ -3177,30 +2960,12 @@ oui.c:1003:21: warning: overflow in conversion from 'int' to 'char' changes value from '198' to '-58' [-Woverflow] 1003 | 0x00, 0x03, 0xC6, "ICUE Systems, Inc."}, { | ^~~~ -sysinfo.c:488:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 488 | sprintf(message, _("Uptime: %u:%02u:%02u.%02u"), time_stamp, min, sec, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -ap-utils.h:52:28: note: in definition of macro '_' - 52 | #define _(String) gettext (String) - | ^~~~~~ -sysinfo.c:488:38: note: format string is defined here - 488 | sprintf(message, _("Uptime: %u:%02u:%02u.%02u"), time_stamp, min, sec, - | ~^ - | | - | unsigned int - | %lu oui.c:1004:21: warning: overflow in conversion from 'int' to 'char' changes value from '199' to '-57' [-Woverflow] 1004 | 0x00, 0x03, 0xC7, "hopf Elektronik GmbH"}, { | ^~~~ -sysinfo.c:492:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 492 | varbinds[0].oid = oid_ip; - | ^ oui.c:1005:21: warning: overflow in conversion from 'int' to 'char' changes value from '200' to '-56' [-Woverflow] 1005 | 0x00, 0x03, 0xC8, "CML Emergency Services"}, { | ^~~~ -sysinfo.c:494:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 494 | varbinds[0].value = oid_mac; - | ^ oui.c:1006:21: warning: overflow in conversion from 'int' to 'char' changes value from '201' to '-55' [-Woverflow] 1006 | 0x00, 0x03, 0xC9, "TECOM Co., Ltd."}, { | ^~~~ @@ -3213,6 +2978,87 @@ oui.c:1009:21: warning: overflow in conversion from 'int' to 'char' changes value from '204' to '-52' [-Woverflow] 1009 | 0x00, 0x03, 0xCC, "Momentum Computer, Inc."}, { | ^~~~ +ap_search.c: In function 'scan_local_segment': +ap_search.c:88:38: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 88 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x01, 0x00}, + | ^~~~ +ap_search.c:90:38: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 90 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x01, 0x01, 0x00} + | ^~~~ +ap_search.c:139:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 139 | sprintf(message, _(" Index: %i"), f_ifctr); + | ^~~~~~~ + | | + | unsigned char * +In file included from /usr/include/features.h:489, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/string.h:26, + from ap_search.c:21: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +ap_search.c:140:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] + 140 | mvwaddstr(main_sub, LAST_ROW - 4, 1, message); + | ^~~~~~~~~ + | | + | unsigned char * +In file included from ap-curses.h:25, + from ap-utils.h:41, + from ap_search.c:41: +/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' + 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ + | ^~~~~~~~~~~~ +ap_search.c:141:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 141 | sprintf(message, _(" Name: %s"), ifname); + | ^~~~~~~ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +ap_search.c:142:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] + 142 | mvwaddstr(main_sub, LAST_ROW - 3, 1, message); + | ^~~~~~~~~ + | | + | unsigned char * +/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' + 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ + | ^~~~~~~~~~~~ +ap_search.c:143:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 143 | sprintf(message, _(" IP: %s"), inet_ntoa(from->sin_addr)); + | ^~~~~~~ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +ap_search.c:144:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] + 144 | mvwaddstr(main_sub, LAST_ROW - 2, 1, message); + | ^~~~~~~~~ + | | + | unsigned char * +/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' + 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ + | ^~~~~~~~~~~~ +ap_search.c:152:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 152 | sprintf(message, _("Scanning for AP with MIB type: %s"), + | ^~~~~~~ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +ap_search.c:154:9: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] + 154 | mvwaddstr(main_sub, LAST_ROW - 1, 1, message); + | ^~~~~~~~~ + | | + | unsigned char * +/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' + 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ + | ^~~~~~~~~~~~ +ap_search.c:158:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 158 | varbinds[0].oid = sysDescr[scd_ap_type]; + | ^ oui.c:1010:21: warning: overflow in conversion from 'int' to 'char' changes value from '205' to '-51' [-Woverflow] 1010 | 0x00, 0x03, 0xCD, "Clovertech, Inc."}, { | ^~~~ @@ -3234,7 +3080,6 @@ oui.c:1016:21: warning: overflow in conversion from 'int' to 'char' changes value from '211' to '-45' [-Woverflow] 1016 | 0x00, 0x03, 0xD3, "Internet Energy Systems, Inc."}, { | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o common.o common.c oui.c:1017:21: warning: overflow in conversion from 'int' to 'char' changes value from '212' to '-44' [-Woverflow] 1017 | 0x00, 0x03, 0xD4, "Alloptic, Inc."}, { | ^~~~ @@ -3247,6 +3092,64 @@ oui.c:1020:21: warning: overflow in conversion from 'int' to 'char' changes value from '215' to '-41' [-Woverflow] 1020 | 0x00, 0x03, 0xD7, "NextNet Wireless, Inc."}, { | ^~~~ +ap_search.c:164:19: warning: pointer targets in passing argument 1 of 'ber' differ in signedness [-Wpointer-sign] + 164 | len = ber(message, varbinds, 1, GET); + | ^~~~~~~ + | | + | unsigned char * +ap-utils.h:438:16: note: expected 'char *' but argument is of type 'unsigned char *' + 438 | extern int ber(char *, varbind *, int, int); + | ^~~~~~ +ap_search.c:173:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 173 | sprintf(message, _("Failure in sendto(): %s. Press any key."), + | ^~~~~~~ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +ap_search.c:175:27: warning: pointer targets in passing argument 1 of 'print_helperr' differ in signedness [-Wpointer-sign] + 175 | print_helperr(message); + | ^~~~~~~ + | | + | unsigned char * +ap-utils.h:399:27: note: expected 'char *' but argument is of type 'unsigned char *' + 399 | extern void print_helperr(char *); + | ^~~~~~ +ap_search.c:228:47: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] + 228 | (struct sockaddr *) from, &client_len)) == -1) + | ^~~~~~~~~~~ + | | + | int * +In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343, + from ap_search.c:37: +/usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' + 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +ap_search.c:326:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 326 | if (strlen(start) > (size_t)(COLS - MCOLS - 37)) { + | ^~~~~ + | | + | unsigned char * +/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) + | ~~~~~~~~~~~~^~~ +ap_search.c:332:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 332 | sprintf(message, " %3i %-15s %-10s %s", i, + | ^~~~~~~ + | | + | unsigned char * +/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +ap_search.c:336:13: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] + 336 | mvwaddstr(main_sub, i, 0, message); + | ^~~~~~~~~ + | | + | unsigned char * +/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' + 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ + | ^~~~~~~~~~~~ oui.c:1021:21: warning: overflow in conversion from 'int' to 'char' changes value from '216' to '-40' [-Woverflow] 1021 | 0x00, 0x03, 0xD8, "iMPath Networks, Inc."}, { | ^~~~ @@ -3274,12 +3177,6 @@ oui.c:1029:21: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 1029 | 0x00, 0x03, 0xE0, "RadioFrame Networks, Inc."}, { | ^~~~ -aps.c:256:14: warning: array subscript 13 is above array bounds of 'char[13]' [-Warray-bounds] - 256 | bssid[13] = '\0'; - | ~~~~~^~~~ -aps.c:93:21: note: while referencing 'bssid' - 93 | char essid[33], bssid[13], message[65]; - | ^~~~~ oui.c:1030:21: warning: overflow in conversion from 'int' to 'char' changes value from '225' to '-31' [-Woverflow] 1030 | 0x00, 0x03, 0xE1, "Winmate Communication, Inc."}, { | ^~~~ @@ -3301,113 +3198,59 @@ oui.c:1036:21: warning: overflow in conversion from 'int' to 'char' changes value from '231' to '-25' [-Woverflow] 1036 | 0x00, 0x03, 0xE7, "Logostek Co. Ltd."}, { | ^~~~ +radio.c: In function 'power': +radio.c:38:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 38 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x08, 0x08, + | ^~~~ +radio.c:43:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 43 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x0C, + | ^~~~ oui.c:1037:21: warning: overflow in conversion from 'int' to 'char' changes value from '232' to '-24' [-Woverflow] 1037 | 0x00, 0x03, 0xE8, "Wavelength Digital Limited"}, { | ^~~~ +radio.c:93:41: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 93 | TestModeRadioConfiguration[5] = 0xE0; + | ^~~~ +radio.c:95:34: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 95 | operAntennaSettings[5] = 0xE0; + | ^~~~ +radio.c:99:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 99 | varbinds[0].oid = TestModeRadioConfiguration; + | ^ oui.c:1038:21: warning: overflow in conversion from 'int' to 'char' changes value from '233' to '-23' [-Woverflow] 1038 | 0x00, 0x03, 0xE9, "Akara Canada, Inc."}, { | ^~~~ +radio.c:101:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 101 | varbinds[0].value = TestModeRadioConfiguration; + | ^ +radio.c:104:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 104 | varbinds[1].oid = operAntennaSettings; + | ^ +radio.c:105:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 105 | varbinds[1].value = TestModeRadioConfiguration; + | ^ oui.c:1039:21: warning: overflow in conversion from 'int' to 'char' changes value from '234' to '-22' [-Woverflow] 1039 | 0x00, 0x03, 0xEA, "Mega System Technologies, Inc."}, { | ^~~~ -ap_search.c: In function 'scan_local_segment': -ap_search.c:88:38: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 88 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x01, 0x00}, - | ^~~~ -ap_search.c:90:38: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 90 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x01, 0x01, 0x00} - | ^~~~ oui.c:1040:21: warning: overflow in conversion from 'int' to 'char' changes value from '235' to '-21' [-Woverflow] 1040 | 0x00, 0x03, 0xEB, "Atrica"}, { | ^~~~ oui.c:1041:21: warning: overflow in conversion from 'int' to 'char' changes value from '236' to '-20' [-Woverflow] 1041 | 0x00, 0x03, 0xEC, "ICG Research, Inc."}, { | ^~~~ +test.c: In function 'test': +test.c:57:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 57 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x08, 0x01, + | ^~~~ oui.c:1042:21: warning: overflow in conversion from 'int' to 'char' changes value from '237' to '-19' [-Woverflow] 1042 | 0x00, 0x03, 0xED, "Shinkawa Electric Co., Ltd."}, { | ^~~~ -ap_search.c:139:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 139 | sprintf(message, _(" Index: %i"), f_ifctr); - | ^~~~~~~ - | | - | unsigned char * -In file included from /usr/include/features.h:489, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/string.h:26, - from ap_search.c:21: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -ap_search.c:140:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] - 140 | mvwaddstr(main_sub, LAST_ROW - 4, 1, message); - | ^~~~~~~~~ - | | - | unsigned char * -In file included from ap-curses.h:25, - from ap-utils.h:41, - from ap_search.c:41: -/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' - 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ - | ^~~~~~~~~~~~ -ap_search.c:141:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 141 | sprintf(message, _(" Name: %s"), ifname); - | ^~~~~~~ - | | - | unsigned char * -/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -ap_search.c:142:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] - 142 | mvwaddstr(main_sub, LAST_ROW - 3, 1, message); - | ^~~~~~~~~ - | | - | unsigned char * -/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' - 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ - | ^~~~~~~~~~~~ -ap_search.c:143:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 143 | sprintf(message, _(" IP: %s"), inet_ntoa(from->sin_addr)); - | ^~~~~~~ - | | - | unsigned char * -/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -ap_search.c:144:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] - 144 | mvwaddstr(main_sub, LAST_ROW - 2, 1, message); - | ^~~~~~~~~ - | | - | unsigned char * -/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' - 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ - | ^~~~~~~~~~~~ -ap_search.c:152:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 152 | sprintf(message, _("Scanning for AP with MIB type: %s"), - | ^~~~~~~ - | | - | unsigned char * -/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -ap_search.c:154:9: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] - 154 | mvwaddstr(main_sub, LAST_ROW - 1, 1, message); - | ^~~~~~~~~ - | | - | unsigned char * -/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' - 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ - | ^~~~~~~~~~~~ -ap_search.c:158:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 158 | varbinds[0].oid = sysDescr[scd_ap_type]; - | ^ -ap_search.c:164:19: warning: pointer targets in passing argument 1 of 'ber' differ in signedness [-Wpointer-sign] - 164 | len = ber(message, varbinds, 1, GET); - | ^~~~~~~ - | | - | unsigned char * -ap-utils.h:438:16: note: expected 'char *' but argument is of type 'unsigned char *' - 438 | extern int ber(char *, varbind *, int, int); - | ^~~~~~ +test.c:61:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 61 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x08, 0x02, + | ^~~~ +test.c:65:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 65 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x08, 0x09, + | ^~~~ oui.c:1043:21: warning: overflow in conversion from 'int' to 'char' changes value from '238' to '-18' [-Woverflow] 1043 | 0x00, 0x03, 0xEE, "MKNet Corporation"}, { | ^~~~ @@ -3423,12 +3266,31 @@ oui.c:1047:21: warning: overflow in conversion from 'int' to 'char' changes value from '242' to '-14' [-Woverflow] 1047 | 0x00, 0x03, 0xF2, "Seneca Networks"}, { | ^~~~ +stat.c: In function 'EthStat': oui.c:1048:21: warning: overflow in conversion from 'int' to 'char' changes value from '243' to '-13' [-Woverflow] 1048 | 0x00, 0x03, 0xF3, "Dazzle Multimedia, Inc."}, { | ^~~~ +stat.c:42:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 42 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x07, 0x01, 0x00 + | ^~~~ +stat.c:45:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 45 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x07, 0x02, 0x00 + | ^~~~ +stat.c:53:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 53 | EthRxStatistics[5] = 0xE0; + | ^~~~ +stat.c:55:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 55 | EthTxStatistics[5] = 0xE0; + | ^~~~ oui.c:1049:21: warning: overflow in conversion from 'int' to 'char' changes value from '244' to '-12' [-Woverflow] 1049 | 0x00, 0x03, 0xF4, "NetBurner"}, { | ^~~~ +stat.c:65:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 65 | varbinds[0].oid = EthRxStatistics; + | ^ +stat.c:67:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 67 | varbinds[1].oid = EthTxStatistics; + | ^ oui.c:1050:21: warning: overflow in conversion from 'int' to 'char' changes value from '245' to '-11' [-Woverflow] 1050 | 0x00, 0x03, 0xF5, "Chip2Chip"}, { | ^~~~ @@ -3441,26 +3303,66 @@ oui.c:1053:21: warning: overflow in conversion from 'int' to 'char' changes value from '248' to '-8' [-Woverflow] 1053 | 0x00, 0x03, 0xF8, "SanCastle Technologies, Inc."}, { | ^~~~ +radio.c:177:24: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] + 177 | i = strtol(a, NULL, 16); + | ^ + | | + | unsigned char * +test.c:83:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 83 | TestModeOnOff[5] = 0xE0; + | ^~~~ +test.c:85:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 85 | TestModeCommandStruct[5] = 0xE0; + | ^~~~ +test.c:87:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 87 | TestModeStatistics[5] = 0xE0; + | ^~~~ +In file included from radio.c:22: +/usr/include/stdlib.h:177:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 177 | extern long int strtol (const char *__restrict __nptr, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +test.c:144:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 144 | varbinds[0].oid = TestModeOnOff; + | ^ +test.c:146:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 146 | varbinds[0].value = &teston; + | ^ +radio.c:259:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 259 | varbinds[i].oid = TestModeRadioConfiguration; + | ^ +test.c:162:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 162 | varbinds[0].oid = TestModeOnOff; + | ^ +test.c:164:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 164 | varbinds[0].value = &teston; + | ^ +radio.c:283:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 283 | varbinds[i].oid = operAntennaSettings; + | ^ +test.c:167:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 167 | varbinds[1].oid = TestModeCommandStruct; + | ^ +test.c:170:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 170 | varbinds[1].value = (char *) &testmode; + | ^ +radio.c:288:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 288 | varbinds[i].value = (char *) &antenna_hw; + | ^ +test.c:177:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 177 | varbinds[0].oid = TestModeStatistics; + | ^ +radio.c:290:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 290 | varbinds[i].value = &antenna.antennac; + | ^ +test.c:179:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 179 | varbinds[0].value = TestModeStatistics; + | ^ +test.c:205:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 205 | varbinds[0].oid = TestModeOnOff; + | ^ oui.c:1054:21: warning: overflow in conversion from 'int' to 'char' changes value from '249' to '-7' [-Woverflow] 1054 | 0x00, 0x03, 0xF9, "Pleiades Communications, Inc."}, { | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o file.o file.c -ap_search.c:173:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 173 | sprintf(message, _("Failure in sendto(): %s. Press any key."), - | ^~~~~~~ - | | - | unsigned char * -/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -ap_search.c:175:27: warning: pointer targets in passing argument 1 of 'print_helperr' differ in signedness [-Wpointer-sign] - 175 | print_helperr(message); - | ^~~~~~~ - | | - | unsigned char * -ap-utils.h:399:27: note: expected 'char *' but argument is of type 'unsigned char *' - 399 | extern void print_helperr(char *); - | ^~~~~~ oui.c:1055:21: warning: overflow in conversion from 'int' to 'char' changes value from '250' to '-6' [-Woverflow] 1055 | 0x00, 0x03, 0xFA, "TiMetra Networks"}, { | ^~~~ @@ -3473,38 +3375,28 @@ oui.c:1058:21: warning: overflow in conversion from 'int' to 'char' changes value from '253' to '-3' [-Woverflow] 1058 | 0x00, 0x03, 0xFD, "Cisco Systems, Inc."}, { | ^~~~ -ap_search.c:228:47: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] - 228 | (struct sockaddr *) from, &client_len)) == -1) - | ^~~~~~~~~~~ - | | - | int * -In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343, - from ap_search.c:37: -/usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' - 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ oui.c:1059:21: warning: overflow in conversion from 'int' to 'char' changes value from '254' to '-2' [-Woverflow] 1059 | 0x00, 0x03, 0xFE, "Cisco Systems, Inc."}, { | ^~~~ oui.c:1060:21: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] 1060 | 0x00, 0x03, 0xFF, "Connectix"}, { | ^~~~ -ap_search.c:326:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 326 | if (strlen(start) > (size_t)(COLS - MCOLS - 37)) { - | ^~~~~ - | | - | unsigned char * -/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) - | ~~~~~~~~~~~~^~~ -ap_search.c:332:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 332 | sprintf(message, " %3i %-15s %-10s %s", i, - | ^~~~~~~ - | | - | unsigned char * -/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ +stat.c: In function 'WirelessStat': +stat.c:220:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 220 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x03, 0x01, 0x00 + | ^~~~ +stat.c:228:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 228 | wirelessStatistics[5] = 0xE0; + | ^~~~ +stat.c:238:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 238 | varbinds[0].oid = wirelessStatistics; + | ^ +stat.c:242:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 242 | varbinds[0].value = wirelessStatistics; + | ^ +test.c:207:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 207 | varbinds[0].value = &teston; + | ^ oui.c:1189:21: warning: overflow in conversion from 'int' to 'char' changes value from '128' to '-128' [-Woverflow] 1189 | 0x00, 0x04, 0x80, "Foundry Networks, Inc."}, { | ^~~~ @@ -3535,32 +3427,81 @@ oui.c:1198:21: warning: overflow in conversion from 'int' to 'char' changes value from '137' to '-119' [-Woverflow] 1198 | 0x00, 0x04, 0x89, "YAFO Networks, Inc."}, { | ^~~~ +stat.c: In function 'nwn_wireless_stat': +stat.c:384:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 384 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x01, 0x01 }; + | ^~~~ oui.c:1199:21: warning: overflow in conversion from 'int' to 'char' changes value from '138' to '-118' [-Woverflow] 1199 | 0x00, 0x04, 0x8A, "Temia Vertriebs GmbH"}, { | ^~~~ +stat.c:384:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 384 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x01, 0x01 }; + | ^~~~ +stat.c:386:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 386 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x02, 0x01 }; + | ^~~~ oui.c:1200:21: warning: overflow in conversion from 'int' to 'char' changes value from '139' to '-117' [-Woverflow] 1200 | 0x00, 0x04, 0x8B, "Poscon Corporation"}, { | ^~~~ +stat.c:386:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 386 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x02, 0x01 }; + | ^~~~ +stat.c:388:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 388 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x03, 0x01 }; + | ^~~~ +stat.c:388:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 388 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x03, 0x01 }; + | ^~~~ oui.c:1201:21: warning: overflow in conversion from 'int' to 'char' changes value from '140' to '-116' [-Woverflow] 1201 | 0x00, 0x04, 0x8C, "Nayna Networks, Inc."}, { | ^~~~ -ap_search.c:336:13: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] - 336 | mvwaddstr(main_sub, i, 0, message); - | ^~~~~~~~~ - | | - | unsigned char * -/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' - 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ - | ^~~~~~~~~~~~ +stat.c:390:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 390 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x04, 0x01 }; + | ^~~~ +stat.c:390:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 390 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x04, 0x01 }; + | ^~~~ oui.c:1202:21: warning: overflow in conversion from 'int' to 'char' changes value from '141' to '-115' [-Woverflow] 1202 | 0x00, 0x04, 0x8D, "Tone Commander Systems, Inc."}, { | ^~~~ +stat.c:392:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 392 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x05, 0x01 }; + | ^~~~ +stat.c:392:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 392 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x05, 0x01 }; + | ^~~~ oui.c:1203:21: warning: overflow in conversion from 'int' to 'char' changes value from '142' to '-114' [-Woverflow] 1203 | 0x00, 0x04, 0x8E, "Ohm Tech Labs, Inc."}, { | ^~~~ +stat.c:394:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 394 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x06, 0x01 }; + | ^~~~ +stat.c:394:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 394 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x06, 0x01 }; + | ^~~~ oui.c:1204:21: warning: overflow in conversion from 'int' to 'char' changes value from '143' to '-113' [-Woverflow] 1204 | 0x00, 0x04, 0x8F, "TD Systems Corp."}, { | ^~~~ +stat.c:396:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 396 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x07, 0x01 }; + | ^~~~ +stat.c:396:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 396 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x07, 0x01 }; + | ^~~~ +set_oeminfo.c: In function 'atmel_set_oeminfo': +set_oeminfo.c:53:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 53 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x05, 0x00 + | ^~~~ +set_oeminfo.c:57:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 57 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x01, 0x08, 0x00 + | ^~~~ +set_oeminfo.c:144:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 144 | sysDeviceInfo[5] = 0xE0; + | ^~~~ +set_oeminfo.c:148:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 148 | varbinds[0].oid = sysDeviceInfo; + | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o file.o file.c oui.c:1205:21: warning: overflow in conversion from 'int' to 'char' changes value from '144' to '-112' [-Woverflow] 1205 | 0x00, 0x04, 0x90, "Optical Access"}, { | ^~~~ @@ -3588,6 +3529,93 @@ oui.c:1213:21: warning: overflow in conversion from 'int' to 'char' changes value from '153' to '-103' [-Woverflow] 1213 | 0x00, 0x04, 0x99, "Chino Corporation"}, { | ^~~~ +set_oeminfo.c:150:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 150 | varbinds[0].value = sysDeviceInfo; + | ^ +stat.c:398:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 398 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x08, 0x01 }; + | ^~~~ +stat.c:398:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 398 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x08, 0x01 }; + | ^~~~ +set_oeminfo.c:166:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 166 | MacAddress = str128.MacAddress; + | ^ +set_oeminfo.c:169:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 169 | OEMName = str128.OEMName; + | ^ +set_oeminfo.c:171:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 171 | ProductName = str128.ProductName; + | ^ +stat.c:400:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 400 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x09, 0x01 }; + | ^~~~ +set_oeminfo.c:177:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 177 | MacAddress = str160.MacAddress; + | ^ +set_oeminfo.c:181:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 181 | OEMName = str160.OEMName; + | ^ +stat.c:400:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 400 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x09, 0x01 }; + | ^~~~ +set_oeminfo.c:183:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 183 | ProductName = str160.ProductName; + | ^ +set_oeminfo.c:185:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 185 | PID_VID = str160.PID_VID; + | ^ +stat.c:402:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 402 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0a, 0x01 }; + | ^~~~ +set_oeminfo.c:188:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 188 | CountryCode = str160.CountryCode; + | ^ +set_oeminfo.c:190:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 190 | TxPower = str160.TxPower; + | ^ +stat.c:402:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 402 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0a, 0x01 }; + | ^~~~ +stat.c:404:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 404 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0b, 0x01 }; + | ^~~~ +stat.c:404:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 404 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0b, 0x01 }; + | ^~~~ +stat.c:406:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 406 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0c, 0x01 }; + | ^~~~ +stat.c:406:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 406 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0c, 0x01 }; + | ^~~~ +stat.c:408:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 408 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0d, 0x01 }; + | ^~~~ +stat.c:408:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 408 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0d, 0x01 }; + | ^~~~ +stat.c:410:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 410 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0e, 0x01 }; + | ^~~~ +stat.c:410:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 410 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x02, 0x02, 0x01, 0x0e, 0x01 }; + | ^~~~ +stat.c:412:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 412 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x05, 0x01 }; + | ^~~~ +stat.c:412:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 412 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x05, 0x01 }; + | ^~~~ +stat.c:414:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 414 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x06, 0x01 }; + | ^~~~ +stat.c:414:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 414 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x05, 0x01, 0x06, 0x01 }; + | ^~~~ +stat.c:428:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 428 | varbinds[0].oid = oid_dot11TransmittedFragmentCount; + | ^ oui.c:1214:21: warning: overflow in conversion from 'int' to 'char' changes value from '154' to '-102' [-Woverflow] 1214 | 0x00, 0x04, 0x9A, "Cisco Systems, Inc."}, { | ^~~~ @@ -3618,27 +3646,93 @@ oui.c:1223:21: warning: overflow in conversion from 'int' to 'char' changes value from '163' to '-93' [-Woverflow] 1223 | 0x00, 0x04, 0xA3, "Microchip Technology, Inc."}, { | ^~~~ +set_oeminfo.c:380:40: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] + 380 | memset((void *)TxPower + 1, 0, 13); + | ^ +set_oeminfo.c:414:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 414 | varbinds[0].oid = sysDeviceInfo; + | ^ +set_oeminfo.c:423:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 423 | varbinds[0].value = (char *) &str128; + | ^ +set_oeminfo.c:433:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 433 | varbinds[0].value = (char *) &str160; + | ^ +set_oeminfo.c:445:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 445 | varbinds[0].oid = sysDeviceMoreInfo; + | ^ +set_oeminfo.c:449:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 449 | varbinds[0].value = (char *) &str160.CountryCode; + | ^ +stat.c:430:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 430 | varbinds[1].oid = oid_dot11MulticastTransmittedFrameCount; + | ^ +stat.c:432:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 432 | varbinds[2].oid = oid_dot11FailedCount; + | ^ oui.c:1224:21: warning: overflow in conversion from 'int' to 'char' changes value from '164' to '-92' [-Woverflow] 1224 | 0x00, 0x04, 0xA4, "NetEnabled, Inc."}, { | ^~~~ +stat.c:434:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 434 | varbinds[3].oid = oid_dot11RetryCount; + | ^ +stat.c:436:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 436 | varbinds[4].oid = oid_dot11MultipleRetryCount; + | ^ oui.c:1225:21: warning: overflow in conversion from 'int' to 'char' changes value from '165' to '-91' [-Woverflow] 1225 | 0x00, 0x04, 0xA5, "Barco Projection Systems NV"}, { | ^~~~ +stat.c:438:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 438 | varbinds[5].oid = oid_dot11FrameDuplicateCount; + | ^ +stat.c:440:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 440 | varbinds[6].oid = oid_dot11RTSSuccessCount; + | ^ oui.c:1226:21: warning: overflow in conversion from 'int' to 'char' changes value from '166' to '-90' [-Woverflow] 1226 | 0x00, 0x04, 0xA6, "SAF Tehnika Ltd."}, { | ^~~~ +stat.c:442:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 442 | varbinds[7].oid = oid_dot11RTSFailureCount; + | ^ +stat.c:444:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 444 | varbinds[8].oid = oid_dot11ACKFailureCount; + | ^ oui.c:1227:21: warning: overflow in conversion from 'int' to 'char' changes value from '167' to '-89' [-Woverflow] 1227 | 0x00, 0x04, 0xA7, "FabiaTech Corporation"}, { | ^~~~ +stat.c:446:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 446 | varbinds[9].oid = oid_dot11ReceivedFragmentCount; + | ^ +stat.c:448:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 448 | varbinds[10].oid = oid_dot11MulticastReceivedFrameCount; + | ^ +stat.c:450:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 450 | varbinds[11].oid = oid_dot11FCSErrorCount; + | ^ oui.c:1228:21: warning: overflow in conversion from 'int' to 'char' changes value from '168' to '-88' [-Woverflow] 1228 | 0x00, 0x04, 0xA8, "Broadmax Technologies, Inc."}, { | ^~~~ +stat.c:452:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 452 | varbinds[12].oid = oid_dot11TransmittedFrameCount; + | ^ oui.c:1229:21: warning: overflow in conversion from 'int' to 'char' changes value from '169' to '-87' [-Woverflow] 1229 | 0x00, 0x04, 0xA9, "SandStream Technologies, Inc."}, { | ^~~~ +stat.c:454:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 454 | varbinds[13].oid = oid_dot11WEPUndecryptableCount; + | ^ +stat.c:456:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 456 | varbinds[14].oid = oid_dot11WEPICVErrorCount; + | ^ oui.c:1230:21: warning: overflow in conversion from 'int' to 'char' changes value from '170' to '-86' [-Woverflow] 1230 | 0x00, 0x04, 0xAA, "Jetstream Communications"}, { | ^~~~ +stat.c:458:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 458 | varbinds[15].oid = oid_dot11WEPExcludedCount; + | ^ +stat.c:463:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 463 | varbinds[i].value = oid_dot11TransmittedFragmentCount; + | ^ oui.c:1231:21: warning: overflow in conversion from 'int' to 'char' changes value from '171' to '-85' [-Woverflow] 1231 | 0x00, 0x04, 0xAB, "Comverse Network Systems, Inc."}, { | ^~~~ @@ -3876,6 +3970,12 @@ oui.c:1309:21: warning: overflow in conversion from 'int' to 'char' changes value from '249' to '-7' [-Woverflow] 1309 | 0x00, 0x04, 0xF9, "Xtera Communications, Inc."}, { | ^~~~ +aps.c:256:14: warning: array subscript 13 is above array bounds of 'char[13]' [-Warray-bounds] + 256 | bssid[13] = '\0'; + | ~~~~~^~~~ +aps.c:93:21: note: while referencing 'bssid' + 93 | char essid[33], bssid[13], message[65]; + | ^~~~~ oui.c:1310:21: warning: overflow in conversion from 'int' to 'char' changes value from '250' to '-6' [-Woverflow] 1310 | 0x00, 0x04, 0xFA, "MIST Inc."}, { | ^~~~ @@ -3912,52 +4012,9 @@ oui.c:1449:21: warning: overflow in conversion from 'int' to 'char' changes value from '133' to '-123' [-Woverflow] 1449 | 0x00, 0x05, 0x85, "Juniper Networks, Inc."}, { | ^~~~ -set_oeminfo.c: In function 'atmel_set_oeminfo': -set_oeminfo.c:53:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 53 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x05, 0x00 - | ^~~~ -set_oeminfo.c:57:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 57 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x01, 0x08, 0x00 - | ^~~~ -set_oeminfo.c:144:28: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 144 | sysDeviceInfo[5] = 0xE0; - | ^~~~ -set_oeminfo.c:148:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 148 | varbinds[0].oid = sysDeviceInfo; - | ^ -set_oeminfo.c:150:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 150 | varbinds[0].value = sysDeviceInfo; - | ^ -set_oeminfo.c:166:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 166 | MacAddress = str128.MacAddress; - | ^ -set_oeminfo.c:169:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 169 | OEMName = str128.OEMName; - | ^ -set_oeminfo.c:171:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 171 | ProductName = str128.ProductName; - | ^ -set_oeminfo.c:177:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 177 | MacAddress = str160.MacAddress; - | ^ oui.c:1450:21: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] 1450 | 0x00, 0x05, 0x86, "Lucent Technologies"}, { | ^~~~ -set_oeminfo.c:181:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 181 | OEMName = str160.OEMName; - | ^ -set_oeminfo.c:183:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 183 | ProductName = str160.ProductName; - | ^ -set_oeminfo.c:185:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 185 | PID_VID = str160.PID_VID; - | ^ -set_oeminfo.c:188:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 188 | CountryCode = str160.CountryCode; - | ^ -set_oeminfo.c:190:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 190 | TxPower = str160.TxPower; - | ^ oui.c:1451:21: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] 1451 | 0x00, 0x05, 0x87, "Locus, Incorporated"}, { | ^~~~ @@ -3997,33 +4054,22 @@ oui.c:1463:21: warning: overflow in conversion from 'int' to 'char' changes value from '147' to '-109' [-Woverflow] 1463 | 0x00, 0x05, 0x93, "Grammar Engine Inc."}, { | ^~~~ -set_oeminfo.c:380:40: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] - 380 | memset((void *)TxPower + 1, 0, 13); - | ^ -set_oeminfo.c:414:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 414 | varbinds[0].oid = sysDeviceInfo; - | ^ oui.c:1464:21: warning: overflow in conversion from 'int' to 'char' changes value from '148' to '-108' [-Woverflow] 1464 | 0x00, 0x05, 0x94, "IXXAT Automation GmbH"}, { | ^~~~ -set_oeminfo.c:423:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 423 | varbinds[0].value = (char *) &str128; - | ^ -set_oeminfo.c:433:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 433 | varbinds[0].value = (char *) &str160; - | ^ oui.c:1465:21: warning: overflow in conversion from 'int' to 'char' changes value from '149' to '-107' [-Woverflow] 1465 | 0x00, 0x05, 0x95, "Alesis Corporation"}, { | ^~~~ -set_oeminfo.c:445:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 445 | varbinds[0].oid = sysDeviceMoreInfo; - | ^ +common.c: In function 'connect_options': +common.c:143:38: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 143 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x0A, 0x00}, + | ^~~~ +common.c:145:38: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 145 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x01, 0x0A, 0x00} + | ^~~~ oui.c:1466:21: warning: overflow in conversion from 'int' to 'char' changes value from '150' to '-106' [-Woverflow] 1466 | 0x00, 0x05, 0x96, "Genotech Co., Ltd."}, { | ^~~~ -set_oeminfo.c:449:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 449 | varbinds[0].value = (char *) &str160.CountryCode; - | ^ oui.c:1467:21: warning: overflow in conversion from 'int' to 'char' changes value from '151' to '-105' [-Woverflow] 1467 | 0x00, 0x05, 0x97, "Eagle Traffic Control Systems"}, { | ^~~~ @@ -4042,151 +4088,6 @@ oui.c:1472:21: warning: overflow in conversion from 'int' to 'char' changes value from '156' to '-100' [-Woverflow] 1472 | 0x00, 0x05, 0x9C, "Kleinknecht GmbH, Ing. Buero"}, { | ^~~~ -oui.c:1473:21: warning: overflow in conversion from 'int' to 'char' changes value from '157' to '-99' [-Woverflow] - 1473 | 0x00, 0x05, 0x9D, "Daniel Computing Systems, Inc."}, { - | ^~~~ -oui.c:1474:21: warning: overflow in conversion from 'int' to 'char' changes value from '158' to '-98' [-Woverflow] - 1474 | 0x00, 0x05, 0x9E, "Zinwell Corporation"}, { - | ^~~~ -oui.c:1475:21: warning: overflow in conversion from 'int' to 'char' changes value from '159' to '-97' [-Woverflow] - 1475 | 0x00, 0x05, 0x9F, "Yotta Networks, Inc."}, { - | ^~~~ -oui.c:1476:21: warning: overflow in conversion from 'int' to 'char' changes value from '160' to '-96' [-Woverflow] - 1476 | 0x00, 0x05, 0xA0, "MOBILINE Kft."}, { - | ^~~~ -oui.c:1477:21: warning: overflow in conversion from 'int' to 'char' changes value from '161' to '-95' [-Woverflow] - 1477 | 0x00, 0x05, 0xA1, "Zenocom"}, { - | ^~~~ -oui.c:1478:21: warning: overflow in conversion from 'int' to 'char' changes value from '162' to '-94' [-Woverflow] - 1478 | 0x00, 0x05, 0xA2, "CELOX Networks"}, { - | ^~~~ -oui.c:1479:21: warning: overflow in conversion from 'int' to 'char' changes value from '163' to '-93' [-Woverflow] - 1479 | 0x00, 0x05, 0xA3, "QEI, Inc."}, { - | ^~~~ -oui.c:1480:21: warning: overflow in conversion from 'int' to 'char' changes value from '164' to '-92' [-Woverflow] - 1480 | 0x00, 0x05, 0xA4, "Lucid Voice Ltd."}, { - | ^~~~ -oui.c:1481:21: warning: overflow in conversion from 'int' to 'char' changes value from '165' to '-91' [-Woverflow] - 1481 | 0x00, 0x05, 0xA5, "KOTT"}, { - | ^~~~ -oui.c:1482:21: warning: overflow in conversion from 'int' to 'char' changes value from '166' to '-90' [-Woverflow] - 1482 | 0x00, 0x05, 0xA6, "Extron Electronics"}, { - | ^~~~ -oui.c:1483:21: warning: overflow in conversion from 'int' to 'char' changes value from '167' to '-89' [-Woverflow] - 1483 | 0x00, 0x05, 0xA7, "Hyperchip, Inc."}, { - | ^~~~ -oui.c:1484:21: warning: overflow in conversion from 'int' to 'char' changes value from '168' to '-88' [-Woverflow] - 1484 | 0x00, 0x05, 0xA8, "WYLE ELECTRONICS"}, { - | ^~~~ -oui.c:1485:21: warning: overflow in conversion from 'int' to 'char' changes value from '169' to '-87' [-Woverflow] - 1485 | 0x00, 0x05, 0xA9, "Princeton Networks, Inc."}, { - | ^~~~ -oui.c:1486:21: warning: overflow in conversion from 'int' to 'char' changes value from '170' to '-86' [-Woverflow] - 1486 | 0x00, 0x05, 0xAA, "Moore Industries International Inc."}, { - | ^~~~ -oui.c:1487:21: warning: overflow in conversion from 'int' to 'char' changes value from '171' to '-85' [-Woverflow] - 1487 | 0x00, 0x05, 0xAB, "Cyber Fone, Inc."}, { - | ^~~~ -oui.c:1488:21: warning: overflow in conversion from 'int' to 'char' changes value from '172' to '-84' [-Woverflow] - 1488 | 0x00, 0x05, 0xAC, "Northern Digital, Inc."}, { - | ^~~~ -oui.c:1489:21: warning: overflow in conversion from 'int' to 'char' changes value from '173' to '-83' [-Woverflow] - 1489 | 0x00, 0x05, 0xAD, "Topspin Communications, Inc."}, { - | ^~~~ -oui.c:1490:21: warning: overflow in conversion from 'int' to 'char' changes value from '174' to '-82' [-Woverflow] - 1490 | 0x00, 0x05, 0xAE, "Mediaport USA"}, { - | ^~~~ -oui.c:1491:21: warning: overflow in conversion from 'int' to 'char' changes value from '175' to '-81' [-Woverflow] - 1491 | 0x00, 0x05, 0xAF, "InnoScan Computing A/S"}, { - | ^~~~ -oui.c:1492:21: warning: overflow in conversion from 'int' to 'char' changes value from '176' to '-80' [-Woverflow] - 1492 | 0x00, 0x05, 0xB0, "Korea Computer Technology Co., Ltd."}, { - | ^~~~ -oui.c:1493:21: warning: overflow in conversion from 'int' to 'char' changes value from '177' to '-79' [-Woverflow] - 1493 | 0x00, 0x05, 0xB1, "ASB Technology BV"}, { - | ^~~~ -oui.c:1494:21: warning: overflow in conversion from 'int' to 'char' changes value from '178' to '-78' [-Woverflow] - 1494 | 0x00, 0x05, 0xB2, "Medison Co., Ltd."}, { - | ^~~~ -oui.c:1495:21: warning: overflow in conversion from 'int' to 'char' changes value from '179' to '-77' [-Woverflow] - 1495 | 0x00, 0x05, 0xB3, "Asahi-Engineering Co., Ltd."}, { - | ^~~~ -oui.c:1496:21: warning: overflow in conversion from 'int' to 'char' changes value from '180' to '-76' [-Woverflow] - 1496 | 0x00, 0x05, 0xB4, "Aceex Corporation"}, { - | ^~~~ -oui.c:1497:21: warning: overflow in conversion from 'int' to 'char' changes value from '181' to '-75' [-Woverflow] - 1497 | 0x00, 0x05, 0xB5, "Broadcom Technologies"}, { - | ^~~~ -oui.c:1498:21: warning: overflow in conversion from 'int' to 'char' changes value from '182' to '-74' [-Woverflow] - 1498 | 0x00, 0x05, 0xB6, "INSYS Microelectronics GmbH"}, { - | ^~~~ -oui.c:1499:21: warning: overflow in conversion from 'int' to 'char' changes value from '183' to '-73' [-Woverflow] - 1499 | 0x00, 0x05, 0xB7, "Arbor Technology Corp."}, { - | ^~~~ -oui.c:1500:21: warning: overflow in conversion from 'int' to 'char' changes value from '184' to '-72' [-Woverflow] - 1500 | 0x00, 0x05, 0xB8, "Electronic Design Associates, Inc."}, { - | ^~~~ -oui.c:1501:21: warning: overflow in conversion from 'int' to 'char' changes value from '185' to '-71' [-Woverflow] - 1501 | 0x00, 0x05, 0xB9, "Airvana, Inc."}, { - | ^~~~ -oui.c:1502:21: warning: overflow in conversion from 'int' to 'char' changes value from '186' to '-70' [-Woverflow] - 1502 | 0x00, 0x05, 0xBA, "Area Netwoeks, Inc."}, { - | ^~~~ -oui.c:1503:21: warning: overflow in conversion from 'int' to 'char' changes value from '187' to '-69' [-Woverflow] - 1503 | 0x00, 0x05, 0xBB, "Myspace AB"}, { - | ^~~~ -oui.c:1504:21: warning: overflow in conversion from 'int' to 'char' changes value from '188' to '-68' [-Woverflow] - 1504 | 0x00, 0x05, 0xBC, "Resorsys Ltd."}, { - | ^~~~ -oui.c:1505:21: warning: overflow in conversion from 'int' to 'char' changes value from '189' to '-67' [-Woverflow] - 1505 | 0x00, 0x05, 0xBD, "ROAX BV"}, { - | ^~~~ -oui.c:1506:21: warning: overflow in conversion from 'int' to 'char' changes value from '190' to '-66' [-Woverflow] - 1506 | 0x00, 0x05, 0xBE, "Kongsberg Seatex AS"}, { - | ^~~~ -oui.c:1507:21: warning: overflow in conversion from 'int' to 'char' changes value from '191' to '-65' [-Woverflow] - 1507 | 0x00, 0x05, 0xBF, "JustEzy Technology, Inc."}, { - | ^~~~ -oui.c:1508:21: warning: overflow in conversion from 'int' to 'char' changes value from '192' to '-64' [-Woverflow] - 1508 | 0x00, 0x05, 0xC0, "Digital Network Alacarte Co., Ltd."}, { - | ^~~~ -oui.c:1509:21: warning: overflow in conversion from 'int' to 'char' changes value from '193' to '-63' [-Woverflow] - 1509 | 0x00, 0x05, 0xC1, "A-Kyung Motion, Inc."}, { - | ^~~~ -oui.c:1510:21: warning: overflow in conversion from 'int' to 'char' changes value from '194' to '-62' [-Woverflow] - 1510 | 0x00, 0x05, 0xC2, "Digital Archway, Inc."}, { - | ^~~~ -oui.c:1511:21: warning: overflow in conversion from 'int' to 'char' changes value from '195' to '-61' [-Woverflow] - 1511 | 0x00, 0x05, 0xC3, "Pacific Instruments, Inc."}, { - | ^~~~ -oui.c:1512:21: warning: overflow in conversion from 'int' to 'char' changes value from '196' to '-60' [-Woverflow] - 1512 | 0x00, 0x05, 0xC4, "Telect, Inc."}, { - | ^~~~ -oui.c:1513:21: warning: overflow in conversion from 'int' to 'char' changes value from '197' to '-59' [-Woverflow] - 1513 | 0x00, 0x05, 0xC5, "Flaga HF"}, { - | ^~~~ -oui.c:1514:21: warning: overflow in conversion from 'int' to 'char' changes value from '198' to '-58' [-Woverflow] - 1514 | 0x00, 0x05, 0xC6, "Triz Communications"}, { - | ^~~~ -oui.c:1515:21: warning: overflow in conversion from 'int' to 'char' changes value from '199' to '-57' [-Woverflow] - 1515 | 0x00, 0x05, 0xC7, "I/F-COM A/S"}, { - | ^~~~ -oui.c:1516:21: warning: overflow in conversion from 'int' to 'char' changes value from '200' to '-56' [-Woverflow] - 1516 | 0x00, 0x05, 0xC8, "VERYTECH"}, { - | ^~~~ -oui.c:1517:21: warning: overflow in conversion from 'int' to 'char' changes value from '201' to '-55' [-Woverflow] - 1517 | 0x00, 0x05, 0xC9, "LG Innotek"}, { - | ^~~~ -oui.c:1518:21: warning: overflow in conversion from 'int' to 'char' changes value from '202' to '-54' [-Woverflow] - 1518 | 0x00, 0x05, 0xCA, "Hitron Technology, Inc."}, { - | ^~~~ -common.c: In function 'connect_options': -common.c:143:38: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 143 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x01, 0x0A, 0x00}, - | ^~~~ -common.c:145:38: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 145 | {0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x01, 0x0A, 0x00} - | ^~~~ common.c:184:14: warning: pointer targets in passing argument 1 of 'get_pass' differ in signedness [-Wpointer-sign] 184 | get_pass(message, 2, 1 + strlen(APPASS), 16); | ^~~~~~~ @@ -4201,6 +4102,9 @@ | ^~~~~~~ | | | unsigned char * +oui.c:1473:21: warning: overflow in conversion from 'int' to 'char' changes value from '157' to '-99' [-Woverflow] + 1473 | 0x00, 0x05, 0x9D, "Daniel Computing Systems, Inc."}, { + | ^~~~ In file included from common.c:23: /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) @@ -4217,20 +4121,17 @@ /usr/include/x86_64-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, | ^~~~~ -oui.c:1519:21: warning: overflow in conversion from 'int' to 'char' changes value from '203' to '-53' [-Woverflow] - 1519 | 0x00, 0x05, 0xCB, "ROIS Technologies, Inc."}, { - | ^~~~ -oui.c:1520:21: warning: overflow in conversion from 'int' to 'char' changes value from '204' to '-52' [-Woverflow] - 1520 | 0x00, 0x05, 0xCC, "Sumtel Communications, Inc."}, { +oui.c:1474:21: warning: overflow in conversion from 'int' to 'char' changes value from '158' to '-98' [-Woverflow] + 1474 | 0x00, 0x05, 0x9E, "Zinwell Corporation"}, { | ^~~~ -oui.c:1521:21: warning: overflow in conversion from 'int' to 'char' changes value from '205' to '-51' [-Woverflow] - 1521 | 0x00, 0x05, 0xCD, "Denon, Ltd."}, { +oui.c:1475:21: warning: overflow in conversion from 'int' to 'char' changes value from '159' to '-97' [-Woverflow] + 1475 | 0x00, 0x05, 0x9F, "Yotta Networks, Inc."}, { | ^~~~ common.c:258:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 258 | varbinds[0].oid = operAccessPointName[ap_type]; | ^ -oui.c:1522:21: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 1522 | 0x00, 0x05, 0xCE, "Prolink Microsystems Corporation"}, { +oui.c:1476:21: warning: overflow in conversion from 'int' to 'char' changes value from '160' to '-96' [-Woverflow] + 1476 | 0x00, 0x05, 0xA0, "MOBILINE Kft."}, { | ^~~~ common.c:279:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 279 | if (strlen(varbinds[0].value) > 16) { @@ -4240,6 +4141,9 @@ /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) | ~~~~~~~~~~~~^~~ +oui.c:1477:21: warning: overflow in conversion from 'int' to 'char' changes value from '161' to '-95' [-Woverflow] + 1477 | 0x00, 0x05, 0xA1, "Zenocom"}, { + | ^~~~ common.c:292:19: warning: pointer targets in passing argument 1 of 'get_value' differ in signedness [-Wpointer-sign] 292 | get_value(message, 5, 1 + strlen(APLABEL), -sizeof(label), ANY_STRING, | ^~~~~~~ @@ -4248,9 +4152,6 @@ ap-utils.h:406:23: note: expected 'char *' but argument is of type 'unsigned char *' 406 | extern void get_value(char *, int, int, int, char, unsigned int, unsigned int, | ^~~~~~ -oui.c:1523:21: warning: overflow in conversion from 'int' to 'char' changes value from '207' to '-49' [-Woverflow] - 1523 | 0x00, 0x05, 0xCF, "Thunder River Technologies, Inc."}, { - | ^~~~ common.c:292:52: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551599' to '-17' [-Woverflow] 292 | get_value(message, 5, 1 + strlen(APLABEL), -sizeof(label), ANY_STRING, | ^~~~~~~~~~~~~~ @@ -4270,6 +4171,9 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ +oui.c:1478:21: warning: overflow in conversion from 'int' to 'char' changes value from '162' to '-94' [-Woverflow] + 1478 | 0x00, 0x05, 0xA2, "CELOX Networks"}, { + | ^~~~ common.c:294:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 294 | strncpy(label, message, strlen(message) + 1); | ^~~~~~~ @@ -4278,17 +4182,6 @@ /usr/include/x86_64-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, | ^~~~~ -oui.c:1524:21: warning: overflow in conversion from 'int' to 'char' changes value from '208' to '-48' [-Woverflow] - 1524 | 0x00, 0x05, 0xD0, "Solinet Systems"}, { - | ^~~~ -file.c: In function 'get_opts': -file.c:387:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 387 | write(fd, buf, strlen(buf)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -file.c: In function 'save_Stations': -file.c:431:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 431 | write(fd, message, 13); - | ^~~~~~~~~~~~~~~~~~~~~~ common.c:307:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 307 | sprintf(message, "%s/.ap-config", home_dir); | ^~~~~~~ @@ -4297,8 +4190,8 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -oui.c:1525:21: warning: overflow in conversion from 'int' to 'char' changes value from '209' to '-47' [-Woverflow] - 1525 | 0x00, 0x05, 0xD1, "Metavector Technologies"}, { +oui.c:1479:21: warning: overflow in conversion from 'int' to 'char' changes value from '163' to '-93' [-Woverflow] + 1479 | 0x00, 0x05, 0xA3, "QEI, Inc."}, { | ^~~~ common.c:308:28: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 308 | if ((fd = open(message, O_CREAT|O_WRONLY|O_APPEND, 0600)) != -1) { @@ -4326,13 +4219,31 @@ /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) | ~~~~~~~~~~~~^~~ -oui.c:1526:21: warning: overflow in conversion from 'int' to 'char' changes value from '210' to '-46' [-Woverflow] - 1526 | 0x00, 0x05, 0xD2, "DAP Technologies"}, { +oui.c:1480:21: warning: overflow in conversion from 'int' to 'char' changes value from '164' to '-92' [-Woverflow] + 1480 | 0x00, 0x05, 0xA4, "Lucid Voice Ltd."}, { | ^~~~ -common.c: In function 'get_mib_details': -oui.c:1527:21: warning: overflow in conversion from 'int' to 'char' changes value from '211' to '-45' [-Woverflow] - 1527 | 0x00, 0x05, 0xD3, "eProduction Solutions, Inc."}, { +oui.c:1481:21: warning: overflow in conversion from 'int' to 'char' changes value from '165' to '-91' [-Woverflow] + 1481 | 0x00, 0x05, 0xA5, "KOTT"}, { | ^~~~ +oui.c:1482:21: warning: overflow in conversion from 'int' to 'char' changes value from '166' to '-90' [-Woverflow] + 1482 | 0x00, 0x05, 0xA6, "Extron Electronics"}, { + | ^~~~ +oui.c:1483:21: warning: overflow in conversion from 'int' to 'char' changes value from '167' to '-89' [-Woverflow] + 1483 | 0x00, 0x05, 0xA7, "Hyperchip, Inc."}, { + | ^~~~ +oui.c:1484:21: warning: overflow in conversion from 'int' to 'char' changes value from '168' to '-88' [-Woverflow] + 1484 | 0x00, 0x05, 0xA8, "WYLE ELECTRONICS"}, { + | ^~~~ +oui.c:1485:21: warning: overflow in conversion from 'int' to 'char' changes value from '169' to '-87' [-Woverflow] + 1485 | 0x00, 0x05, 0xA9, "Princeton Networks, Inc."}, { + | ^~~~ +oui.c:1486:21: warning: overflow in conversion from 'int' to 'char' changes value from '170' to '-86' [-Woverflow] + 1486 | 0x00, 0x05, 0xAA, "Moore Industries International Inc."}, { + | ^~~~ +oui.c:1487:21: warning: overflow in conversion from 'int' to 'char' changes value from '171' to '-85' [-Woverflow] + 1487 | 0x00, 0x05, 0xAB, "Cyber Fone, Inc."}, { + | ^~~~ +common.c: In function 'get_mib_details': common.c:340:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 340 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x01, 0x00 | ^~~~ @@ -4342,9 +4253,6 @@ common.c:352:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 352 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x01, 0x01, 0x05, 0x00 | ^~~~ -oui.c:1528:21: warning: overflow in conversion from 'int' to 'char' changes value from '212' to '-44' [-Woverflow] - 1528 | 0x00, 0x05, 0xD4, "FutureSmart Networks, Inc."}, { - | ^~~~ common.c:356:39: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 356 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0xE0, 0x3E, 0x01, 0x02, 0x03, 0x01, 0x00 | ^~~~ @@ -4354,27 +4262,18 @@ common.c:373:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 373 | varbinds[0].oid = sysDescr_ATMEL; | ^ -oui.c:1529:21: warning: overflow in conversion from 'int' to 'char' changes value from '213' to '-43' [-Woverflow] - 1529 | 0x00, 0x05, 0xD5, "Speedcom Wireless"}, { - | ^~~~ common.c:381:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 381 | sysDescr_ATMEL[5] = 0xE0; | ^~~~ common.c:383:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 383 | varbinds[0].oid = sysDescr_ATMEL; | ^ -oui.c:1530:21: warning: overflow in conversion from 'int' to 'char' changes value from '214' to '-42' [-Woverflow] - 1530 | 0x00, 0x05, 0xD6, "Titan Wireless"}, { - | ^~~~ common.c:408:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 408 | varbinds[0].oid = AuthRadiusIP_ATMEL; | ^ common.c:431:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 431 | varbinds[0].oid = sysDeviceInfo_ATMEL; | ^ -oui.c:1531:21: warning: overflow in conversion from 'int' to 'char' changes value from '215' to '-41' [-Woverflow] - 1531 | 0x00, 0x05, 0xD7, "Vista Imaging, Inc."}, { - | ^~~~ common.c:436:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 436 | varbinds[1].oid = wirelessStatistics_ATMEL; | ^ @@ -4421,6 +4320,9 @@ ap-utils.h:406:23: note: expected 'char *' but argument is of type 'unsigned char *' 406 | extern void get_value(char *, int, int, int, char, unsigned int, unsigned int, | ^~~~~~ +oui.c:1488:21: warning: overflow in conversion from 'int' to 'char' changes value from '172' to '-84' [-Woverflow] + 1488 | 0x00, 0x05, 0xAC, "Northern Digital, Inc."}, { + | ^~~~ common.c:500:35: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 500 | poll_delay = atoi(message); | ^~~~~~~ @@ -4436,6 +4338,143 @@ common.c:56:9: note: 'regdom_types' declared here 56 | rdprops regdom_types[] = { | ^~~~~~~~~~~~ +oui.c:1489:21: warning: overflow in conversion from 'int' to 'char' changes value from '173' to '-83' [-Woverflow] + 1489 | 0x00, 0x05, 0xAD, "Topspin Communications, Inc."}, { + | ^~~~ +oui.c:1490:21: warning: overflow in conversion from 'int' to 'char' changes value from '174' to '-82' [-Woverflow] + 1490 | 0x00, 0x05, 0xAE, "Mediaport USA"}, { + | ^~~~ +oui.c:1491:21: warning: overflow in conversion from 'int' to 'char' changes value from '175' to '-81' [-Woverflow] + 1491 | 0x00, 0x05, 0xAF, "InnoScan Computing A/S"}, { + | ^~~~ +oui.c:1492:21: warning: overflow in conversion from 'int' to 'char' changes value from '176' to '-80' [-Woverflow] + 1492 | 0x00, 0x05, 0xB0, "Korea Computer Technology Co., Ltd."}, { + | ^~~~ +oui.c:1493:21: warning: overflow in conversion from 'int' to 'char' changes value from '177' to '-79' [-Woverflow] + 1493 | 0x00, 0x05, 0xB1, "ASB Technology BV"}, { + | ^~~~ +oui.c:1494:21: warning: overflow in conversion from 'int' to 'char' changes value from '178' to '-78' [-Woverflow] + 1494 | 0x00, 0x05, 0xB2, "Medison Co., Ltd."}, { + | ^~~~ +oui.c:1495:21: warning: overflow in conversion from 'int' to 'char' changes value from '179' to '-77' [-Woverflow] + 1495 | 0x00, 0x05, 0xB3, "Asahi-Engineering Co., Ltd."}, { + | ^~~~ +oui.c:1496:21: warning: overflow in conversion from 'int' to 'char' changes value from '180' to '-76' [-Woverflow] + 1496 | 0x00, 0x05, 0xB4, "Aceex Corporation"}, { + | ^~~~ +oui.c:1497:21: warning: overflow in conversion from 'int' to 'char' changes value from '181' to '-75' [-Woverflow] + 1497 | 0x00, 0x05, 0xB5, "Broadcom Technologies"}, { + | ^~~~ +oui.c:1498:21: warning: overflow in conversion from 'int' to 'char' changes value from '182' to '-74' [-Woverflow] + 1498 | 0x00, 0x05, 0xB6, "INSYS Microelectronics GmbH"}, { + | ^~~~ +oui.c:1499:21: warning: overflow in conversion from 'int' to 'char' changes value from '183' to '-73' [-Woverflow] + 1499 | 0x00, 0x05, 0xB7, "Arbor Technology Corp."}, { + | ^~~~ +oui.c:1500:21: warning: overflow in conversion from 'int' to 'char' changes value from '184' to '-72' [-Woverflow] + 1500 | 0x00, 0x05, 0xB8, "Electronic Design Associates, Inc."}, { + | ^~~~ +oui.c:1501:21: warning: overflow in conversion from 'int' to 'char' changes value from '185' to '-71' [-Woverflow] + 1501 | 0x00, 0x05, 0xB9, "Airvana, Inc."}, { + | ^~~~ +common.c: In function 'connect_options': +common.c:311:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 311 | write(fd, message, strlen(message)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +common.c: In function 'exit_shell': +common.c:470:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 470 | system("sh"); + | ^~~~~~~~~~~~ +oui.c:1502:21: warning: overflow in conversion from 'int' to 'char' changes value from '186' to '-70' [-Woverflow] + 1502 | 0x00, 0x05, 0xBA, "Area Netwoeks, Inc."}, { + | ^~~~ +oui.c:1503:21: warning: overflow in conversion from 'int' to 'char' changes value from '187' to '-69' [-Woverflow] + 1503 | 0x00, 0x05, 0xBB, "Myspace AB"}, { + | ^~~~ +oui.c:1504:21: warning: overflow in conversion from 'int' to 'char' changes value from '188' to '-68' [-Woverflow] + 1504 | 0x00, 0x05, 0xBC, "Resorsys Ltd."}, { + | ^~~~ +oui.c:1505:21: warning: overflow in conversion from 'int' to 'char' changes value from '189' to '-67' [-Woverflow] + 1505 | 0x00, 0x05, 0xBD, "ROAX BV"}, { + | ^~~~ +oui.c:1506:21: warning: overflow in conversion from 'int' to 'char' changes value from '190' to '-66' [-Woverflow] + 1506 | 0x00, 0x05, 0xBE, "Kongsberg Seatex AS"}, { + | ^~~~ +oui.c:1507:21: warning: overflow in conversion from 'int' to 'char' changes value from '191' to '-65' [-Woverflow] + 1507 | 0x00, 0x05, 0xBF, "JustEzy Technology, Inc."}, { + | ^~~~ +oui.c:1508:21: warning: overflow in conversion from 'int' to 'char' changes value from '192' to '-64' [-Woverflow] + 1508 | 0x00, 0x05, 0xC0, "Digital Network Alacarte Co., Ltd."}, { + | ^~~~ +oui.c:1509:21: warning: overflow in conversion from 'int' to 'char' changes value from '193' to '-63' [-Woverflow] + 1509 | 0x00, 0x05, 0xC1, "A-Kyung Motion, Inc."}, { + | ^~~~ +oui.c:1510:21: warning: overflow in conversion from 'int' to 'char' changes value from '194' to '-62' [-Woverflow] + 1510 | 0x00, 0x05, 0xC2, "Digital Archway, Inc."}, { + | ^~~~ +oui.c:1511:21: warning: overflow in conversion from 'int' to 'char' changes value from '195' to '-61' [-Woverflow] + 1511 | 0x00, 0x05, 0xC3, "Pacific Instruments, Inc."}, { + | ^~~~ +oui.c:1512:21: warning: overflow in conversion from 'int' to 'char' changes value from '196' to '-60' [-Woverflow] + 1512 | 0x00, 0x05, 0xC4, "Telect, Inc."}, { + | ^~~~ +oui.c:1513:21: warning: overflow in conversion from 'int' to 'char' changes value from '197' to '-59' [-Woverflow] + 1513 | 0x00, 0x05, 0xC5, "Flaga HF"}, { + | ^~~~ +oui.c:1514:21: warning: overflow in conversion from 'int' to 'char' changes value from '198' to '-58' [-Woverflow] + 1514 | 0x00, 0x05, 0xC6, "Triz Communications"}, { + | ^~~~ +oui.c:1515:21: warning: overflow in conversion from 'int' to 'char' changes value from '199' to '-57' [-Woverflow] + 1515 | 0x00, 0x05, 0xC7, "I/F-COM A/S"}, { + | ^~~~ +oui.c:1516:21: warning: overflow in conversion from 'int' to 'char' changes value from '200' to '-56' [-Woverflow] + 1516 | 0x00, 0x05, 0xC8, "VERYTECH"}, { + | ^~~~ +oui.c:1517:21: warning: overflow in conversion from 'int' to 'char' changes value from '201' to '-55' [-Woverflow] + 1517 | 0x00, 0x05, 0xC9, "LG Innotek"}, { + | ^~~~ +oui.c:1518:21: warning: overflow in conversion from 'int' to 'char' changes value from '202' to '-54' [-Woverflow] + 1518 | 0x00, 0x05, 0xCA, "Hitron Technology, Inc."}, { + | ^~~~ +oui.c:1519:21: warning: overflow in conversion from 'int' to 'char' changes value from '203' to '-53' [-Woverflow] + 1519 | 0x00, 0x05, 0xCB, "ROIS Technologies, Inc."}, { + | ^~~~ +oui.c:1520:21: warning: overflow in conversion from 'int' to 'char' changes value from '204' to '-52' [-Woverflow] + 1520 | 0x00, 0x05, 0xCC, "Sumtel Communications, Inc."}, { + | ^~~~ +oui.c:1521:21: warning: overflow in conversion from 'int' to 'char' changes value from '205' to '-51' [-Woverflow] + 1521 | 0x00, 0x05, 0xCD, "Denon, Ltd."}, { + | ^~~~ +oui.c:1522:21: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 1522 | 0x00, 0x05, 0xCE, "Prolink Microsystems Corporation"}, { + | ^~~~ +oui.c:1523:21: warning: overflow in conversion from 'int' to 'char' changes value from '207' to '-49' [-Woverflow] + 1523 | 0x00, 0x05, 0xCF, "Thunder River Technologies, Inc."}, { + | ^~~~ +oui.c:1524:21: warning: overflow in conversion from 'int' to 'char' changes value from '208' to '-48' [-Woverflow] + 1524 | 0x00, 0x05, 0xD0, "Solinet Systems"}, { + | ^~~~ +oui.c:1525:21: warning: overflow in conversion from 'int' to 'char' changes value from '209' to '-47' [-Woverflow] + 1525 | 0x00, 0x05, 0xD1, "Metavector Technologies"}, { + | ^~~~ +oui.c:1526:21: warning: overflow in conversion from 'int' to 'char' changes value from '210' to '-46' [-Woverflow] + 1526 | 0x00, 0x05, 0xD2, "DAP Technologies"}, { + | ^~~~ +oui.c:1527:21: warning: overflow in conversion from 'int' to 'char' changes value from '211' to '-45' [-Woverflow] + 1527 | 0x00, 0x05, 0xD3, "eProduction Solutions, Inc."}, { + | ^~~~ +oui.c:1528:21: warning: overflow in conversion from 'int' to 'char' changes value from '212' to '-44' [-Woverflow] + 1528 | 0x00, 0x05, 0xD4, "FutureSmart Networks, Inc."}, { + | ^~~~ +oui.c:1529:21: warning: overflow in conversion from 'int' to 'char' changes value from '213' to '-43' [-Woverflow] + 1529 | 0x00, 0x05, 0xD5, "Speedcom Wireless"}, { + | ^~~~ +oui.c:1530:21: warning: overflow in conversion from 'int' to 'char' changes value from '214' to '-42' [-Woverflow] + 1530 | 0x00, 0x05, 0xD6, "Titan Wireless"}, { + | ^~~~ +oui.c:1531:21: warning: overflow in conversion from 'int' to 'char' changes value from '215' to '-41' [-Woverflow] + 1531 | 0x00, 0x05, 0xD7, "Vista Imaging, Inc."}, { + | ^~~~ oui.c:1532:21: warning: overflow in conversion from 'int' to 'char' changes value from '216' to '-40' [-Woverflow] 1532 | 0x00, 0x05, 0xD8, "Arescom, Inc."}, { | ^~~~ @@ -4454,6 +4493,14 @@ oui.c:1537:21: warning: overflow in conversion from 'int' to 'char' changes value from '221' to '-35' [-Woverflow] 1537 | 0x00, 0x05, 0xDD, "Cisco Systems, Inc."}, { | ^~~~ +file.c: In function 'get_opts': +file.c:387:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 387 | write(fd, buf, strlen(buf)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +file.c: In function 'save_Stations': +file.c:431:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 431 | write(fd, message, 13); + | ^~~~~~~~~~~~~~~~~~~~~~ oui.c:1538:21: warning: overflow in conversion from 'int' to 'char' changes value from '222' to '-34' [-Woverflow] 1538 | 0x00, 0x05, 0xDE, "Gi Fone Korea, Inc."}, { | ^~~~ @@ -4463,10 +4510,6 @@ oui.c:1540:21: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 1540 | 0x00, 0x05, 0xE0, "Empirix Corp."}, { | ^~~~ -common.c: In function 'connect_options': -common.c:311:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 311 | write(fd, message, strlen(message)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oui.c:1541:21: warning: overflow in conversion from 'int' to 'char' changes value from '225' to '-31' [-Woverflow] 1541 | 0x00, 0x05, 0xE1, "Trellis Photonics, Ltd."}, { | ^~~~ @@ -4476,13 +4519,9 @@ oui.c:1543:21: warning: overflow in conversion from 'int' to 'char' changes value from '227' to '-29' [-Woverflow] 1543 | 0x00, 0x05, 0xE3, "LightSand Communications, Inc."}, { | ^~~~ -common.c: In function 'exit_shell': oui.c:1544:21: warning: overflow in conversion from 'int' to 'char' changes value from '228' to '-28' [-Woverflow] 1544 | 0x00, 0x05, 0xE4, "Red Lion Controls L.P."}, { | ^~~~ -common.c:470:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 470 | system("sh"); - | ^~~~~~~~~~~~ oui.c:1545:21: warning: overflow in conversion from 'int' to 'char' changes value from '229' to '-27' [-Woverflow] 1545 | 0x00, 0x05, 0xE5, "Renishaw PLC"}, { | ^~~~ @@ -4873,13 +4912,6 @@ oui.c:1803:21: warning: overflow in conversion from 'int' to 'char' changes value from '231' to '-25' [-Woverflow] 1803 | 0x00, 0x06, 0xE7, "Bit Blitz Communications Inc."}, { | ^~~~ -common.c: In function 'connect_options': -common.c:294:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] - 294 | strncpy(label, message, strlen(message) + 1); - | ^ -common.c:294:33: note: length computed here - 294 | strncpy(label, message, strlen(message) + 1); - | ^~~~~~~~~~~~~~~ oui.c:1804:21: warning: overflow in conversion from 'int' to 'char' changes value from '232' to '-24' [-Woverflow] 1804 | 0x00, 0x06, 0xE8, "Optical Network Testing, Inc."}, { | ^~~~ @@ -5111,6 +5143,13 @@ oui.c:2011:21: warning: overflow in conversion from 'int' to 'char' changes value from '186' to '-70' [-Woverflow] 2011 | 0x00, 0x07, 0xBA, "Xebeo Communications, Inc."}, { | ^~~~ +common.c: In function 'connect_options': +common.c:294:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] + 294 | strncpy(label, message, strlen(message) + 1); + | ^ +common.c:294:33: note: length computed here + 294 | strncpy(label, message, strlen(message) + 1); + | ^~~~~~~~~~~~~~~ oui.c:2012:21: warning: overflow in conversion from 'int' to 'char' changes value from '187' to '-69' [-Woverflow] 2012 | 0x00, 0x07, 0xBB, "Confluence Networks"}, { | ^~~~ @@ -15831,7 +15870,6 @@ gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o ap-tftp.o ap-tftp.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o ap-rrd.o ap-rrd.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o ap-trapd.o ap-trapd.c -ap-config.c: In function '_auth': bridge.c: In function 'bridging': bridge.c:59:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 59 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x03, 0x00 @@ -15866,6 +15904,12 @@ bridge.c:97:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 97 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x03, 0x02, 0x00 | ^~~~ +bridge.c:100:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 100 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x03, 0x03, 0x00 + | ^~~~ +bridge.c:103:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 103 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x03, 0x04, 0x00 + | ^~~~ auth.c: In function 'atmel_auth': auth.c:58:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 58 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x06, 0x01, 0x00 @@ -15933,32 +15977,6 @@ auth.c:197:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 197 | varbinds[i].oid = ServerIP; | ^ -ap-config.c:144:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 144 | connect_options((unsigned long) NULL, (int) NULL); - | ^ -nwn_advanced.c: In function 'advanced': -nwn_advanced.c:30:70: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 30 | char smtStationDBTimeout[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x02, 0x01, 0x0F, 0x00 }; - | ^~~~ -nwn_advanced.c:31:63: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 31 | char smtACKWindow[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x02, 0x01, 22, 0x00 }; - | ^~~~ -ap-config.c: In function 'main': -ap-config.c:262:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 262 | connect_options((unsigned long) NULL, (int) NULL); - | ^ -nwn_advanced.c:43:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 43 | varbinds[0].oid = smtStationDBTimeout; - | ^ -nwn_advanced.c:45:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 45 | varbinds[1].oid = smtACKWindow; - | ^ -bridge.c:100:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 100 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x03, 0x03, 0x00 - | ^~~~ -bridge.c:103:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 103 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x03, 0x04, 0x00 - | ^~~~ bridge.c:107:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 107 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x01, 0x00 | ^~~~ @@ -16052,23 +16070,11 @@ bridge.c:192:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 192 | varbinds[i++].oid = operTrapPort; | ^ -nwn_advanced.c:101:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 101 | varbinds[i].oid = smtStationDBTimeout; - | ^ -nwn_advanced.c:103:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 103 | varbinds[i].value = message; - | ^ -nwn_advanced.c:109:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 109 | varbinds[i].oid = smtACKWindow; - | ^ bridge.c:203:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 203 | sprintf(message, "%s%02X%02X%02X%02X%02X%02X", MAC, | ^~~~~~~ | | | unsigned char * -nwn_advanced.c:111:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 111 | varbinds[i].value = &ackwindow; - | ^ In file included from /usr/include/features.h:489, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, @@ -16127,9 +16133,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -auth.c:292:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 292 | varbinds[0].oid = AutorizedMac; - | ^ bridge.c:222:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 222 | mvwaddstr(main_sub, 2, 0, message); | ^~~~~~~~~ @@ -16138,9 +16141,9 @@ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ -auth.c:294:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 294 | varbinds[0].value = (char *) &get; - | ^ +auth.c:292:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 292 | varbinds[0].oid = AutorizedMac; + | ^ bridge.c:225:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 225 | sprintf(message, "%s%s", IP_FILTER, (filter == 1) ? ON : OFF); | ^~~~~~~ @@ -16149,6 +16152,9 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +auth.c:294:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 294 | varbinds[0].value = (char *) &get; + | ^ bridge.c:226:5: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 226 | mvwaddstr(main_sub, 3, 0, message); | ^~~~~~~~~ @@ -16237,6 +16243,55 @@ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ +aplink.c: In function 'atmel_aplink': +aplink.c:48:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 48 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x01, 0x00 + | ^~~~ +aplink.c:56:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 56 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x08, 0x01, 0x00 + | ^~~~ +aplink.c:97:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 97 | bridgeOperationalMode[5] = 0xE0; + | ^~~~ +aplink.c:100:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 100 | NetworkSettings[5] = 0xE0; + | ^~~~ +auth.c:595:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 595 | varbinds[0].oid = AutorizedMac; + | ^ +aplink.c:113:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 113 | varbinds[0].oid = bridgeOperationalMode; + | ^ +aplink.c:115:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 115 | varbinds[0].value = bridgeOperationalMode; + | ^ +auth.c:597:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 597 | varbinds[0].value = (char *) &get; + | ^ +auth.c:618:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 618 | varbinds[i].oid = AuthorizationMacEnable; + | ^ +auth.c:620:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 620 | varbinds[i].value = (char *) &c; + | ^ +auth.c:627:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 627 | varbinds[i].oid = AuthRadiusPort; + | ^ +aplink.c:175:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 175 | varbinds[0].oid = NetworkSettings; + | ^ +auth.c:630:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 630 | varbinds[i].value = (char *) &ea_port; + | ^ +aplink.c:177:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 177 | varbinds[0].value = NetworkSettings; + | ^ +auth.c:638:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 638 | varbinds[i].oid = AuthRadiusIP; + | ^ +auth.c:643:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 643 | varbinds[i].oid = ServerIP; + | ^ bridge.c:272:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 272 | sprintf(message, "%s%s", CF_PORT, cf_ports[config_port - 1]); | ^~~~~~~ @@ -16285,9 +16340,6 @@ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ -auth.c:595:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 595 | varbinds[0].oid = AutorizedMac; - | ^ bridge.c:284:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 284 | sprintf(message, "%s%s", SB_UCAST, (sb_ucast == 1) ? ON : OFF); | ^~~~~~~ @@ -16296,9 +16348,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -auth.c:597:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 597 | varbinds[0].value = (char *) &get; - | ^ bridge.c:285:9: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 285 | mvwaddstr(main_sub, 12, 0, message); | ^~~~~~~~~ @@ -16315,9 +16364,6 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -auth.c:618:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 618 | varbinds[i].oid = AuthorizationMacEnable; - | ^ bridge.c:294:9: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 294 | mvwaddstr(main_sub, 13, 0, message); | ^~~~~~~~~ @@ -16326,21 +16372,6 @@ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ -auth.c:620:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 620 | varbinds[i].value = (char *) &c; - | ^ -auth.c:627:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 627 | varbinds[i].oid = AuthRadiusPort; - | ^ -auth.c:630:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 630 | varbinds[i].value = (char *) &ea_port; - | ^ -auth.c:638:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 638 | varbinds[i].oid = AuthRadiusIP; - | ^ -auth.c:643:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 643 | varbinds[i].oid = ServerIP; - | ^ bridge.c:349:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 349 | sprintf(message, "%02X%02X%02X%02X%02X%02X", | ^~~~~~~ @@ -16354,9 +16385,6 @@ | ^~~~~~~ | | | unsigned char * -auth.c:649:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 649 | varbinds[i].value = (char *) &ea_ip.s_addr; - | ^ ../lib/ap-utils.h:394:45: note: expected 'char *' but argument is of type 'unsigned char *' 394 | extern void print_menusel(int, int, char *, char *); | ^~~~~~ @@ -16365,24 +16393,35 @@ | ^~~~~~~~~~~ | | | unsigned char * -auth.c:656:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 656 | varbinds[i].oid = Dot1xEnable; - | ^ ../lib/ap-utils.h:403:21: note: expected 'char *' but argument is of type 'unsigned char *' 403 | extern void get_mac(char *, int, int); | ^~~~~~ +ap-config.c: In function '_auth': +auth.c:649:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 649 | varbinds[i].value = (char *) &ea_ip.s_addr; + | ^ +ap-config.c:144:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 144 | connect_options((unsigned long) NULL, (int) NULL); + | ^ +auth.c:656:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 656 | varbinds[i].oid = Dot1xEnable; + | ^ +aplink.c:331:59: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] + 331 | sprintf(message, "] [%4ddBm] [%3u%%] / last %2u sam.", + | ~~^ + | | + | unsigned int + | %2lu + 332 | dbmconv(rssi_rou), rssi_rou_perc, sizeof(ringbuf)); + | ~~~~~~~~~~~~~~~ + | | + | long unsigned int auth.c:659:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 659 | varbinds[i].value = (char *) &ea_mode; | ^ auth.c:666:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 666 | varbinds[i].oid = AuthRadiusDestinPort; | ^ -auth.c:669:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 669 | varbinds[i].value = (char *) &ea_dest_port; - | ^ -auth.c:679:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 679 | varbinds[i].oid = AuthRadiusSecretLength; - | ^ bridge.c:429:27: warning: pointer targets in passing argument 1 of 'get_value' differ in signedness [-Wpointer-sign] 429 | get_value(message, 13, strlen(TRAP_PORT), 6, INT_STRING, | ^~~~~~~ @@ -16391,78 +16430,105 @@ ../lib/ap-utils.h:406:23: note: expected 'char *' but argument is of type 'unsigned char *' 406 | extern void get_value(char *, int, int, int, char, unsigned int, unsigned int, | ^~~~~~ +aplink.c:363:32: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] + 363 | waddnstr(main_sub, ESSID, ESSLEN); + | ^~~~~ + | | + | unsigned char * bridge.c:431:34: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 431 | trap_port = atoi(message); | ^~~~~~~ | | | unsigned char * -auth.c:681:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 681 | varbinds[i].value = (char *) &c; - | ^ +auth.c:669:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 669 | varbinds[i].value = (char *) &ea_dest_port; + | ^ /usr/include/stdlib.h:362:1: note: expected 'const char *' but argument is of type 'unsigned char *' 362 | __NTH (atoi (const char *__nptr)) | ^~~~~ -auth.c:686:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 686 | varbinds[i].oid = AuthRadiusSecret; - | ^ bridge.c:439:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 439 | varbinds[i].oid = operIPFilter; | ^ +In file included from ../lib/ap-curses.h:25, + from ../lib/ap-utils.h:41, + from aplink.c:23: +/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' + 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ + | ^~~~~~~~~~~~ bridge.c:442:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 442 | varbinds[i].value = (char *) &filter; | ^ -auth.c:691:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 691 | varbinds[i].oid = ServerSecret; +auth.c:679:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 679 | varbinds[i].oid = AuthRadiusSecretLength; | ^ bridge.c:447:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 447 | varbinds[i].oid = operPrimaryPort; | ^ -auth.c:695:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 695 | varbinds[i].value = ea_secret; - | ^ +auth.c:681:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 681 | varbinds[i].value = (char *) &c; + | ^ bridge.c:450:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 450 | varbinds[i].value = (char *) &primary_port; | ^ bridge.c:455:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 455 | varbinds[i].oid = operDHCP; | ^ -auth.c:703:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 703 | varbinds[i].oid = AuthRadiusReauthorizationTime; +ap-config.c: In function 'main': +auth.c:686:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 686 | varbinds[i].oid = AuthRadiusSecret; | ^ +ap-config.c:262:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 262 | connect_options((unsigned long) NULL, (int) NULL); + | ^ bridge.c:458:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 458 | varbinds[i].value = (char *) &dhcp; | ^ -auth.c:708:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 708 | varbinds[i].oid = BroadcastKeyPeriod; +auth.c:691:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 691 | varbinds[i].oid = ServerSecret; | ^ -auth.c:713:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 713 | varbinds[i].value = (char *) &ea_time; - | ^ -auth.c: In function 'nwn_auth_mac': -auth.c:801:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 801 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x03, 0x02, - | ^~~~ -auth.c:805:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 805 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x03, 0x02, - | ^~~~ -auth.c:809:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 809 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x03, 0x02, - | ^~~~ bridge.c:463:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 463 | varbinds[i].oid = operIPAddress; | ^ +auth.c:695:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 695 | varbinds[i].value = ea_secret; + | ^ bridge.c:467:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 467 | varbinds[i].value = (char *) &ip.s_addr; | ^ bridge.c:473:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 473 | varbinds[i].oid = operIPMask; | ^ +auth.c:703:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 703 | varbinds[i].oid = AuthRadiusReauthorizationTime; + | ^ bridge.c:477:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 477 | varbinds[i].value = (char *) &mask.s_addr; | ^ +auth.c:708:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 708 | varbinds[i].oid = BroadcastKeyPeriod; + | ^ bridge.c:483:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 483 | varbinds[i].oid = operGateway; | ^ +auth.c:713:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 713 | varbinds[i].value = (char *) &ea_time; + | ^ +auth.c: In function 'nwn_auth_mac': +auth.c:801:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 801 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x03, 0x02, + | ^~~~ +auth.c:805:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 805 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x03, 0x02, + | ^~~~ +auth.c:809:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 809 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x03, 0x02, + | ^~~~ +auth.c:813:11: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] + 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; + | ^~~~ +auth.c:813:17: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] + 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; + | ^~~~ bridge.c:487:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 487 | varbinds[i].value = (char *) &gw.s_addr; | ^ @@ -16487,45 +16553,39 @@ bridge.c:525:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 525 | varbinds[i].oid = operForwarbBcast; | ^ -auth.c:813:11: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] - 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; - | ^~~~ bridge.c:528:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 528 | varbinds[i].value = (char *) &fw_bcast; | ^ -auth.c:813:17: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] - 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; - | ^~~~ bridge.c:533:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 533 | varbinds[i].oid = operSendBackBcast; | ^ bridge.c:536:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 536 | varbinds[i].value = (char *) &sb_bcast; | ^ -auth.c:813:23: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] - 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; - | ^~~~ bridge.c:541:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 541 | varbinds[i].oid = operSendBackUnicast; | ^ -auth.c:813:29: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] - 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; - | ^~~~ bridge.c:544:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 544 | varbinds[i].value = (char *) &sb_ucast; | ^ -auth.c:813:35: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] - 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; - | ^~~~ bridge.c:552:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 552 | varbinds[i].oid = operTrapPort; | ^ -auth.c:813:41: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] - 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; - | ^~~~ bridge.c:555:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 555 | varbinds[i].value = (char *) &trap_port; | ^ +auth.c:813:23: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] + 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; + | ^~~~ +auth.c:813:29: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] + 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; + | ^~~~ +auth.c:813:35: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] + 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; + | ^~~~ +auth.c:813:41: warning: overflow in conversion from 'int' to 'char' changes value from '255' to '-1' [-Woverflow] + 813 | { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; + | ^~~~ auth.c:824:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 824 | varbinds[0].oid = Mac; | ^ @@ -16556,6 +16616,198 @@ auth.c:879:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 879 | varbinds[0].value = Mac; | ^ +nwn_advanced.c: In function 'advanced': +nwn_advanced.c:30:70: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 30 | char smtStationDBTimeout[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x02, 0x01, 0x0F, 0x00 }; + | ^~~~ +nwn_advanced.c:31:63: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 31 | char smtACKWindow[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x02, 0x01, 22, 0x00 }; + | ^~~~ +nwn_advanced.c:43:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 43 | varbinds[0].oid = smtStationDBTimeout; + | ^ +nwn_advanced.c:45:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 45 | varbinds[1].oid = smtACKWindow; + | ^ +auth.c:949:25: warning: pointer targets in passing argument 1 of 'get_mac' differ in signedness [-Wpointer-sign] + 949 | get_mac(curr->addr, 1, strlen(MAC_ADD)); + | ~~~~^~~~~~ + | | + | unsigned char * +nwn_latest.c: In function 'latest': +In file included from auth.c:25: +../lib/ap-utils.h:403:21: note: expected 'char *' but argument is of type 'unsigned char *' + 403 | extern void get_mac(char *, int, int); + | ^~~~~~ +nwn_latest.c:35:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 35 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x0f, 0x01 }; + | ^~~~ +nwn_latest.c:35:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 35 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x0f, 0x01 }; + | ^~~~ +nwn_advanced.c:101:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 101 | varbinds[i].oid = smtStationDBTimeout; + | ^ +nwn_latest.c:37:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 37 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x10, 0x01 }; + | ^~~~ +nwn_latest.c:37:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 37 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x10, 0x01 }; + | ^~~~ +nwn_advanced.c:103:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 103 | varbinds[i].value = message; + | ^ +nwn_latest.c:39:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 39 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x11, 0x01 }; + | ^~~~ +nwn_latest.c:39:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 39 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x11, 0x01 }; + | ^~~~ +nwn_advanced.c:109:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 109 | varbinds[i].oid = smtACKWindow; + | ^ +nwn_latest.c:41:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 41 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x12, 0x01 }; + | ^~~~ +nwn_latest.c:41:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 41 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x12, 0x01 }; + | ^~~~ +nwn_advanced.c:111:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 111 | varbinds[i].value = &ackwindow; + | ^ +nwn_latest.c:43:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 43 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x13, 0x01 }; + | ^~~~ +nwn_latest.c:43:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 43 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x13, 0x01 }; + | ^~~~ +auth.c:967:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 967 | varbinds[0].oid = Mac; + | ^ +nwn_latest.c:45:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] + 45 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x14, 0x01 }; + | ^~~~ +nwn_latest.c:45:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] + 45 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x14, 0x01 }; + | ^~~~ +nwn_latest.c:47:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 47 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x03, 0x02, + | ^~~~ +nwn_latest.c:51:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] + 51 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x03, 0x02, + | ^~~~ +nwn_latest.c:62:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 62 | varbinds[i].value = oid_dot11DisassociateReason; + | ^ +auth.c:969:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 969 | varbinds[0].value = Mac; + | ^ +nwn_latest.c:66:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 66 | varbinds[0].oid = oid_dot11DisassociateReason; + | ^ +nwn_latest.c:68:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 68 | varbinds[1].oid = oid_dot11DisassociateStation; + | ^ +nwn_latest.c:70:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 70 | varbinds[2].oid = oid_dot11DeauthenticateReason; + | ^ +nwn_latest.c:72:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 72 | varbinds[3].oid = oid_dot11DeauthenticateStation; + | ^ +nwn_latest.c:74:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 74 | varbinds[4].oid = oid_dot11AuthenticateFailStatus; + | ^ +nwn_latest.c:76:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 76 | varbinds[5].oid = oid_dot11AuthenticateFailStation; + | ^ +nwn_latest.c:78:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 78 | varbinds[6].oid = oid_secLastError; + | ^ +nwn_latest.c:80:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 80 | varbinds[7].oid = oid_secLastErrorAddress; + | ^ +auth.c:980:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 980 | varbinds[0].oid = MacRowStatus; + | ^ +auth.c:982:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 982 | varbinds[0].value = &destroy; + | ^ +auth.c:989:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 989 | varbinds[0].oid = Mac; + | ^ +auth.c:991:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 991 | varbinds[0].value = Mac; + | ^ +auth.c:1009:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1009 | varbinds[0].oid = MacRowStatus; + | ^ +auth.c:1011:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1011 | varbinds[0].value = &create; + | ^ +auth.c:1014:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1014 | varbinds[1].oid = Mac; + | ^ +auth.c:1016:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1016 | varbinds[1].value = auth_enable; + | ^ +auth.c:1019:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1019 | varbinds[2].oid = MacAllow; + | ^ +auth.c:1021:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1021 | varbinds[2].value = &allow; + | ^ +auth.c:1040:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1040 | varbinds[0].oid = MacRowStatus; + | ^ +auth.c:1042:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1042 | varbinds[0].value = &create; + | ^ +auth.c:1045:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1045 | varbinds[1].oid = Mac; + | ^ +auth.c:1050:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1050 | varbinds[2].oid = MacAllow; + | ^ +auth.c:1052:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 1052 | varbinds[2].value = &allow; + | ^ +stations.c: In function 'atmel_stations': +stations.c:39:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 39 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x01, 0x00 + | ^~~~ +stations.c:42:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 42 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x05, 0x01, 0x00 + | ^~~~ +stations.c:45:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 45 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x05, 0x02, 0x00 + | ^~~~ +stations.c:60:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 60 | bridgeOperationalMode[5] = 0xE0; + | ^~~~ +stations.c:62:32: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 62 | AssociatedSTAsNum[5] = 0xE0; + | ^~~~ +stations.c:64:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 64 | AssociatedSTAsInfo[5] = 0xE0; + | ^~~~ +stations.c:69:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 69 | varbinds[0].oid = bridgeOperationalMode; + | ^ +stations.c:71:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 71 | varbinds[0].value = bridgeOperationalMode; + | ^ +stations.c:97:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 97 | varbinds[0].oid = AssociatedSTAsNum; + | ^ +stations.c:99:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 99 | varbinds[0].value = AssociatedSTAsNum; + | ^ +stations.c:123:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 123 | varbinds[0].oid = AssociatedSTAsInfo; + | ^ +stations.c:127:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 127 | varbinds[0].value = (char *)&ap_410; + | ^ ap-mrtg.c: In function 'main': ap-mrtg.c:83:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 83 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x01, 0x00 @@ -16581,21 +16833,6 @@ ap-mrtg.c:104:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 104 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x07, 0x01, 0x00 | ^~~~ -auth.c:949:25: warning: pointer targets in passing argument 1 of 'get_mac' differ in signedness [-Wpointer-sign] - 949 | get_mac(curr->addr, 1, strlen(MAC_ADD)); - | ~~~~^~~~~~ - | | - | unsigned char * -In file included from auth.c:25: -../lib/ap-utils.h:403:21: note: expected 'char *' but argument is of type 'unsigned char *' - 403 | extern void get_mac(char *, int, int); - | ^~~~~~ -auth.c:967:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 967 | varbinds[0].oid = Mac; - | ^ -auth.c:969:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 969 | varbinds[0].value = Mac; - | ^ ap-mrtg.c:178:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 178 | varbinds[0].oid = sysDescr_NWN; | ^ @@ -16605,18 +16842,12 @@ ap-mrtg.c:194:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 194 | sysDescr_ATMEL[5] = 0xE0; | ^~~~ -auth.c:980:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 980 | varbinds[0].oid = MacRowStatus; - | ^ ap-mrtg.c:196:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 196 | varbinds[0].oid = sysDescr_ATMEL; | ^ ap-mrtg.c:217:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 217 | bridgeOperationalMode[5] = 0xE0; | ^~~~ -auth.c:982:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 982 | varbinds[0].value = &destroy; - | ^ ap-mrtg.c:219:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 219 | EthRxStatistics[5] = 0xE0; | ^~~~ @@ -16632,9 +16863,6 @@ ap-mrtg.c:227:32: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 227 | AssociatedSTAsNum[5] = 0xE0; | ^~~~ -auth.c:989:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 989 | varbinds[0].oid = Mac; - | ^ ap-mrtg.c:229:31: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 229 | wirelessKnownAPs[5] = 0xE0; | ^~~~ @@ -16647,9 +16875,6 @@ ap-mrtg.c:241:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 241 | varbinds[1].oid = EthTxStatistics; | ^ -auth.c:991:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 991 | varbinds[0].value = Mac; - | ^ ap-mrtg.c:243:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 243 | varbinds[1].value = EthTxStatistics; | ^ @@ -16659,15 +16884,9 @@ ap-mrtg.c:260:13: warning: format not a string literal and no format arguments [-Wformat-security] 260 | printf(ERR_STR); | ^~~~~~ -auth.c:1009:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1009 | varbinds[0].oid = MacRowStatus; - | ^ ap-mrtg.c:272:13: warning: format not a string literal and no format arguments [-Wformat-security] 272 | printf(ERR_STR); | ^~~~~~ -auth.c:1011:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1011 | varbinds[0].value = &create; - | ^ ap-mrtg.c:283:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 283 | varbinds[0].oid = wirelessStatistics; | ^ @@ -16677,24 +16896,15 @@ ap-mrtg.c:290:13: warning: format not a string literal and no format arguments [-Wformat-security] 290 | printf(ERR_STR); | ^~~~~~ -auth.c:1014:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1014 | varbinds[1].oid = Mac; - | ^ ap-mrtg.c:305:13: warning: format not a string literal and no format arguments [-Wformat-security] 305 | printf(ERR_STR); | ^~~~~~ -auth.c:1016:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1016 | varbinds[1].value = auth_enable; - | ^ ap-mrtg.c:318:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 318 | varbinds[0].oid = AssociatedSTAsNum; | ^ ap-mrtg.c:320:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 320 | varbinds[0].value = AssociatedSTAsNum; | ^ -auth.c:1019:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1019 | varbinds[2].oid = MacAllow; - | ^ ap-mrtg.c:325:13: warning: format not a string literal and no format arguments [-Wformat-security] 325 | printf(ERR_STR); | ^~~~~~ @@ -16704,9 +16914,6 @@ ap-mrtg.c:339:13: warning: format not a string literal and no format arguments [-Wformat-security] 339 | printf(ERR_STR); | ^~~~~~ -auth.c:1021:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1021 | varbinds[2].value = &allow; - | ^ ap-mrtg.c:344:13: warning: format not a string literal and no format arguments [-Wformat-security] 344 | printf(ERR_STR); | ^~~~~~ @@ -16716,27 +16923,15 @@ ap-mrtg.c:356:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 356 | varbinds[0].oid = wirelessKnownAPs; | ^ -auth.c:1040:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1040 | varbinds[0].oid = MacRowStatus; - | ^ ap-mrtg.c:362:13: warning: format not a string literal and no format arguments [-Wformat-security] 362 | printf(ERR_STR); | ^~~~~~ -auth.c:1042:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1042 | varbinds[0].value = &create; - | ^ ap-mrtg.c:387:13: warning: format not a string literal and no format arguments [-Wformat-security] 387 | printf(ERR_STR); | ^~~~~~ -auth.c:1045:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1045 | varbinds[1].oid = Mac; - | ^ ap-mrtg.c:397:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 397 | varbinds[0].oid = operAccessPointName; | ^ -auth.c:1050:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1050 | varbinds[2].oid = MacAllow; - | ^ ap-mrtg.c:406:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 406 | for (i = 0; i < 32 && *(varbinds[0].value + i); i++) | ^~~ @@ -16748,160 +16943,28 @@ | ~~~~~~~~~~~^~~~~~ | | | unsigned char * -auth.c:1052:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 1052 | varbinds[2].value = &allow; - | ^ In file included from ap-mrtg.c:22: /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -nwn_latest.c: In function 'latest': -nwn_latest.c:35:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 35 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x0f, 0x01 }; - | ^~~~ -aplink.c: In function 'atmel_aplink': -aplink.c:48:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 48 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x01, 0x00 - | ^~~~ -aplink.c:56:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 56 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x08, 0x01, 0x00 - | ^~~~ -nwn_latest.c:35:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 35 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x0f, 0x01 }; - | ^~~~ -nwn_latest.c:37:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 37 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x10, 0x01 }; - | ^~~~ -nwn_latest.c:37:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 37 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x10, 0x01 }; - | ^~~~ -nwn_latest.c:39:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 39 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x11, 0x01 }; - | ^~~~ -aplink.c:97:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 97 | bridgeOperationalMode[5] = 0xE0; - | ^~~~ -nwn_latest.c:39:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 39 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x11, 0x01 }; - | ^~~~ -aplink.c:100:30: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 100 | NetworkSettings[5] = 0xE0; - | ^~~~ -nwn_latest.c:41:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 41 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x12, 0x01 }; - | ^~~~ -nwn_latest.c:41:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 41 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x12, 0x01 }; - | ^~~~ -nwn_latest.c:43:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 43 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x13, 0x01 }; - | ^~~~ -nwn_latest.c:43:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 43 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x13, 0x01 }; - | ^~~~ -nwn_latest.c:45:17: warning: overflow in conversion from 'int' to 'char' changes value from '134' to '-122' [-Woverflow] - 45 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x14, 0x01 }; - | ^~~~ -aplink.c:113:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 113 | varbinds[0].oid = bridgeOperationalMode; - | ^ -nwn_latest.c:45:29: warning: overflow in conversion from 'int' to 'char' changes value from '206' to '-50' [-Woverflow] - 45 | { 0x2a, 0x86, 0x48, 0xce, 0x34, 0x01, 0x01, 0x01, 0x14, 0x01 }; - | ^~~~ -aplink.c:115:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 115 | varbinds[0].value = bridgeOperationalMode; - | ^ -nwn_latest.c:47:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 47 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x03, 0x02, - | ^~~~ -nwn_latest.c:51:41: warning: overflow in conversion from 'int' to 'char' changes value from '135' to '-121' [-Woverflow] - 51 | { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x87, 0x29, 0x03, 0x01, 0x03, 0x02, - | ^~~~ -nwn_latest.c:62:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 62 | varbinds[i].value = oid_dot11DisassociateReason; - | ^ -nwn_latest.c:66:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 66 | varbinds[0].oid = oid_dot11DisassociateReason; - | ^ -nwn_latest.c:68:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 68 | varbinds[1].oid = oid_dot11DisassociateStation; - | ^ -nwn_latest.c:70:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 70 | varbinds[2].oid = oid_dot11DeauthenticateReason; - | ^ -nwn_latest.c:72:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 72 | varbinds[3].oid = oid_dot11DeauthenticateStation; - | ^ -nwn_latest.c:74:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 74 | varbinds[4].oid = oid_dot11AuthenticateFailStatus; - | ^ -nwn_latest.c:76:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 76 | varbinds[5].oid = oid_dot11AuthenticateFailStation; - | ^ -nwn_latest.c:78:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 78 | varbinds[6].oid = oid_secLastError; - | ^ -nwn_latest.c:80:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 80 | varbinds[7].oid = oid_secLastErrorAddress; - | ^ -aplink.c:175:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 175 | varbinds[0].oid = NetworkSettings; - | ^ -aplink.c:177:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 177 | varbinds[0].value = NetworkSettings; - | ^ -stations.c: In function 'atmel_stations': -stations.c:39:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 39 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x04, 0x01, 0x00 - | ^~~~ -stations.c:42:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 42 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x05, 0x01, 0x00 - | ^~~~ -stations.c:45:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 45 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x05, 0x02, 0x00 - | ^~~~ -stations.c:60:36: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 60 | bridgeOperationalMode[5] = 0xE0; - | ^~~~ -stations.c:62:32: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 62 | AssociatedSTAsNum[5] = 0xE0; - | ^~~~ -stations.c:64:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 64 | AssociatedSTAsInfo[5] = 0xE0; - | ^~~~ -stations.c:69:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 69 | varbinds[0].oid = bridgeOperationalMode; - | ^ -stations.c:71:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 71 | varbinds[0].value = bridgeOperationalMode; - | ^ -aplink.c:331:59: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] - 331 | sprintf(message, "] [%4ddBm] [%3u%%] / last %2u sam.", - | ~~^ - | | - | unsigned int - | %2lu - 332 | dbmconv(rssi_rou), rssi_rou_perc, sizeof(ringbuf)); - | ~~~~~~~~~~~~~~~ - | | - | long unsigned int -stations.c:97:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 97 | varbinds[0].oid = AssociatedSTAsNum; - | ^ -stations.c:99:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 99 | varbinds[0].value = AssociatedSTAsNum; - | ^ -stations.c:123:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 123 | varbinds[0].oid = AssociatedSTAsInfo; - | ^ -stations.c:127:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 127 | varbinds[0].value = (char *)&ap_410; - | ^ -aplink.c:363:32: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] - 363 | waddnstr(main_sub, ESSID, ESSLEN); - | ^~~~~ - | | - | unsigned char * +ap-tftp.c: In function 'tftp': +ap-tftp.c:241:52: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] + 241 | (struct sockaddr *) &from, &fromlen); + | ^~~~~~~~ + | | + | int * +In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343, + from ap-tftp.c:53: +/usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' + 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +ap-tftp.c: In function 'main': +ap-tftp.c:543:47: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 543 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, + | ^~~~ +ap-tftp.c:554:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 554 | varbinds[0].oid = AuthRadiusIP; + | ^ ap-rrd.c: In function 'main': ap-rrd.c:82:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 82 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x03, 0x01, @@ -16924,20 +16987,9 @@ ap-rrd.c:106:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 106 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, | ^~~~ -ap-tftp.c: In function 'tftp': ap-rrd.c:161:29: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 161 | Wireless[5] = 0xE0; | ^~~~ -ap-tftp.c:241:52: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] - 241 | (struct sockaddr *) &from, &fromlen); - | ^~~~~~~~ - | | - | int * -In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343, - from ap-tftp.c:53: -/usr/include/x86_64-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' - 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ap-rrd.c:163:26: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] 163 | EthRx[5] = 0xE0; | ^~~~ @@ -16968,22 +17020,13 @@ ap-rrd.c:207:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 207 | varbinds[1].value = EthTx; | ^ -ap-tftp.c: In function 'main': -ap-tftp.c:543:47: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 543 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, - | ^~~~ -ap-tftp.c:554:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 554 | varbinds[0].oid = AuthRadiusIP; - | ^ +ap-tftp.c: In function 'tftp': +ap-tftp.c:258:29: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 258 | write(fileno(stdout), buf2, strlen(buf2)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ap-rrd.c:247:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 247 | varbinds[0].oid = Wireless; | ^ -In file included from ../lib/ap-curses.h:25, - from ../lib/ap-utils.h:41, - from aplink.c:23: -/usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' - 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ - | ^~~~~~~~~~~~ ap-rrd.c:249:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 249 | varbinds[0].value = Wireless; | ^ @@ -17002,13 +17045,37 @@ ap-rrd.c:93:10: warning: variable 'operAccessPointName' set but not used [-Wunused-but-set-variable] 93 | char operAccessPointName[] = | ^~~~~~~~~~~~~~~~~~~ -ap-tftp.c: In function 'tftp': -ap-tftp.c:258:29: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 258 | write(fileno(stdout), buf2, strlen(buf2)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ap-auth.c: In function 'main': +ap-auth.c:113:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 113 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x01, 0x00 + | ^~~~ +ap-auth.c:116:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 116 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x06, 0x02, 0x00 + | ^~~~ +ap-auth.c:177:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 177 | varbinds[0].oid = sysDescr_NWN; + | ^ +ap-auth.c:185:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 185 | varbinds[0].oid = sysDescr_ATMEL; + | ^ +ap-auth.c:193:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 193 | sysDescr_ATMEL[5] = 0xE0; + | ^~~~ +ap-auth.c:195:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 195 | varbinds[0].oid = sysDescr_ATMEL; + | ^ +ap-auth.c:216:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] + 216 | AutorizedMac_ATMEL[5] = 0xE0; + | ^~~~ +ap-auth.c:232:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 232 | varbinds[0].oid = AutorizedMac_ATMEL; + | ^ ap-rrd.c:240:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 240 | system(cmd); | ^~~~~~~~~~~ +ap-auth.c:234:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 234 | varbinds[0].value = (char *) &get; + | ^ ap-rrd.c:275:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 275 | system(cmd); | ^~~~~~~~~~~ @@ -17018,6 +17085,24 @@ ap-rrd.c:345:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 345 | system(cmd); | ^~~~~~~~~~~ +ap-tftp.c:180:19: warning: 'read' writing 512 bytes into a region of size 510 overflows the destination [-Wstringop-overflow=] + 180 | len = read(localfd, cp, tftp_bufsize); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ap-tftp.c:126:17: note: at offset 4 into destination object of size 512 allocated by 'malloc' + 126 | char *buf = malloc(tftp_bufsize); + | ^~~~~~~~~~~~~~~~~~~~ +ap-tftp.c:126:17: note: at offset [2, 512] into destination object of size 512 allocated by 'malloc' +In file included from /usr/include/unistd.h:1214, + from ap-tftp.c:59: +/usr/include/x86_64-linux-gnu/bits/unistd.h:36:1: note: in a call to function 'read' declared with attribute 'access (write_only, 2, 3)' + 36 | read (int __fd, void *__buf, size_t __nbytes) + | ^~~~ +ap-auth.c:348:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 348 | varbinds[0].oid = AutorizedMac_ATMEL; + | ^ +ap-auth.c:350:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 350 | varbinds[0].value = (char *) &get; + | ^ ap-trapd.c: In function 'main': ap-trapd.c:56:52: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 56 | char enterprise_410[] = { 0x2b, 0x06, 1, 4, 1, 0x83, 0x1a, 1, 1 }; @@ -17035,58 +17120,42 @@ ap-trapd.c:185:67: note: format string is defined here 185 | syslog(LOG_ERR, _("Unable to process username %s. Error: %m."), | ^ -ap-tftp.c:180:19: warning: 'read' writing 512 bytes into a region of size 510 overflows the destination [-Wstringop-overflow=] - 180 | len = read(localfd, cp, tftp_bufsize); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ap-trapd.c:311:17: warning: format '%d' expects argument of type 'int', but argument 12 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 311 | ("Agent:v%d %s (%s@%s:%d) Trap %i: %s%s%s. " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/ap-utils.h:52:28: note: in definition of macro '_' 52 | #define _(String) gettext (String) | ^~~~~~ +In file included from /usr/include/features.h:489, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from ap-tftp.c:49: +In function 'read', + inlined from 'tftp' at ap-tftp.c:180:12: +/usr/include/x86_64-linux-gnu/bits/unistd.h:38:10: warning: '__read_alias' writing 512 bytes into a region of size 510 overflows the destination [-Wstringop-overflow=] + 38 | return __glibc_fortify (read, __nbytes, sizeof (char), + | ^~~~~~~~~~~~~~~ +ap-tftp.c: In function 'tftp': ap-tftp.c:126:17: note: at offset 4 into destination object of size 512 allocated by 'malloc' 126 | char *buf = malloc(tftp_bufsize); | ^~~~~~~~~~~~~~~~~~~~ ap-tftp.c:126:17: note: at offset [2, 512] into destination object of size 512 allocated by 'malloc' -In file included from /usr/include/unistd.h:1214, - from ap-tftp.c:59: -/usr/include/x86_64-linux-gnu/bits/unistd.h:36:1: note: in a call to function 'read' declared with attribute 'access (write_only, 2, 3)' - 36 | read (int __fd, void *__buf, size_t __nbytes) - | ^~~~ -ap-auth.c: In function 'main': -ap-auth.c:113:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 113 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x01, 0x00 - | ^~~~ -ap-auth.c:116:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 116 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x06, 0x02, 0x00 - | ^~~~ -ap-auth.c:177:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 177 | varbinds[0].oid = sysDescr_NWN; - | ^ -ap-auth.c:185:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 185 | varbinds[0].oid = sysDescr_ATMEL; - | ^ -ap-auth.c:193:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 193 | sysDescr_ATMEL[5] = 0xE0; - | ^~~~ -ap-auth.c:195:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 195 | varbinds[0].oid = sysDescr_ATMEL; - | ^ -ap-auth.c:216:33: warning: overflow in conversion from 'int' to 'char' changes value from '224' to '-32' [-Woverflow] - 216 | AutorizedMac_ATMEL[5] = 0xE0; - | ^~~~ -ap-auth.c:232:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 232 | varbinds[0].oid = AutorizedMac_ATMEL; - | ^ -ap-auth.c:234:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 234 | varbinds[0].value = (char *) &get; - | ^ -ap-auth.c:348:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 348 | varbinds[0].oid = AutorizedMac_ATMEL; - | ^ -ap-auth.c:350:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 350 | varbinds[0].value = (char *) &get; - | ^ +/usr/include/x86_64-linux-gnu/bits/unistd.h:26:16: note: in a call to function '__read_alias' declared with attribute 'access (write_only, 2, 3)' + 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, + | ^~~~~~~~~~ +In function 'read', + inlined from 'tftp' at ap-tftp.c:180:12: +/usr/include/x86_64-linux-gnu/bits/unistd.h:38:10: warning: '__read_chk' writing 512 bytes into a region of size 510 overflows the destination [-Wstringop-overflow=] + 38 | return __glibc_fortify (read, __nbytes, sizeof (char), + | ^~~~~~~~~~~~~~~ +ap-tftp.c: In function 'tftp': +ap-tftp.c:126:17: note: at offset 4 into destination object of size 512 allocated by 'malloc' + 126 | char *buf = malloc(tftp_bufsize); + | ^~~~~~~~~~~~~~~~~~~~ +ap-tftp.c:126:17: note: at offset [2, 512] into destination object of size 512 allocated by 'malloc' +/usr/include/x86_64-linux-gnu/bits/unistd.h:23:16: note: in a call to function '__read_chk' declared with attribute 'access (write_only, 2, 3)' + 23 | extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, + | ^~~~~~~~~~ In file included from ap-rrd.c:30: ap-rrd.c:272:34: warning: array subscript 'struct wirelessStatistics_s[0]' is partly outside array bounds of 'unsigned char[88]' [-Warray-bounds] 272 | swap4(WirelessStat->UnicastTransmittedPackets) + @@ -17142,36 +17211,6 @@ ap-rrd.c:262:49: note: object of size 88 allocated by 'malloc' 262 | (struct wirelessStatistics_s *) malloc(varbinds[0].len_val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/features.h:489, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from ap-tftp.c:49: -In function 'read', - inlined from 'tftp' at ap-tftp.c:180:12: -/usr/include/x86_64-linux-gnu/bits/unistd.h:38:10: warning: '__read_alias' writing 512 bytes into a region of size 510 overflows the destination [-Wstringop-overflow=] - 38 | return __glibc_fortify (read, __nbytes, sizeof (char), - | ^~~~~~~~~~~~~~~ -ap-tftp.c: In function 'tftp': -ap-tftp.c:126:17: note: at offset 4 into destination object of size 512 allocated by 'malloc' - 126 | char *buf = malloc(tftp_bufsize); - | ^~~~~~~~~~~~~~~~~~~~ -ap-tftp.c:126:17: note: at offset [2, 512] into destination object of size 512 allocated by 'malloc' -/usr/include/x86_64-linux-gnu/bits/unistd.h:26:16: note: in a call to function '__read_alias' declared with attribute 'access (write_only, 2, 3)' - 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, - | ^~~~~~~~~~ -In function 'read', - inlined from 'tftp' at ap-tftp.c:180:12: -/usr/include/x86_64-linux-gnu/bits/unistd.h:38:10: warning: '__read_chk' writing 512 bytes into a region of size 510 overflows the destination [-Wstringop-overflow=] - 38 | return __glibc_fortify (read, __nbytes, sizeof (char), - | ^~~~~~~~~~~~~~~ -ap-tftp.c: In function 'tftp': -ap-tftp.c:126:17: note: at offset 4 into destination object of size 512 allocated by 'malloc' - 126 | char *buf = malloc(tftp_bufsize); - | ^~~~~~~~~~~~~~~~~~~~ -ap-tftp.c:126:17: note: at offset [2, 512] into destination object of size 512 allocated by 'malloc' -/usr/include/x86_64-linux-gnu/bits/unistd.h:23:16: note: in a call to function '__read_chk' declared with attribute 'access (write_only, 2, 3)' - 23 | extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, - | ^~~~~~~~~~ ap-mrtg.c:374:59: warning: '__builtin___sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=] 374 | sprintf(message, "%02X%02X%02X%02X%02X%02X", | ^ @@ -17186,6 +17225,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +ap-tftp.c:161:13: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] + 161 | strncpy(cp, remotefile, len); + | ^ +ap-tftp.c:155:19: note: length computed here + 155 | len = strlen(remotefile) + 1; + | ^~~~~~~~~~~~~~~~~~ ap-rrd.c:337:59: warning: '__builtin___sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=] 337 | sprintf(message, "%02X%02X%02X%02X%02X%02X", | ^ @@ -17200,12 +17245,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -ap-tftp.c:161:13: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] - 161 | strncpy(cp, remotefile, len); - | ^ -ap-tftp.c:155:19: note: length computed here - 155 | len = strlen(remotefile) + 1; - | ^~~~~~~~~~~~~~~~~~ In function 'read', inlined from 'tftp' at ap-tftp.c:180:12: /usr/include/x86_64-linux-gnu/bits/unistd.h:38:10: warning: '__read_alias' writing 512 bytes into a region of size 508 overflows the destination [-Wstringop-overflow=] @@ -17231,6 +17270,109 @@ gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o auth.o auth.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o bridge.o bridge.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/ap-utils-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wno-error=format-security -Wall -W -c -o stations.o stations.c +auth.c: In function 'atmel_auth': +auth.c:62:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 62 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, + | ^~~~ +auth.c:65:59: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 65 | char AutorizedMac[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, + | ^~~~ +auth.c:69:59: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 69 | char AuthRadiusIP[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, + | ^~~~ +auth.c:72:63: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 72 | char AuthRadiusSecret[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, + | ^~~~ +auth.c:75:69: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 75 | char AuthRadiusSecretLength[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, + | ^~~~ +auth.c:78:61: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 78 | char AuthRadiusPort[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, + | ^~~~ +auth.c:81:76: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 81 | char AuthRadiusReauthorizationTime[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, + | ^~~~ +auth.c:84:67: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] + 84 | char AuthRadiusDestinPort[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, + | ^~~~ +auth.c:98:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 98 | varbinds[0].oid = EnableAuthMAC; + | ^ +auth.c:103:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 103 | varbinds[1].oid = AuthRadiusIP; + | ^ +auth.c:108:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 108 | varbinds[3].oid = AuthRadiusPort; + | ^ +auth.c:113:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 113 | varbinds[4].oid = AuthRadiusReauthorizationTime; + | ^ +auth.c:118:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 118 | varbinds[2].oid = AuthRadiusDestinPort; + | ^ +auth.c:151:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 151 | varbinds[0].oid = AutorizedMac; + | ^ +auth.c:153:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 153 | varbinds[0].value = (char *) &get; + | ^ +auth.c:335:25: warning: pointer targets in passing argument 1 of 'get_mac' differ in signedness [-Wpointer-sign] + 335 | get_mac(curr->addr, 1, strlen(MAC_ADD)); + | ~~~~^~~~~~ + | | + | unsigned char * +In file included from auth.c:24: +../lib/ap-utils.h:403:21: note: expected 'char *' but argument is of type 'unsigned char *' + 403 | extern void get_mac(char *, int, int); + | ^~~~~~ +auth.c:346:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 346 | varbinds[i].oid = EnableAuthMAC; + | ^ +auth.c:349:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 349 | varbinds[i].value = (char *) &auth_mac_hw; + | ^ +auth.c:357:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 357 | varbinds[i].oid = AuthRadiusIP; + | ^ +auth.c:359:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 359 | varbinds[i].value = (char *) &radius_ip.s_addr; + | ^ +auth.c:366:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 366 | varbinds[i].oid = AuthRadiusDestinPort; + | ^ +auth.c:369:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 369 | varbinds[i].value = (char *) &radius_dest_port; + | ^ +auth.c:376:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 376 | varbinds[i].oid = AuthRadiusReauthorizationTime; + | ^ +auth.c:379:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 379 | varbinds[i].value = (char *) &radius_time; + | ^ +auth.c:386:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 386 | varbinds[i].oid = AuthRadiusPort; + | ^ +auth.c:389:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 389 | varbinds[i].value = (char *) &radius_port; + | ^ +auth.c:396:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 396 | varbinds[i].oid = AuthRadiusSecretLength; + | ^ +auth.c:398:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 398 | varbinds[i].value = (char *)&c; + | ^ +auth.c:402:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 402 | varbinds[i].oid = AuthRadiusSecret; + | ^ +auth.c:404:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 404 | varbinds[i].value = radius_secret; + | ^ +auth.c:423:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 423 | varbinds[0].oid = AutorizedMac; + | ^ +auth.c:425:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 425 | varbinds[0].value = (char *) &get; + | ^ bridge.c: In function 'bridging': bridge.c:59:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 59 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x01, 0x01, 0x03, @@ -17608,109 +17750,6 @@ bridge.c:469:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 469 | varbinds[i].value = (char *) &trap_port; | ^ -auth.c: In function 'atmel_auth': -auth.c:62:41: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 62 | { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, - | ^~~~ -auth.c:65:59: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 65 | char AutorizedMac[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, - | ^~~~ -auth.c:69:59: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 69 | char AuthRadiusIP[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, - | ^~~~ -auth.c:72:63: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 72 | char AuthRadiusSecret[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, - | ^~~~ -auth.c:75:69: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 75 | char AuthRadiusSecretLength[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, - | ^~~~ -auth.c:78:61: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 78 | char AuthRadiusPort[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, - | ^~~~ -auth.c:81:76: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 81 | char AuthRadiusReauthorizationTime[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, - | ^~~~ -auth.c:84:67: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] - 84 | char AuthRadiusDestinPort[] = { 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, - | ^~~~ -auth.c:98:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 98 | varbinds[0].oid = EnableAuthMAC; - | ^ -auth.c:103:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 103 | varbinds[1].oid = AuthRadiusIP; - | ^ -auth.c:108:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 108 | varbinds[3].oid = AuthRadiusPort; - | ^ -auth.c:113:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 113 | varbinds[4].oid = AuthRadiusReauthorizationTime; - | ^ -auth.c:118:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 118 | varbinds[2].oid = AuthRadiusDestinPort; - | ^ -auth.c:151:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 151 | varbinds[0].oid = AutorizedMac; - | ^ -auth.c:153:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 153 | varbinds[0].value = (char *) &get; - | ^ -auth.c:335:25: warning: pointer targets in passing argument 1 of 'get_mac' differ in signedness [-Wpointer-sign] - 335 | get_mac(curr->addr, 1, strlen(MAC_ADD)); - | ~~~~^~~~~~ - | | - | unsigned char * -In file included from auth.c:24: -../lib/ap-utils.h:403:21: note: expected 'char *' but argument is of type 'unsigned char *' - 403 | extern void get_mac(char *, int, int); - | ^~~~~~ -auth.c:346:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 346 | varbinds[i].oid = EnableAuthMAC; - | ^ -auth.c:349:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 349 | varbinds[i].value = (char *) &auth_mac_hw; - | ^ -auth.c:357:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 357 | varbinds[i].oid = AuthRadiusIP; - | ^ -auth.c:359:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 359 | varbinds[i].value = (char *) &radius_ip.s_addr; - | ^ -auth.c:366:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 366 | varbinds[i].oid = AuthRadiusDestinPort; - | ^ -auth.c:369:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 369 | varbinds[i].value = (char *) &radius_dest_port; - | ^ -auth.c:376:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 376 | varbinds[i].oid = AuthRadiusReauthorizationTime; - | ^ -auth.c:379:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 379 | varbinds[i].value = (char *) &radius_time; - | ^ -auth.c:386:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 386 | varbinds[i].oid = AuthRadiusPort; - | ^ -auth.c:389:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 389 | varbinds[i].value = (char *) &radius_port; - | ^ -auth.c:396:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 396 | varbinds[i].oid = AuthRadiusSecretLength; - | ^ -auth.c:398:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 398 | varbinds[i].value = (char *)&c; - | ^ -auth.c:402:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 402 | varbinds[i].oid = AuthRadiusSecret; - | ^ -auth.c:404:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 404 | varbinds[i].value = radius_secret; - | ^ -auth.c:423:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 423 | varbinds[0].oid = AutorizedMac; - | ^ -auth.c:425:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 425 | varbinds[0].value = (char *) &get; - | ^ stations.c: In function 'atmel_stations': stations.c:37:39: warning: overflow in conversion from 'int' to 'char' changes value from '131' to '-125' [-Woverflow] 37 | 0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0x1A, 0x01, 0x02, 0x05, 0x01, 0x00 @@ -17747,31 +17786,31 @@ make[3]: Leaving directory '/build/ap-utils-1.5/Documentation' Making all in po make[3]: Entering directory '/build/ap-utils-1.5/po' -rm -f uk.gmo && /usr/bin/msgfmt -c --statistics -o uk.gmo uk.po -rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po -uk.po:7: warning: header field 'Language' missing in header -341 translated messages, 61 fuzzy translations, 94 untranslated messages. rm -f pl.gmo && /usr/bin/msgfmt -c --statistics -o pl.gmo pl.po -fr.po:6: warning: header field 'Language' missing in header -341 translated messages, 61 fuzzy translations, 94 untranslated messages. +rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po +rm -f uk.gmo && /usr/bin/msgfmt -c --statistics -o uk.gmo uk.po rm -f ro.gmo && /usr/bin/msgfmt -c --statistics -o ro.gmo ro.po -rm -f tr.gmo && /usr/bin/msgfmt -c --statistics -o tr.gmo tr.po rm -f nl.gmo && /usr/bin/msgfmt -c --statistics -o nl.gmo nl.po pl.po:6: warning: header field 'Language' missing in header 280 translated messages, 83 fuzzy translations, 133 untranslated messages. -tr.po:7: warning: header field 'Language' missing in header -159 translated messages, 174 fuzzy translations, 163 untranslated messages. -nl.po:7: warning: header field 'Language' missing in header +rm -f tr.gmo && /usr/bin/msgfmt -c --statistics -o tr.gmo tr.po +uk.po:7: warning: nl.po:7: warning: header field 'Language' missing in header 155 translated messages, 174 fuzzy translations, 167 untranslated messages. +fr.po:6: warning: header field 'Language' missing in header +header field 'Language' missing in header +341 translated messages, 61 fuzzy translations, 94 untranslated messages. +341 translated messages, 61 fuzzy translations, 94 untranslated messages. ro.po:7: warning: header field 'Language' missing in header 159 translated messages, 175 fuzzy translations, 162 untranslated messages. +tr.po:7: warning: header field 'Language' missing in header +159 translated messages, 174 fuzzy translations, 163 untranslated messages. make[3]: Leaving directory '/build/ap-utils-1.5/po' make[3]: Entering directory '/build/ap-utils-1.5' make[3]: Leaving directory '/build/ap-utils-1.5' make[2]: Leaving directory '/build/ap-utils-1.5' make[1]: Leaving directory '/build/ap-utils-1.5' dh_auto_test - make -j15 check "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 + make -j16 check "TESTSUITEFLAGS=-j16 --verbose" VERBOSE=1 make[1]: Entering directory '/build/ap-utils-1.5' Making check in lib make[2]: Entering directory '/build/ap-utils-1.5/lib' @@ -17802,7 +17841,7 @@ dh_testroot dh_prep dh_auto_install --destdir=debian/ap-utils/ - make -j15 install DESTDIR=/build/ap-utils-1.5/debian/ap-utils AM_UPDATE_INFO_DIR=no + make -j16 install DESTDIR=/build/ap-utils-1.5/debian/ap-utils AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/ap-utils-1.5' Making install in lib make[2]: Entering directory '/build/ap-utils-1.5/lib' @@ -17814,9 +17853,9 @@ Making install in src make[2]: Entering directory '/build/ap-utils-1.5/src' make[3]: Entering directory '/build/ap-utils-1.5/src' + /usr/bin/mkdir -p '/build/ap-utils-1.5/debian/ap-utils/usr/bin' make[3]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/ap-utils-1.5/debian/ap-utils/usr/bin' - /bin/mkdir -p '/build/ap-utils-1.5/debian/ap-utils/usr/sbin' + /usr/bin/mkdir -p '/build/ap-utils-1.5/debian/ap-utils/usr/sbin' /usr/bin/install -c ap-config ap-mrtg ap-auth ap-tftp ap-rrd '/build/ap-utils-1.5/debian/ap-utils/usr/bin' /usr/bin/install -c ap-trapd '/build/ap-utils-1.5/debian/ap-utils/usr/sbin' make[3]: Leaving directory '/build/ap-utils-1.5/src' @@ -17825,7 +17864,7 @@ make[2]: Entering directory '/build/ap-utils-1.5/ap-gl' make[3]: Entering directory '/build/ap-utils-1.5/ap-gl' make[3]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/ap-utils-1.5/debian/ap-utils/usr/bin' + /usr/bin/mkdir -p '/build/ap-utils-1.5/debian/ap-utils/usr/bin' /usr/bin/install -c ap-gl '/build/ap-utils-1.5/debian/ap-utils/usr/bin' make[3]: Leaving directory '/build/ap-utils-1.5/ap-gl' make[2]: Leaving directory '/build/ap-utils-1.5/ap-gl' @@ -17833,7 +17872,7 @@ make[2]: Entering directory '/build/ap-utils-1.5/Documentation' make[3]: Entering directory '/build/ap-utils-1.5/Documentation' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/ap-utils-1.5/debian/ap-utils/usr/share/man/man8' + /usr/bin/mkdir -p '/build/ap-utils-1.5/debian/ap-utils/usr/share/man/man8' /usr/bin/install -c -m 644 ap-trapd.8 ap-mrtg.8 ap-config.8 ap-gl.8 ap-auth.8 ap-tftp.8 '/build/ap-utils-1.5/debian/ap-utils/usr/share/man/man8' make[3]: Leaving directory '/build/ap-utils-1.5/Documentation' make[2]: Leaving directory '/build/ap-utils-1.5/Documentation' @@ -17885,12 +17924,12 @@ dh_link usr/share/man/man8/ap-mrtg.8 usr/share/man/man8/ap-rrd.8 make[1]: Leaving directory '/build/ap-utils-1.5' dh_strip_nondeterminism - Normalized debian/ap-utils/usr/share/locale/tr/LC_MESSAGES/ap-utils.mo Normalized debian/ap-utils/usr/share/locale/nl/LC_MESSAGES/ap-utils.mo + Normalized debian/ap-utils/usr/share/locale/tr/LC_MESSAGES/ap-utils.mo Normalized debian/ap-utils/usr/share/locale/ro/LC_MESSAGES/ap-utils.mo + Normalized debian/ap-utils/usr/share/locale/uk/LC_MESSAGES/ap-utils.mo Normalized debian/ap-utils/usr/share/locale/pl/LC_MESSAGES/ap-utils.mo Normalized debian/ap-utils/usr/share/locale/fr/LC_MESSAGES/ap-utils.mo - Normalized debian/ap-utils/usr/share/locale/uk/LC_MESSAGES/ap-utils.mo dh_compress dh_fixperms dh_missing @@ -17902,8 +17941,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ap-utils' in '../ap-utils_1.5-5_amd64.deb'. dpkg-deb: building package 'ap-utils-dbgsym' in '../ap-utils-dbgsym_1.5-5_amd64.deb'. +dpkg-deb: building package 'ap-utils' in '../ap-utils_1.5-5_amd64.deb'. dpkg-genbuildinfo --build=binary -O../ap-utils_1.5-5_amd64.buildinfo dpkg-genchanges --build=binary -O../ap-utils_1.5-5_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -17911,12 +17950,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3972505/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3972505/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/2147365 and its subdirectories -I: Current time: Tue Apr 18 10:40:01 -12 2023 -I: pbuilder-time-stamp: 1681857601 +I: removing directory /srv/workspace/pbuilder/3972505 and its subdirectories +I: Current time: Tue May 21 19:05:03 +14 2024 +I: pbuilder-time-stamp: 1716267903