Task #16 - stdout.log
back to task #16download
COMMAND: koji -p koji download-build --noprogress --arch=src bluez-5.75-1.fc41 ------------------------------------------------------------------------------ Downloading [1/1]: bluez-5.75-1.fc41.src.rpm COMMAND: su - csmock --session-command 'cd /tmp/tmpm8gqi9gz && csmock -r fedora-41-x86_64 -t cppcheck,gcc,clang,shellcheck -o /tmp/tmpm8gqi9gz/bluez-5.75-1.fc41.tar.xz --gcc-analyze /tmp/tmpm8gqi9gz/bluez-5.75-1.fc41.src.rpm' ------------------------------------------------------------------------------- scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.5.3-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpm8gqi9gz/bluez-5.75-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpm8gqi9gz/bluez-5.75-1.fc41.src.rpm' scan.ini: host = ip-172-16-1-187.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpm8gqi9gz/bluez-5.75-1.fc41.tar.xz scan.ini: time-created = 2024-04-22 10:50:29 scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck scan.ini: mock-config = fedora-41-x86_64 scan.ini: project-name = bluez-5.75-1.fc41 >>> 2024-04-22 10:50:29 "rpm -qa | sort -V > '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/rpm-list-host.txt'" >>> 2024-04-22 10:50:29 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 5.5 INFO: Mock Version: 5.5 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init Finish: run >>> 2024-04-22 10:50:31 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmockyn96pidn/bluez-5.75-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.0 MiB/s | 21.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: autoconf noarch 2.72-2.fc41 fedora 2.8 MiB automake noarch 1.16.5-16.fc40 fedora 1.7 MiB cups-devel x86_64 1:2.4.7-13.fc41 fedora 185.3 KiB dbus-devel x86_64 1:1.14.10-3.fc40 fedora 129.9 KiB glib2-devel x86_64 2.80.0-1.fc41 fedora 15.4 MiB json-c-devel x86_64 0.17-3.fc40 fedora 151.1 KiB libell-devel x86_64 0.64-1.fc41 fedora 119.1 KiB libical-devel x86_64 3.0.18-1.fc41 fedora 725.0 KiB libtool x86_64 2.4.7-10.fc40 fedora 2.6 MiB make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB python3-docutils noarch 0.20.1-3.fc40 fedora 4.8 MiB python3-pygments noarch 2.17.2-3.fc40 fedora 10.3 MiB readline-devel x86_64 8.2-8.fc40 fedora 553.0 KiB systemd x86_64 255.4-1.fc41 fedora 14.6 MiB systemd-devel x86_64 255.4-1.fc41 fedora 550.3 KiB Installing dependencies: annobin-docs noarch 12.49-1.fc41 fedora 95.7 KiB annobin-plugin-gcc x86_64 12.49-1.fc41 fedora 970.9 KiB avahi x86_64 0.8-26.fc40 fedora 1.2 MiB avahi-devel x86_64 0.8-26.fc40 fedora 130.5 KiB avahi-libs x86_64 0.8-26.fc40 fedora 166.3 KiB cmake-filesystem x86_64 3.28.3-1.fc41 fedora 0.0 B cpp x86_64 14.0.1-0.15.fc41 fedora 34.9 MiB cups-libs x86_64 1:2.4.7-13.fc41 fedora 618.8 KiB dbus x86_64 1:1.14.10-3.fc40 fedora 0.0 B dbus-broker x86_64 36-2.fc41 fedora 378.8 KiB dbus-common noarch 1:1.14.10-3.fc40 fedora 11.2 KiB dbus-libs x86_64 1:1.14.10-3.fc40 fedora 368.9 KiB emacs-filesystem noarch 1:30.0-2.fc41 fedora 0.0 B expat x86_64 2.6.2-1.fc41 fedora 280.8 KiB gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB gcc x86_64 14.0.1-0.15.fc41 fedora 103.9 MiB gcc-plugin-annobin x86_64 14.0.1-0.15.fc41 fedora 57.1 KiB glib2 x86_64 2.80.0-1.fc41 fedora 14.4 MiB glibc-devel x86_64 2.39.9000-12.fc41 fedora 37.7 KiB glibc-headers-x86 noarch 2.39.9000-12.fc41 fedora 2.2 MiB gmp-c++ x86_64 1:6.3.0-1.fc41 fedora 31.8 KiB gmp-devel x86_64 1:6.3.0-1.fc41 fedora 352.3 KiB gnutls x86_64 3.8.5-1.fc41 fedora 3.2 MiB gnutls-c++ x86_64 3.8.5-1.fc41 fedora 72.5 KiB gnutls-dane x86_64 3.8.5-1.fc41 fedora 61.7 KiB gnutls-devel x86_64 3.8.5-1.fc41 fedora 5.5 MiB groff-base x86_64 1.23.0-6.fc40 fedora 3.8 MiB guile30 x86_64 3.0.7-12.fc40 fedora 51.5 MiB json-c x86_64 0.17-3.fc40 fedora 82.4 KiB kernel-headers x86_64 6.9.0-0.rc4.37.fc41 fedora 6.3 MiB keyutils-libs-devel x86_64 1.6.3-3.fc40 fedora 48.2 KiB kmod-libs x86_64 31-5.fc40 fedora 143.2 KiB krb5-devel x86_64 1.21.2-5.fc40 fedora 706.6 KiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libblkid-devel x86_64 2.40-13.fc41 fedora 44.9 KiB libcom_err-devel x86_64 1.47.0-5.fc40 fedora 16.7 KiB libdaemon x86_64 0.14-29.fc40 fedora 68.3 KiB libell x86_64 0.64-1.fc41 fedora 572.1 KiB libevent-devel x86_64 2.1.12-12.fc40 fedora 425.6 KiB libffi-devel x86_64 3.4.6-1.fc41 fedora 33.1 KiB libical x86_64 3.0.18-1.fc41 fedora 1.6 MiB libicu x86_64 74.2-1.fc40 fedora 34.9 MiB libicu-devel x86_64 74.2-1.fc40 fedora 5.6 MiB libidn2-devel x86_64 2.3.7-1.fc40 fedora 252.1 KiB libkadm5 x86_64 1.21.2-5.fc40 fedora 214.1 KiB libmount-devel x86_64 2.40-13.fc41 fedora 63.5 KiB libmpc x86_64 1.3.1-5.fc40 fedora 164.7 KiB libseccomp x86_64 2.5.3-8.fc40 fedora 171.2 KiB libselinux-devel x86_64 3.6-4.fc40 fedora 126.1 KiB libsepol-devel x86_64 3.6-3.fc40 fedora 120.2 KiB libtasn1-devel x86_64 4.19.0-6.fc40 fedora 76.1 KiB libtasn1-tools x86_64 4.19.0-6.fc40 fedora 65.6 KiB libverto-devel x86_64 0.3.2-8.fc40 fedora 25.7 KiB libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 30.3 KiB m4 x86_64 1.4.19-9.fc40 fedora 588.9 KiB mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB ncurses x86_64 6.4-12.20240127.fc40 fedora 621.0 KiB ncurses-c++-libs x86_64 6.4-12.20240127.fc40 fedora 161.7 KiB ncurses-devel x86_64 6.4-12.20240127.fc40 fedora 859.8 KiB nettle x86_64 3.9.1-6.fc40 fedora 790.1 KiB nettle-devel x86_64 3.9.1-6.fc40 fedora 1.4 MiB p11-kit-devel x86_64 0.25.3-4.fc40 fedora 542.7 KiB pcre2-devel x86_64 10.43-1.fc41 fedora 2.0 MiB pcre2-utf16 x86_64 10.43-1.fc41 fedora 590.1 KiB pcre2-utf32 x86_64 10.43-1.fc41 fedora 557.9 KiB perl-AutoLoader noarch 5.74-507.fc41 fedora 20.5 KiB perl-B x86_64 1.88-507.fc41 fedora 492.4 KiB perl-Carp noarch 1.54-502.fc40 fedora 46.5 KiB perl-Class-Struct noarch 0.68-507.fc41 fedora 25.4 KiB perl-Data-Dumper x86_64 2.188-503.fc40 fedora 111.7 KiB perl-Digest noarch 1.20-502.fc40 fedora 35.2 KiB perl-Digest-MD5 x86_64 2.59-3.fc40 fedora 59.7 KiB perl-DynaLoader x86_64 1.54-507.fc41 fedora 32.1 KiB perl-Encode x86_64 4:3.21-505.fc41 fedora 4.7 MiB perl-Errno x86_64 1.37-507.fc41 fedora 8.4 KiB perl-Exporter noarch 5.78-3.fc40 fedora 54.2 KiB perl-Fcntl x86_64 1.15-507.fc41 fedora 24.6 KiB perl-File-Basename noarch 2.86-507.fc41 fedora 14.0 KiB perl-File-Compare noarch 1.100.700-507.fc41 fedora 5.5 KiB perl-File-Copy noarch 2.41-507.fc41 fedora 19.6 KiB perl-File-Find noarch 1.43-507.fc41 fedora 41.9 KiB perl-File-Path noarch 2.18-503.fc40 fedora 63.5 KiB perl-File-Temp noarch 1:0.231.100-503.fc40 fedora 162.3 KiB perl-File-stat noarch 1.13-507.fc41 fedora 12.7 KiB perl-FileHandle noarch 2.05-507.fc41 fedora 9.3 KiB perl-Getopt-Long noarch 1:2.57-3.fc40 fedora 144.1 KiB perl-Getopt-Std noarch 1.13-507.fc41 fedora 11.1 KiB perl-HTTP-Tiny noarch 0.088-5.fc40 fedora 152.1 KiB perl-IO x86_64 1.52-507.fc41 fedora 151.0 KiB perl-IO-Socket-IP noarch 0.42-2.fc40 fedora 98.6 KiB perl-IO-Socket-SSL noarch 2.085-1.fc40 fedora 685.0 KiB perl-IPC-Open3 noarch 1.22-507.fc41 fedora 22.5 KiB perl-MIME-Base64 x86_64 3.16-503.fc40 fedora 46.1 KiB perl-Mozilla-CA noarch 20240313-1.fc41 fedora 9.5 KiB perl-Net-SSLeay x86_64 1.94-3.fc40 fedora 1.3 MiB perl-POSIX x86_64 2.13-507.fc41 fedora 229.0 KiB perl-PathTools x86_64 3.89-502.fc40 fedora 179.6 KiB perl-Pod-Escapes noarch 1:1.07-503.fc40 fedora 24.9 KiB perl-Pod-Perldoc noarch 3.28.01-503.fc40 fedora 163.1 KiB perl-Pod-Simple noarch 1:3.45-6.fc40 fedora 559.8 KiB perl-Pod-Usage noarch 4:2.03-503.fc40 fedora 84.7 KiB perl-Scalar-List-Utils x86_64 5:1.63-503.fc40 fedora 145.5 KiB perl-SelectSaver noarch 1.02-507.fc41 fedora 2.2 KiB perl-Socket x86_64 4:2.038-1.fc41 fedora 124.0 KiB perl-Storable x86_64 1:3.32-502.fc40 fedora 232.3 KiB perl-Symbol noarch 1.09-507.fc41 fedora 6.8 KiB perl-Term-ANSIColor noarch 5.01-504.fc40 fedora 97.5 KiB perl-Term-Cap noarch 1.18-503.fc40 fedora 29.3 KiB perl-Text-ParseWords noarch 3.31-502.fc40 fedora 13.5 KiB perl-Text-Tabs+Wrap noarch 2024.001-1.fc41 fedora 22.5 KiB perl-Thread-Queue noarch 3.14-503.fc40 fedora 28.8 KiB perl-Time-Local noarch 2:1.350-5.fc40 fedora 68.9 KiB perl-URI noarch 5.28-1.fc41 fedora 240.2 KiB perl-base noarch 2.27-507.fc41 fedora 12.5 KiB perl-constant noarch 1.33-503.fc40 fedora 26.2 KiB perl-if noarch 0.61.000-507.fc41 fedora 5.8 KiB perl-interpreter x86_64 4:5.38.2-507.fc41 fedora 119.8 KiB perl-libnet noarch 3.15-503.fc40 fedora 289.0 KiB perl-libs x86_64 4:5.38.2-507.fc41 fedora 9.8 MiB perl-locale noarch 1.10-507.fc41 fedora 6.2 KiB perl-mro x86_64 1.28-507.fc41 fedora 41.6 KiB perl-overload noarch 1.37-507.fc41 fedora 71.5 KiB perl-overloading noarch 0.02-507.fc41 fedora 4.8 KiB perl-parent noarch 1:0.241-502.fc40 fedora 9.7 KiB perl-podlators noarch 1:5.01-502.fc40 fedora 308.1 KiB perl-threads x86_64 1:2.36-503.fc40 fedora 115.1 KiB perl-threads-shared x86_64 1.68-502.fc40 fedora 83.7 KiB perl-vars noarch 1.05-507.fc41 fedora 3.9 KiB protobuf-c x86_64 1.5.0-3.fc40 fedora 54.0 KiB python-pip-wheel noarch 24.0-2.fc41 fedora 1.5 MiB python3 x86_64 3.12.3-2.fc41 fedora 31.5 KiB python3-libs x86_64 3.12.3-2.fc41 fedora 40.9 MiB python3-packaging noarch 24.0-1.fc41 fedora 424.8 KiB sysprof-capture-devel x86_64 46.0-1.fc41 fedora 252.8 KiB systemd-pam x86_64 255.4-1.fc41 fedora 1.0 MiB systemd-rpm-macros noarch 255.4-1.fc41 fedora 9.5 KiB tzdata noarch 2024a-5.fc41 fedora 1.6 MiB unbound-libs x86_64 1.19.3-6.fc41 fedora 1.4 MiB xml-common noarch 0.6.3-63.fc40 fedora 78.4 KiB zlib-ng-compat-devel x86_64 2.1.6-2.fc40 fedora 103.4 KiB Transaction Summary: Installing: 155 packages Total size of inbound packages is 119 MiB. Need to download 0 B. After this operation 410 MiB will be used (install 410 MiB, remove 0 B). [ 1/155] autoconf-0:2.72-2.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/155] automake-0:1.16.5-16.fc40.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/155] libtool-0:2.4.7-10.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/155] make-1:4.4.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/155] python3-docutils-0:0.20.1-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/155] python3-pygments-0:2.17.2-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/155] cups-devel-1:2.4.7-13.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/155] dbus-devel-1:1.14.10-3.fc40.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/155] glib2-devel-0:2.80.0-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/155] json-c-devel-0:0.17-3.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/155] libell-devel-0:0.64-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/155] libical-devel-0:3.0.18-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/155] readline-devel-0:8.2-8.fc40.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/155] systemd-0:255.4-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/155] systemd-devel-0:255.4-1.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/155] emacs-filesystem-1:30.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/155] m4-0:1.4.19-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/155] perl-Carp-0:1.54-502.fc40.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/155] perl-Class-Struct-0:0.68-507. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/155] perl-Data-Dumper-0:2.188-503. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/155] perl-Errno-0:1.37-507.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/155] perl-Exporter-0:5.78-3.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/155] perl-File-Basename-0:2.86-507 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/155] perl-File-Compare-0:1.100.700 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/155] perl-File-Copy-0:2.41-507.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/155] perl-File-Find-0:1.43-507.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/155] perl-File-Temp-1:0.231.100-50 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/155] perl-File-stat-0:1.13-507.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/155] perl-Getopt-Long-1:2.57-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/155] perl-IO-0:1.52-507.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/155] perl-POSIX-0:2.13-507.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/155] perl-PathTools-0:3.89-502.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/155] perl-Text-ParseWords-0:3.31-5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/155] perl-constant-0:1.33-503.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/155] perl-interpreter-4:5.38.2-507 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/155] perl-File-Path-0:2.18-503.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/155] perl-Thread-Queue-0:3.14-503. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/155] perl-threads-1:2.36-503.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/155] gcc-0:14.0.1-0.15.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/155] guile30-0:3.0.7-12.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/155] cups-libs-1:2.4.7-13.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/155] cmake-filesystem-0:3.28.3-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/155] dbus-libs-1:1.14.10-3.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/155] xml-common-0:0.6.3-63.fc40.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/155] glib2-0:2.80.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/155] python3-packaging-0:24.0-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/155] json-c-0:0.17-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/155] libell-0:0.64-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/155] libical-0:3.0.18-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/155] dbus-1:1.14.10-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/155] kmod-libs-0:31-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/155] libseccomp-0:2.5.3-8.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/155] systemd-pam-0:255.4-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/155] perl-B-0:1.88-507.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/155] perl-Scalar-List-Utils-5:1.63 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/155] perl-libs-4:5.38.2-507.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/155] perl-overload-0:1.37-507.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/155] perl-Fcntl-0:1.15-507.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/155] perl-parent-1:0.241-502.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/155] perl-Symbol-0:1.09-507.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/155] perl-base-0:2.27-507.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/155] perl-SelectSaver-0:1.02-507.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/155] perl-Socket-4:2.038-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/155] perl-locale-0:1.10-507.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/155] perl-vars-0:1.05-507.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/155] perl-threads-shared-0:1.68-50 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/155] cpp-0:14.0.1-0.15.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/155] libmpc-0:1.3.1-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/155] gc-0:8.2.2-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/155] avahi-libs-0:0.8-26.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/155] gnutls-0:3.8.5-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/155] libicu-0:74.2-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/155] tzdata-0:2024a-5.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/155] dbus-broker-0:36-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/155] perl-if-0:0.61.000-507.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/155] perl-overloading-0:0.02-507.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/155] perl-DynaLoader-0:1.54-507.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/155] perl-mro-0:1.28-507.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/155] nettle-0:3.9.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/155] dbus-common-1:1.14.10-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/155] expat-0:2.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/155] annobin-plugin-gcc-0:12.49-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/155] gcc-plugin-annobin-0:14.0.1-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/155] annobin-docs-0:12.49-1.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/155] systemd-rpm-macros-0:255.4-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/155] ncurses-devel-0:6.4-12.202401 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/155] ncurses-c++-libs-0:6.4-12.202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/155] python3-0:3.12.3-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/155] python3-libs-0:3.12.3-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/155] libb2-0:0.98.1-11.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/155] mpdecimal-0:2.5.1-9.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/155] python-pip-wheel-0:24.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/155] perl-Encode-4:3.21-505.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/155] perl-Getopt-Std-0:1.13-507.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/155] perl-MIME-Base64-0:3.16-503.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/155] perl-Storable-1:3.32-502.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/155] libicu-devel-0:74.2-1.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/155] libffi-devel-0:3.4.6-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/155] libmount-devel-0:2.40-13.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/155] libselinux-devel-0:3.6-4.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/155] libsepol-devel-0:3.6-3.fc40.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/155] pcre2-devel-0:10.43-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/155] pcre2-utf16-0:10.43-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/155] pcre2-utf32-0:10.43-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/155] sysprof-capture-devel-0:46.0- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/155] zlib-ng-compat-devel-0:2.1.6- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/155] glibc-devel-0:2.39.9000-12.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/155] glibc-headers-x86-0:2.39.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/155] libxcrypt-devel-0:4.4.36-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/155] avahi-devel-0:0.8-26.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/155] avahi-0:0.8-26.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/155] libdaemon-0:0.14-29.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/155] gnutls-devel-0:3.8.5-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/155] gnutls-c++-0:3.8.5-1.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/155] gnutls-dane-0:3.8.5-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/155] unbound-libs-0:1.19.3-6.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/155] protobuf-c-0:1.5.0-3.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/155] krb5-devel-0:1.21.2-5.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/155] libkadm5-0:1.21.2-5.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/155] libevent-devel-0:2.1.12-12.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/155] libblkid-devel-0:2.40-13.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/155] keyutils-libs-devel-0:1.6.3-3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/155] libcom_err-devel-0:1.47.0-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/155] libverto-devel-0:0.3.2-8.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/155] libidn2-devel-0:2.3.7-1.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/155] libtasn1-devel-0:4.19.0-6.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/155] libtasn1-tools-0:4.19.0-6.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/155] nettle-devel-0:3.9.1-6.fc40.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/155] gmp-devel-1:6.3.0-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/155] gmp-c++-1:6.3.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/155] p11-kit-devel-0:0.25.3-4.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/155] kernel-headers-0:6.9.0-0.rc4. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/155] perl-Pod-Usage-4:2.03-503.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/155] perl-Pod-Perldoc-0:3.28.01-50 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/155] perl-podlators-1:5.01-502.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/155] groff-base-0:1.23.0-6.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/155] perl-HTTP-Tiny-0:0.088-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/155] perl-IPC-Open3-0:1.22-507.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/155] perl-Pod-Simple-1:3.45-6.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/155] perl-Term-ANSIColor-0:5.01-50 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/155] perl-Term-Cap-0:1.18-503.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/155] perl-IO-Socket-SSL-0:2.085-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/155] perl-Mozilla-CA-0:20240313-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/155] perl-Net-SSLeay-0:1.94-3.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/155] perl-Time-Local-2:1.350-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/155] perl-Pod-Escapes-1:1.07-503.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/155] perl-Text-Tabs+Wrap-0:2024.00 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/155] ncurses-0:6.4-12.20240127.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/155] perl-IO-Socket-IP-0:0.42-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/155] perl-URI-0:5.28-1.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/155] perl-AutoLoader-0:5.74-507.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/155] perl-libnet-0:3.15-503.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/155] perl-Digest-MD5-0:2.59-3.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/155] perl-FileHandle-0:2.05-507.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/155] perl-Digest-0:1.20-502.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [155/155] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/157] Verify package files 100% | 301.0 B/s | 155.0 B | 00m01s [ 2/157] Prepare transaction 100% | 1.5 KiB/s | 155.0 B | 00m00s [ 3/157] Installing nettle-0:3.9.1-6.f 100% | 96.8 MiB/s | 793.3 KiB | 00m00s [ 4/157] Installing gnutls-0:3.8.5-1.f 100% | 228.5 MiB/s | 3.2 MiB | 00m00s [ 5/157] Installing expat-0:2.6.2-1.fc 100% | 46.0 MiB/s | 282.9 KiB | 00m00s [ 6/157] Installing dbus-libs-1:1.14.1 100% | 90.3 MiB/s | 370.1 KiB | 00m00s [ 7/157] Installing avahi-libs-0:0.8-2 100% | 33.0 MiB/s | 168.9 KiB | 00m00s [ 8/157] Installing cmake-filesystem-0 100% | 1.4 MiB/s | 7.1 KiB | 00m00s [ 9/157] Installing zlib-ng-compat-dev 100% | 14.6 MiB/s | 104.5 KiB | 00m00s [ 10/157] Installing tzdata-0:2024a-5.f 100% | 31.2 MiB/s | 1.9 MiB | 00m00s [ 11/157] Installing libicu-0:74.2-1.fc 100% | 349.4 MiB/s | 34.9 MiB | 00m00s [ 12/157] Installing libmpc-0:1.3.1-5.f 100% | 40.6 MiB/s | 166.2 KiB | 00m00s [ 13/157] Installing cpp-0:14.0.1-0.15. 100% | 346.1 MiB/s | 35.0 MiB | 00m00s [ 14/157] Installing libical-0:3.0.18-1 100% | 165.0 MiB/s | 1.6 MiB | 00m00s [ 15/157] Installing libicu-devel-0:74. 100% | 161.2 MiB/s | 5.6 MiB | 00m00s [ 16/157] Installing cups-libs-1:2.4.7- 100% | 121.1 MiB/s | 620.3 KiB | 00m00s [ 17/157] Installing glib2-0:2.80.0-1.f 100% | 289.5 MiB/s | 14.5 MiB | 00m00s [ 18/157] Installing gnutls-c++-0:3.8.5 100% | 17.9 MiB/s | 73.3 KiB | 00m00s [ 19/157] Installing ncurses-0:6.4-12.2 100% | 47.1 MiB/s | 627.6 KiB | 00m00s >>> Running pre-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 >>> Stop pre-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 [ 20/157] Installing groff-base-0:1.23. 100% | 128.6 MiB/s | 3.9 MiB | 00m00s >>> Running post-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 >>> Stop post-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 [ 21/157] Installing perl-Digest-0:1.20 100% | 6.0 MiB/s | 37.0 KiB | 00m00s [ 22/157] Installing perl-B-0:1.88-507. 100% | 80.7 MiB/s | 495.7 KiB | 00m00s [ 23/157] Installing perl-FileHandle-0: 100% | 4.8 MiB/s | 9.8 KiB | 00m00s [ 24/157] Installing perl-Digest-MD5-0: 100% | 15.0 MiB/s | 61.6 KiB | 00m00s [ 25/157] Installing perl-Data-Dumper-0 100% | 27.7 MiB/s | 113.6 KiB | 00m00s [ 26/157] Installing perl-libnet-0:3.15 100% | 47.9 MiB/s | 294.3 KiB | 00m00s [ 27/157] Installing perl-AutoLoader-0: 100% | 10.2 MiB/s | 20.9 KiB | 00m00s [ 28/157] Installing perl-URI-0:5.28-1. 100% | 30.7 MiB/s | 251.8 KiB | 00m00s [ 29/157] Installing perl-locale-0:1.10 100% | 3.2 MiB/s | 6.6 KiB | 00m00s [ 30/157] Installing perl-File-Path-0:2 100% | 21.0 MiB/s | 64.5 KiB | 00m00s [ 31/157] Installing perl-if-0:0.61.000 100% | 1.5 MiB/s | 6.2 KiB | 00m00s [ 32/157] Installing perl-Mozilla-CA-0: 100% | 3.4 MiB/s | 10.5 KiB | 00m00s [ 33/157] Installing perl-Time-Local-2: 100% | 17.2 MiB/s | 70.5 KiB | 00m00s [ 34/157] Installing perl-Pod-Escapes-1 100% | 6.3 MiB/s | 25.9 KiB | 00m00s [ 35/157] Installing perl-Text-Tabs+Wra 100% | 5.8 MiB/s | 23.8 KiB | 00m00s [ 36/157] Installing perl-IO-Socket-IP- 100% | 24.5 MiB/s | 100.4 KiB | 00m00s [ 37/157] Installing perl-Net-SSLeay-0: 100% | 97.3 MiB/s | 1.4 MiB | 00m00s [ 38/157] Installing perl-IO-Socket-SSL 100% | 112.1 MiB/s | 689.0 KiB | 00m00s [ 39/157] Installing perl-Class-Struct- 100% | 8.4 MiB/s | 25.9 KiB | 00m00s [ 40/157] Installing perl-POSIX-0:2.13- 100% | 45.0 MiB/s | 230.3 KiB | 00m00s [ 41/157] Installing perl-File-Temp-1:0 100% | 40.0 MiB/s | 164.0 KiB | 00m00s [ 42/157] Installing perl-IPC-Open3-0:1 100% | 11.4 MiB/s | 23.3 KiB | 00m00s [ 43/157] Installing perl-Term-ANSIColo 100% | 32.3 MiB/s | 99.1 KiB | 00m00s [ 44/157] Installing perl-Term-Cap-0:1. 100% | 7.5 MiB/s | 30.5 KiB | 00m00s [ 45/157] Installing perl-Pod-Simple-1: 100% | 69.5 MiB/s | 569.4 KiB | 00m00s [ 46/157] Installing perl-HTTP-Tiny-0:0 100% | 30.1 MiB/s | 154.2 KiB | 00m00s [ 47/157] Installing perl-Symbol-0:1.09 100% | 2.3 MiB/s | 7.2 KiB | 00m00s [ 48/157] Installing perl-SelectSaver-0 100% | 1.3 MiB/s | 2.6 KiB | 00m00s [ 49/157] Installing perl-Socket-4:2.03 100% | 24.6 MiB/s | 126.0 KiB | 00m00s [ 50/157] Installing perl-File-stat-0:1 100% | 6.5 MiB/s | 13.2 KiB | 00m00s [ 51/157] Installing perl-podlators-1:5 100% | 60.9 MiB/s | 312.1 KiB | 00m00s [ 52/157] Installing perl-Pod-Perldoc-0 100% | 27.4 MiB/s | 168.6 KiB | 00m00s [ 53/157] Installing perl-Text-ParseWor 100% | 4.7 MiB/s | 14.5 KiB | 00m00s [ 54/157] Installing perl-Fcntl-0:1.15- 100% | 8.4 MiB/s | 25.8 KiB | 00m00s [ 55/157] Installing perl-base-0:2.27-5 100% | 4.2 MiB/s | 12.9 KiB | 00m00s [ 56/157] Installing perl-overloading-0 100% | 2.7 MiB/s | 5.5 KiB | 00m00s [ 57/157] Installing perl-IO-0:1.52-507 100% | 37.9 MiB/s | 155.2 KiB | 00m00s [ 58/157] Installing perl-mro-0:1.28-50 100% | 10.4 MiB/s | 42.6 KiB | 00m00s [ 59/157] Installing perl-Pod-Usage-4:2 100% | 21.1 MiB/s | 86.3 KiB | 00m00s [ 60/157] Installing perl-Errno-0:1.37- 100% | 4.3 MiB/s | 8.8 KiB | 00m00s [ 61/157] Installing perl-File-Basename 100% | 4.7 MiB/s | 14.6 KiB | 00m00s [ 62/157] Installing perl-constant-0:1. 100% | 8.9 MiB/s | 27.4 KiB | 00m00s [ 63/157] Installing perl-Scalar-List-U 100% | 29.0 MiB/s | 148.7 KiB | 00m00s [ 64/157] Installing perl-parent-1:0.24 100% | 3.4 MiB/s | 10.4 KiB | 00m00s [ 65/157] Installing perl-vars-0:1.05-5 100% | 2.1 MiB/s | 4.3 KiB | 00m00s [ 66/157] Installing perl-overload-0:1. 100% | 35.1 MiB/s | 71.9 KiB | 00m00s [ 67/157] Installing perl-Getopt-Std-0: 100% | 5.7 MiB/s | 11.6 KiB | 00m00s [ 68/157] Installing perl-MIME-Base64-0 100% | 1.7 MiB/s | 48.3 KiB | 00m00s [ 69/157] Installing perl-Storable-1:3. 100% | 57.1 MiB/s | 233.9 KiB | 00m00s [ 70/157] Installing perl-Getopt-Long-1 100% | 28.7 MiB/s | 146.7 KiB | 00m00s [ 71/157] Installing perl-Exporter-0:5. 100% | 18.1 MiB/s | 55.5 KiB | 00m00s [ 72/157] Installing perl-PathTools-0:3 100% | 36.0 MiB/s | 184.2 KiB | 00m00s [ 73/157] Installing perl-DynaLoader-0: 100% | 10.6 MiB/s | 32.5 KiB | 00m00s [ 74/157] Installing perl-Encode-4:3.21 100% | 248.3 MiB/s | 4.7 MiB | 00m00s [ 75/157] Installing perl-Carp-0:1.54-5 100% | 9.3 MiB/s | 47.7 KiB | 00m00s [ 76/157] Installing perl-libs-4:5.38.2 100% | 174.4 MiB/s | 9.9 MiB | 00m00s [ 77/157] Installing perl-interpreter-4 100% | 39.5 MiB/s | 121.4 KiB | 00m00s [ 78/157] Installing perl-threads-1:2.3 100% | 28.6 MiB/s | 117.1 KiB | 00m00s [ 79/157] Installing perl-threads-share 100% | 16.8 MiB/s | 85.9 KiB | 00m00s [ 80/157] Installing perl-Thread-Queue- 100% | 9.9 MiB/s | 30.3 KiB | 00m00s [ 81/157] Installing perl-File-Compare- 100% | 2.0 MiB/s | 6.0 KiB | 00m00s [ 82/157] Installing perl-File-Copy-0:2 100% | 9.8 MiB/s | 20.2 KiB | 00m00s [ 83/157] Installing perl-File-Find-0:1 100% | 8.3 MiB/s | 42.4 KiB | 00m00s [ 84/157] Installing kernel-headers-0:6 100% | 106.6 MiB/s | 6.4 MiB | 00m00s [ 85/157] Installing p11-kit-devel-0:0. 100% | 67.3 MiB/s | 551.1 KiB | 00m00s [ 86/157] Installing gmp-c++-1:6.3.0-1. 100% | 10.6 MiB/s | 32.6 KiB | 00m00s [ 87/157] Installing gmp-devel-1:6.3.0- 100% | 86.4 MiB/s | 354.1 KiB | 00m00s [ 88/157] Installing nettle-devel-0:3.9 100% | 177.7 MiB/s | 1.4 MiB | 00m00s [ 89/157] Installing libtasn1-tools-0:4 100% | 13.2 MiB/s | 67.6 KiB | 00m00s [ 90/157] Installing libtasn1-devel-0:4 100% | 16.2 MiB/s | 83.1 KiB | 00m00s [ 91/157] Installing libidn2-devel-0:2. 100% | 36.3 MiB/s | 260.1 KiB | 00m00s [ 92/157] Installing libverto-devel-0:0 100% | 8.6 MiB/s | 26.4 KiB | 00m00s [ 93/157] Installing libcom_err-devel-0 100% | 4.5 MiB/s | 18.3 KiB | 00m00s [ 94/157] Installing keyutils-libs-deve 100% | 10.8 MiB/s | 55.2 KiB | 00m00s [ 95/157] Installing libblkid-devel-0:2 100% | 11.2 MiB/s | 46.0 KiB | 00m00s [ 96/157] Installing libkadm5-0:1.21.2- 100% | 52.8 MiB/s | 216.1 KiB | 00m00s [ 97/157] Installing protobuf-c-0:1.5.0 100% | 13.6 MiB/s | 55.5 KiB | 00m00s [ 98/157] Installing libdaemon-0:0.14-2 100% | 13.6 MiB/s | 69.5 KiB | 00m00s [ 99/157] Installing glibc-headers-x86- 100% | 84.5 MiB/s | 2.3 MiB | 00m00s [100/157] Installing libxcrypt-devel-0: 100% | 8.0 MiB/s | 32.6 KiB | 00m00s [101/157] Installing glibc-devel-0:2.39 100% | 8.1 MiB/s | 41.4 KiB | 00m00s [102/157] Installing sysprof-capture-de 100% | 62.4 MiB/s | 255.7 KiB | 00m00s [103/157] Installing pcre2-utf32-0:10.4 100% | 109.1 MiB/s | 558.8 KiB | 00m00s [104/157] Installing pcre2-utf16-0:10.4 100% | 115.4 MiB/s | 590.9 KiB | 00m00s [105/157] Installing pcre2-devel-0:10.4 100% | 124.3 MiB/s | 2.0 MiB | 00m00s [106/157] Installing libsepol-devel-0:3 100% | 20.8 MiB/s | 127.7 KiB | 00m00s [107/157] Installing libselinux-devel-0 100% | 11.2 MiB/s | 160.6 KiB | 00m00s [108/157] Installing libmount-devel-0:2 100% | 21.0 MiB/s | 64.5 KiB | 00m00s [109/157] Installing krb5-devel-0:1.21. 100% | 87.4 MiB/s | 715.9 KiB | 00m00s [110/157] Installing libffi-devel-0:3.4 100% | 8.5 MiB/s | 34.8 KiB | 00m00s [111/157] Installing python-pip-wheel-0 100% | 254.7 MiB/s | 1.5 MiB | 00m00s [112/157] Installing mpdecimal-0:2.5.1- 100% | 65.8 MiB/s | 202.0 KiB | 00m00s [113/157] Installing libb2-0:0.98.1-11. 100% | 14.1 MiB/s | 43.3 KiB | 00m00s [114/157] Installing python3-0:3.12.3-2 100% | 3.0 MiB/s | 33.2 KiB | 00m00s [115/157] Installing python3-libs-0:3.1 100% | 191.4 MiB/s | 41.3 MiB | 00m00s >>> Running pre-install scriptlet: unbound-libs-0:1.19.3-6.fc41.x86_64 >>> Stop pre-install scriptlet: unbound-libs-0:1.19.3-6.fc41.x86_64 [116/157] Installing unbound-libs-0:1.1 100% | 113.7 MiB/s | 1.4 MiB | 00m00s [117/157] Installing gnutls-dane-0:3.8. 100% | 10.2 MiB/s | 62.5 KiB | 00m00s [118/157] Installing gnutls-devel-0:3.8 100% | 91.5 MiB/s | 5.7 MiB | 00m00s [119/157] Installing python3-packaging- 100% | 60.8 MiB/s | 435.6 KiB | 00m00s [120/157] Installing libevent-devel-0:2 100% | 52.7 MiB/s | 432.0 KiB | 00m00s [121/157] Installing ncurses-c++-libs-0 100% | 31.8 MiB/s | 162.9 KiB | 00m00s [122/157] Installing ncurses-devel-0:6. 100% | 27.3 MiB/s | 1.0 MiB | 00m00s [123/157] Installing annobin-docs-0:12. 100% | 23.6 MiB/s | 96.7 KiB | 00m00s [124/157] Installing dbus-common-1:1.14 100% | 366.2 KiB/s | 13.6 KiB | 00m00s >>> Running post-install scriptlet: dbus-common-1:1.14.10-3.fc40.noarch >>> Stop post-install scriptlet: dbus-common-1:1.14.10-3.fc40.noarch >>> Running pre-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 >>> Stop pre-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 [125/157] Installing dbus-broker-0:36-2 100% | 33.8 MiB/s | 381.3 KiB | 00m00s >>> Running post-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 >>> Stop post-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 [126/157] Installing dbus-1:1.14.10-3.f 100% | 3.7 KiB/s | 124.0 B | 00m00s >>> Running pre-install scriptlet: avahi-0:0.8-26.fc40.x86_64 >>> Stop pre-install scriptlet: avahi-0:0.8-26.fc40.x86_64 [127/157] Installing avahi-0:0.8-26.fc4 100% | 65.8 MiB/s | 1.2 MiB | 00m00s >>> Running post-install scriptlet: avahi-0:0.8-26.fc40.x86_64 >>> Stop post-install scriptlet: avahi-0:0.8-26.fc40.x86_64 [128/157] Installing avahi-devel-0:0.8- 100% | 26.5 MiB/s | 135.7 KiB | 00m00s [129/157] Installing gc-0:8.2.2-6.fc40. 100% | 36.4 MiB/s | 261.2 KiB | 00m00s [130/157] Installing guile30-0:3.0.7-12 100% | 339.4 MiB/s | 51.6 MiB | 00m00s [131/157] Installing make-1:4.4.1-6.fc4 100% | 150.0 MiB/s | 1.8 MiB | 00m00s [132/157] Installing gcc-0:14.0.1-0.15. 100% | 376.8 MiB/s | 104.0 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [133/157] Installing libseccomp-0:2.5.3 100% | 33.8 MiB/s | 173.1 KiB | 00m00s [134/157] Installing kmod-libs-0:31-5.f 100% | 23.5 MiB/s | 144.3 KiB | 00m00s [135/157] Installing systemd-pam-0:255. 100% | 114.7 MiB/s | 1.0 MiB | 00m00s [136/157] Installing systemd-0:255.4-1. 100% | 91.3 MiB/s | 14.7 MiB | 00m00s >>> Running post-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Stop post-install scriptlet: systemd-0:255.4-1.fc41.x86_64 [137/157] Installing libell-0:0.64-1.fc 100% | 80.0 MiB/s | 573.7 KiB | 00m00s [138/157] Installing json-c-0:0.17-3.fc 100% | 9.1 MiB/s | 83.6 KiB | 00m00s >>> Running pre-install scriptlet: xml-common-0:0.6.3-63.fc40.noarch >>> Stop pre-install scriptlet: xml-common-0:0.6.3-63.fc40.noarch [139/157] Installing xml-common-0:0.6.3 100% | 15.8 MiB/s | 81.1 KiB | 00m00s [140/157] Installing m4-0:1.4.19-9.fc40 100% | 64.6 MiB/s | 595.2 KiB | 00m00s [141/157] Installing emacs-filesystem-1 100% | 265.6 KiB/s | 544.0 B | 00m00s [142/157] Installing autoconf-0:2.72-2. 100% | 174.9 MiB/s | 2.8 MiB | 00m00s [143/157] Installing automake-0:1.16.5- 100% | 117.5 MiB/s | 1.8 MiB | 00m00s [144/157] Installing libtool-0:2.4.7-10 100% | 221.0 MiB/s | 2.7 MiB | 00m00s [145/157] Installing dbus-devel-1:1.14. 100% | 18.8 MiB/s | 134.8 KiB | 00m00s [146/157] Installing json-c-devel-0:0.1 100% | 25.3 MiB/s | 155.3 KiB | 00m00s [147/157] Installing libell-devel-0:0.6 100% | 17.6 MiB/s | 126.4 KiB | 00m00s [148/157] Installing annobin-plugin-gcc 100% | 63.3 MiB/s | 972.4 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [149/157] Installing gcc-plugin-annobin 100% | 3.4 MiB/s | 58.7 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [150/157] Installing cups-devel-1:2.4.7 100% | 3.5 MiB/s | 188.4 KiB | 00m00s [151/157] Installing readline-devel-0:8 100% | 60.8 MiB/s | 560.5 KiB | 00m00s [152/157] Installing glib2-devel-0:2.80 100% | 329.6 MiB/s | 15.5 MiB | 00m00s [153/157] Installing python3-docutils-0 100% | 128.6 MiB/s | 4.9 MiB | 00m00s [154/157] Installing python3-pygments-0 100% | 184.9 MiB/s | 10.5 MiB | 00m00s [155/157] Installing libical-devel-0:3. 100% | 102.6 MiB/s | 735.2 KiB | 00m00s [156/157] Installing systemd-rpm-macros 100% | 2.5 MiB/s | 10.0 KiB | 00m00s [157/157] Installing systemd-devel-0:25 100% | 160.4 KiB/s | 679.6 KiB | 00m04s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Running trigger-install scriptlet: glib2-0:2.80.0-1.fc41.x86_64 >>> Stop trigger-install scriptlet: glib2-0:2.80.0-1.fc41.x86_64 >>> Running trigger-install scriptlet: glib2-0:2.80.0-1.fc41.x86_64 >>> Stop trigger-install scriptlet: glib2-0:2.80.0-1.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:255.4-1.fc41.x86_64 >>> 2024-04-22 10:50:42 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.1 MiB/s | 21.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "gcc-14.0.1-0.15.fc41.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-1.fc41 fedora 33.9 MiB clang x86_64 18.1.3-2.fc41 fedora 587.5 KiB cppcheck x86_64 2.13.0-3.fc40 fedora 10.2 MiB Installing dependencies: clang-libs x86_64 18.1.3-2.fc41 fedora 107.8 MiB clang-resource-filesystem noarch 18.1.3-2.fc41 fedora 522.0 B gcc-c++ x86_64 14.0.1-0.15.fc41 fedora 38.1 MiB libedit x86_64 3.1-50.20230828cvs.fc40 fedora 243.9 KiB libstdc++-devel x86_64 14.0.1-0.15.fc41 fedora 15.4 MiB llvm-libs x86_64 18.1.3-1.fc41 fedora 113.5 MiB pcre x86_64 8.45-1.fc40.6 fedora 541.8 KiB tinyxml2 x86_64 9.0.0-4.fc40 fedora 103.8 KiB Transaction Summary: Installing: 11 packages Total size of inbound packages is 76 MiB. Need to download 0 B. After this operation 320 MiB will be used (install 320 MiB, remove 0 B). [ 1/11] cppcheck-0:2.13.0-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/11] ShellCheck-0:0.10.0-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/11] clang-0:18.1.3-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/11] pcre-0:8.45-1.fc40.6.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/11] tinyxml2-0:9.0.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/11] clang-libs-0:18.1.3-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/11] llvm-libs-0:18.1.3-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/11] clang-resource-filesystem-0:18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/11] libedit-0:3.1-50.20230828cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/11] gcc-c++-0:14.0.1-0.15.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/11] libstdc++-devel-0:14.0.1-0.15.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/13] Verify package files 100% | 36.0 B/s | 11.0 B | 00m00s [ 2/13] Prepare transaction 100% | 289.0 B/s | 11.0 B | 00m00s [ 3/13] Installing libstdc++-devel-0:14 100% | 222.0 MiB/s | 15.5 MiB | 00m00s [ 4/13] Installing gcc-c++-0:14.0.1-0.1 100% | 346.5 MiB/s | 38.1 MiB | 00m00s [ 5/13] Installing libedit-0:3.1-50.202 100% | 48.0 MiB/s | 245.5 KiB | 00m00s [ 6/13] Installing llvm-libs-0:18.1.3-1 100% | 411.1 MiB/s | 113.5 MiB | 00m00s [ 7/13] Installing clang-resource-files 100% | 522.1 KiB/s | 1.6 KiB | 00m00s [ 8/13] Installing clang-libs-0:18.1.3- 100% | 416.3 MiB/s | 107.8 MiB | 00m00s [ 9/13] Installing tinyxml2-0:9.0.0-4.f 100% | 25.6 MiB/s | 104.9 KiB | 00m00s [10/13] Installing pcre-0:8.45-1.fc40.6 100% | 88.6 MiB/s | 544.1 KiB | 00m00s [11/13] Installing cppcheck-0:2.13.0-3. 100% | 300.9 MiB/s | 10.2 MiB | 00m00s [12/13] Installing clang-0:18.1.3-2.fc4 100% | 48.0 MiB/s | 590.2 KiB | 00m00s [13/13] Installing ShellCheck-0:0.10.0- 100% | 21.0 MiB/s | 33.9 MiB | 00m02s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> 2024-04-22 10:50:47 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/rpm-list-mock.txt" >>> 2024-04-22 10:50:48 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockyn96pidn/rpm-list-mock-provides.txt" >>> 2024-04-22 10:50:49 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockyn96pidn/bluez-5.75-1.fc41.src.rpm" "/builddir/bluez-5.75-1.fc41.src.rpm" >>> 2024-04-22 10:50:50 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-04-22 10:50:51 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/bluez-5.75-1.fc41.src.rpm'\"" Updating / installing... bluez-5.75-1.fc41 ######################################## >>> 2024-04-22 10:50:52 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/bluez.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' && sh -c 'cd /builddir/build/SRPMS && eval mv -v *.src.rpm /builddir/bluez-5.75-1.fc41.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1713139200 Wrote: /builddir/build/SRPMS/bluez-5.75-1.fc41.src.rpm renamed 'bluez-5.75-1.fc41.src.rpm' -> '/builddir/bluez-5.75-1.fc41.src.rpm' >>> 2024-04-22 10:50:53 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/bluez-5.75-1.fc41.src.rpm" "/tmp/csmockyn96pidn/bluez-5.75-1.fc41.src.rpm" >>> 2024-04-22 10:50:54 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmockyn96pidn/bluez-5.75-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.1 MiB/s | 21.8 KiB | 00m00s Repositories loaded. Package "autoconf-2.72-2.fc41.noarch" is already installed. Package "automake-1.16.5-16.fc40.noarch" is already installed. Package "cups-devel-1:2.4.7-13.fc41.x86_64" is already installed. Package "dbus-devel-1:1.14.10-3.fc40.x86_64" is already installed. Package "glib2-devel-2.80.0-1.fc41.x86_64" is already installed. Package "json-c-devel-0.17-3.fc40.x86_64" is already installed. Package "libell-devel-0.64-1.fc41.x86_64" is already installed. Package "libical-devel-3.0.18-1.fc41.x86_64" is already installed. Package "libtool-2.4.7-10.fc40.x86_64" is already installed. Package "make-1:4.4.1-6.fc40.x86_64" is already installed. Package "python3-docutils-0.20.1-3.fc40.noarch" is already installed. Package "python3-pygments-2.17.2-3.fc40.noarch" is already installed. Package "readline-devel-8.2-8.fc40.x86_64" is already installed. Package "systemd-255.4-1.fc41.x86_64" is already installed. Package "systemd-devel-255.4-1.fc41.x86_64" is already installed. Nothing to do. >>> 2024-04-22 10:50:56 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 947.4 KiB/s | 21.8 KiB | 00m00s Repositories loaded. Nothing to do. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "clang-18.1.3-2.fc41.x86_64" is already installed. Package "cppcheck-2.13.0-3.fc40.x86_64" is already installed. Package "gcc-14.0.1-0.15.fc41.x86_64" is already installed. Package "ShellCheck-0.10.0-1.fc41.x86_64" is already installed. >>> 2024-04-22 10:50:57 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/rpm-list-mock.txt" >>> 2024-04-22 10:50:58 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockyn96pidn/rpm-list-mock-provides.txt" >>> 2024-04-22 10:51:00 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: fedora 100% | 1.0 MiB/s | 21.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.2.1-1.fc41 fedora 3.5 MiB Installing dependencies: boost-atomic x86_64 1.83.0-3.fc40 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-3.fc40 fedora 147.6 KiB boost-program-options x86_64 1.83.0-3.fc40 fedora 272.7 KiB boost-system x86_64 1.83.0-3.fc40 fedora 16.3 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 1 MiB. Need to download 0 B. After this operation 4 MiB will be used (install 4 MiB, remove 0 B). [1/5] csdiff-0:3.2.1-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] boost-filesystem-0:1.83.0-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] boost-program-options-0:1.83.0-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] boost-atomic-0:1.83.0-3.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] boost-system-0:1.83.0-3.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 833.0 B/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 172.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 3.4 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 7.2 MiB/s | 22.0 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 36.3 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 53.5 MiB/s | 273.8 KiB | 00m00s [7/7] Installing csdiff-0:3.2.1-1.fc41. 100% | 38.9 MiB/s | 3.5 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> 2024-04-22 10:51:01 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/rpm-list-mock.txt" >>> 2024-04-22 10:51:02 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockyn96pidn/rpm-list-mock-provides.txt" >>> 2024-04-22 10:51:04 "tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/csclng' '/usr/lib64/csclng' '/usr/bin/csclng++' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockyn96pidn/bluez-5.75-1.fc41.src.rpm' | '/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'" tar: Removing leading `/' from member names scan.ini: analyzer-version-clang = 18.1.3 scan.ini: analyzer-version-cppcheck = 2.13.0 scan.ini: analyzer-version-gcc = 14.0.1 >>> 2024-04-22 10:51:06 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" scan.ini: analyzer-version-gcc-analyzer = 14.0.1 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-04-22 10:51:08 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmockyn96pidn/bluez-5.75-1.fc41.src.rpm'" Updating / installing... bluez-5.75-1.fc41 ######################################## >>> 2024-04-22 10:51:09 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-04-22 10:51:10 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done" RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh + /usr/bin/gio-querymodules-64 /usr/lib64/gio/modules + /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas No schema files found: doing nothing. RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh + sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs '/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true' RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh >>> 2024-04-22 10:51:11 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/bluez.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/bluez.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'"' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.5 INFO: Mock Version: 5.5 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/bluez.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Start: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/bluez.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1713139200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ybpmcs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bluez-5.75 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bluez-5.75.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd bluez-5.75 + rm -rf /builddir/build/BUILD/bluez-5.75-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/bluez-5.75-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/bluez.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-04-22 10:51:12 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-04-22 10:51:13 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/bluez.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\"" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/bluez.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.5 INFO: Mock Version: 5.5 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/bluez.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/bluez.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] setting SOURCE_DATE_EPOCH=1713139200 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.t04EOk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bluez-5.75 + autoreconf -vif autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:21: installing './compile' configure.ac:5: installing './missing' Makefile.am: installing './depcomp' autoreconf: './install-sh' is updated autoreconf: './config.sub' is updated autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-04-22 10:51:17.005212294 +0000 +++ ./configure 2024-04-22 10:51:17.993196525 +0000 @@ -8517,7 +8517,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18158,7 +18158,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux --host=x86_64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-tools --enable-library --enable-external-ell --disable-optimization --enable-deprecated --enable-sixaxis --enable-cups --enable-nfc --enable-mesh --enable-hid2hci --enable-testing --enable-experimental --enable-bap --enable-bass --enable-mcp --enable-micp --enable-csip --enable-vcp --with-systemdsystemunitdir=/usr/lib/systemd/system --with-systemduserunitdir=/usr/lib/systemd/user checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-redhat-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-redhat-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for C/C++ restrict keyword... __restrict__ checking for x86_64-redhat-linux-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether gcc accepts -fPIE... yes checking whether gcc accepts -fsanitize=address... yes checking whether gcc accepts -fsanitize=leak... yes checking whether gcc accepts -fsanitize=undefined... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-file... no checking for file... file checking for x86_64-redhat-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-strip... no checking for strip... strip checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8523: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for explicit_bzero... yes checking for getrandom... yes checking for rawmemchr... yes checking for signalfd... yes checking for clock_gettime in -lrt... yes checking for pthread_create in -lpthread... yes checking for dlopen in -ldl... yes checking for linux/types.h... yes checking for linux/if_alg.h... yes checking for linux/uinput.h... yes checking for linux/uhid.h... yes checking for sys/random.h... yes checking for glib-2.0 >= 2.28... yes checking for dbus-1 >= 1.10... yes checking D-Bus configuration directory... /usr/share checking D-Bus system bus services dir... /usr/share/dbus-1/system-services checking D-Bus session bus services dir... /usr/share/dbus-1/services ${prefix}/share/zsh/site-functions checking for libudev >= 196... yes checking udev directory... /usr/lib/udev checking cups directory... /usr/lib/cups checking for json-c >= 0.13... yes checking for libical... yes checking for ell >= 0.39... yes checking for readline/readline.h... yes checking for rst2man... rst2man checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating lib/bluez.pc config.status: creating Makefile config.status: creating mesh/bluetooth-meshd.rst config.status: creating mesh/bluetooth-mesh.service config.status: creating obexd/src/obex.service config.status: creating obexd/src/org.bluez.obex.service config.status: creating src/bluetoothd.rst config.status: creating src/bluetooth.service config.status: creating tools/bluetooth-logger.service config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h lib/bluetooth/bluetooth.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/hci.h lib/bluetooth/hci.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/hci_lib.h lib/bluetooth/hci_lib.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/sco.h lib/bluetooth/sco.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/l2cap.h lib/bluetooth/l2cap.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/sdp.h lib/bluetooth/sdp.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/sdp_lib.h lib/bluetooth/sdp_lib.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/rfcomm.h lib/bluetooth/rfcomm.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/bnep.h lib/bluetooth/bnep.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/cmtp.h lib/bluetooth/cmtp.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.75/lib/hidp.h lib/bluetooth/hidp.h /usr/bin/mkdir -p ell for f in ; do \ if [ ! -f $f ] ; then \ ln -s -t ell -f /builddir/build/BUILD/bluez-5.75/../ell/$f ; \ fi \ done > ell/shared ./src/genbuiltin hostname wiimote autopair policy neard a2dp avrcp network input hog gap scanparam deviceinfo battery sixaxis bap bass mcp vcp micp ccp csip > src/builtin.h /usr/bin/mkdir -p obexd/src/ ./obexd/src/genbuiltin filesystem bluetooth pcsuite opp ftp irmc pbap mas mns > obexd/src/builtin.h /usr/bin/make --no-print-directory all-am /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-hci-crypto.lo `test -f 'src/shared/hci-crypto.c' || echo './'`src/shared/hci-crypto.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/hci-crypto.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-hci-crypto.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-ringbuf.lo `test -f 'src/shared/ringbuf.c' || echo './'`src/shared/ringbuf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ringbuf.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-ringbuf.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-queue.lo `test -f 'src/shared/queue.c' || echo './'`src/shared/queue.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/queue.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-queue.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-hci.lo `test -f 'src/shared/hci.c' || echo './'`src/shared/hci.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/hci.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-hci.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-pcap.lo `test -f 'src/shared/pcap.c' || echo './'`src/shared/pcap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/pcap.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-pcap.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-mgmt.lo `test -f 'src/shared/mgmt.c' || echo './'`src/shared/mgmt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mgmt.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-mgmt.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-uhid.lo `test -f 'src/shared/uhid.c' || echo './'`src/shared/uhid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/uhid.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-uhid.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-crypto.lo `test -f 'src/shared/crypto.c' || echo './'`src/shared/crypto.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/crypto.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-crypto.o /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:724:6: note: (1) entry to 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:731:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (4) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (1) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (2) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (4) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:852:13: note: (1) entry to 'sef_k1' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:859:14: note: (2) calling 'aes_cmac_be' from 'sef_k1' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (3) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (6) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (7) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (10) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (11) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (12) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:897:6: note: (1) entry to 'bt_crypto_sef' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:907:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:911:14: note: (3) inlined call to 'sef_s1' from 'bt_crypto_sef' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:822:16: note: (4) inlined call to 'aes_cmac_zero' from 'sef_s1' <--[gcc] In function 'aes_cmac_zero', inlined from 'sef_s1' at src/shared/crypto.c:822:9, inlined from 'bt_crypto_sef' at src/shared/crypto.c:911:7: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:794:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:796:16: note: (6) calling 'aes_cmac_be' from 'bt_crypto_sef' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (7) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (8) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (10) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (11) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (14) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (15) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (16) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:935:6: note: (1) entry to 'bt_crypto_sirk' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:943:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:946:25: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:950:14: note: (4) calling 'bt_crypto_gatt_hash' from 'bt_crypto_sirk' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:724:6: note: (5) entry to 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:731:12: note: (6) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (8) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (9) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (12) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (13) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (14) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.ecb_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:785:6: note: (1) entry to 'bt_crypto_sih' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:788:16: note: (2) calling 'bt_crypto_ah' from 'bt_crypto_sih' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:422:6: note: (3) entry to 'bt_crypto_ah' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:428:12: note: (4) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:432:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:436:14: note: (6) calling 'bt_crypto_e' from 'bt_crypto_ah' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:357:6: note: (7) entry to 'bt_crypto_e' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:363:12: note: (8) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:367:9: note: (10) inlined call to 'swap_buf' from 'bt_crypto_e' <--[gcc] In function 'swap_buf', inlined from 'bt_crypto_e' at src/shared/crypto.c:367:2: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (11) following 'true' branch (when 'i != 16')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:259:39: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (13) following 'false' branch (when 'i == 16')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:369:14: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:369:14: note: (15) calling 'alg_new' from 'bt_crypto_e' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (16) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (17) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (19) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (20) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (21) '*crypto.ecb_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:697:6: note: (1) entry to 'bt_crypto_g2' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:706:14: note: (2) calling 'aes_cmac' from 'bt_crypto_g2' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:619:13: note: (3) entry to 'aes_cmac' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:624:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:627:9: note: (6) inlined call to 'swap_buf' from 'aes_cmac' <--[gcc] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:627:2: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (7) following 'true' branch (when 'i != 16')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:259:39: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (9) following 'false' branch (when 'i == 16')... <--[gcc] In function 'alg_new': cc1: note: (10) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:628:9: note: (11) inlined call to 'swap_buf' from 'aes_cmac' <--[gcc] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:628:2: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (12) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:259:39: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:630:14: note: (14) calling 'aes_cmac_be' from 'aes_cmac' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (15) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (16) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (18) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (19) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (22) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (23) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (24) '*crypto.cmac_aes' leaks here <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-btsnoop.lo `test -f 'src/shared/btsnoop.c' || echo './'`src/shared/btsnoop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/btsnoop.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-btsnoop.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-util.lo `test -f 'src/shared/util.c' || echo './'`src/shared/util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/util.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-util.o In file included from /builddir/build/BUILD/bluez-5.75/src/shared/util.c:39: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c: In function 'util_iov_dup': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:83:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:342:15: note: (1) entry to 'util_iov_dup' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:347:12: note: (2) following 'false' branch (when 'iov' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (4) calling 'util_malloc' from 'util_iov_dup' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:41:7: note: (5) entry to 'util_malloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:43:12: note: (6) following 'false' branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (8) returning to 'util_iov_dup' from 'util_malloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:83:17: note: (9) argument 1 ('util_malloc(cnt * 16)') NULL where non-null expected <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/util.c: In function 'util_iov_memcpy.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:379:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:377:25: note: (1) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:377:23: note: (2) '*iov.iov_base' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:379:9: note: (3) argument 1 ('realloc(*iov.iov_base, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/util.c: In function 'strdelimit': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1828:16: warning: dereference of possibly-NULL 'dup' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1824:12: note: (1) following 'false' branch (when 'str' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1827:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1827:15: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1828:16: note: (4) 'dup' could be NULL: unchecked value from (3) <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-gatt-helpers.lo `test -f 'src/shared/gatt-helpers.c' || echo './'`src/shared/gatt-helpers.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-helpers.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-gatt-helpers.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-gap.lo `test -f 'src/shared/gap.c' || echo './'`src/shared/gap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gap.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-gap.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-gatt-server.lo `test -f 'src/shared/gatt-server.c' || echo './'`src/shared/gatt-server.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-server.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-gatt-server.o /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'read_by_grp_type_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:322:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:269:13: note: (1) entry to 'read_by_grp_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:275:19: note: (2) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:275:19: note: (3) capacity: 20 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:284:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:289:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:293:9: note: (6) calling 'get_uuid_le' from 'read_by_grp_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:168:13: note: (7) entry to 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:172:9: note: (8) following 'default:' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/att.h:11, <--[gcc] from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:19: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:175:24: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:293:9: note: (10) returning to 'read_by_grp_type_cb' from 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (11) calling 'gatt_log' from 'read_by_grp_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:295:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:257:13: note: (12) entry to 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:42: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (15) returning to 'read_by_grp_type_cb' from 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:295:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:297:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:304:12: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:304:12: note: (18) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:315:9: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:322:9: note: (20) use of uninitialized value 'type' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'read_by_type_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:531:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:494:13: note: (1) entry to 'read_by_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:500:19: note: (2) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:500:19: note: (3) capacity: 20 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:506:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:511:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:515:9: note: (6) calling 'get_uuid_le' from 'read_by_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:168:13: note: (7) entry to 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:172:9: note: (8) following 'default:' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:175:24: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:515:9: note: (10) returning to 'read_by_type_cb' from 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:519:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:526:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:526:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:531:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:531:9: note: (15) use of uninitialized value 'type' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'prep_write_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1350:9: warning: use of possibly-NULL 'malloc((long unsigned int)length)' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1307:13: note: (1) entry to 'prep_write_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1318:12: note: (2) following 'false' branch (when 'length > 3')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1323:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1323:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1328:18: note: (5) inlined call to 'get_le16' from 'prep_write_cb' <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:26: <--[gcc] In function 'get_le16', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1328:11: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:26:27: note: in definition of macro 'le16_to_cpu' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:210:28: note: in expansion of macro 'get_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'prep_write_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1332:12: note: (7) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1337:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (9) calling 'gatt_log' from 'prep_write_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1337:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:257:13: note: (10) entry to 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:42: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (13) returning to 'prep_write_cb' from 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1337:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1339:17: note: (14) inlined call to 'check_length' from 'prep_write_cb' <--[gcc] In function 'check_length', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1339:10: /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:812:12: note: (15) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:815:12: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:815:12: note: (17) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:818:20: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:818:12: note: (19) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'prep_write_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1343:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1344:12: note: (21) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1347:16: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1349:21: note: (23) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1350:9: note: (24) argument 1 ('malloc((long unsigned int)length)') from (23) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-log.lo `test -f 'src/shared/log.c' || echo './'`src/shared/log.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/log.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-log.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-bap-debug.lo `test -f 'src/shared/bap-debug.c' || echo './'`src/shared/bap-debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/bap-debug.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-bap-debug.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-hfp.lo `test -f 'src/shared/hfp.c' || echo './'`src/shared/hfp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/hfp.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-hfp.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-ecc.lo `test -f 'src/shared/ecc.c' || echo './'`src/shared/ecc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ecc.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-ecc.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-ad.lo `test -f 'src/shared/ad.c' || echo './'`src/shared/ad.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ad.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-ad.o /builddir/build/BUILD/bluez-5.75/src/shared/ad.c: In function 'ad_replace_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:394:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:366:9: note: (1) following 'default:' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:26: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:72:35: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:389:58: note: in expansion of macro 'UINT_TO_PTR' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:390:12: note: (3) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:391:29: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:393:34: note: (5) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:393:32: note: (6) '0' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:394:17: note: (7) argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/ad.c: In function 'bt_ad_add_manufacturer_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:847:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:835:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:838:22: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:838:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:72:35: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:842:49: note: in expansion of macro 'UINT_TO_PTR' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:843:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:844:29: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:846:34: note: (7) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:846:32: note: (8) '0' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:847:17: note: (9) argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/ad.c: In function 'bt_ad_add_service_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:983:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:972:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:975:22: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:975:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:978:20: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:979:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:980:29: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:982:34: note: (7) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:982:32: note: (8) '0' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:983:17: note: (9) argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-mcp.lo `test -f 'src/shared/mcp.c' || echo './'`src/shared/mcp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mcp.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-mcp.o /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'mcp_send': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:586:17: warning: dereference of NULL 'mcp' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:578:21: note: (1) entry to 'mcp_send' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:580:30: note: (2) calling 'mcp_get_mcs' from 'mcp_send' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:580:30: note: (6) returning to 'mcp_send' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'mcp_send' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:111:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (11) returning to 'mcp_send' from 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:586:17: note: (12) dereference of NULL 'mcp' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_mp_name_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1008:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1003:13: note: (1) entry to 'bt_mcp_mp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1006:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_mp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1006:30: note: (6) returning to 'bt_mcp_mp_name_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1008:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_changed_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1026:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1021:13: note: (1) entry to 'bt_mcp_track_changed_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1024:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_changed_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1024:30: note: (6) returning to 'bt_mcp_track_changed_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1026:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_title_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1042:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1037:13: note: (1) entry to 'bt_mcp_track_title_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1040:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_title_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1040:30: note: (6) returning to 'bt_mcp_track_title_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1042:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_duration_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1060:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1055:13: note: (1) entry to 'bt_mcp_track_duration_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1058:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_duration_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1058:30: note: (6) returning to 'bt_mcp_track_duration_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1060:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_position_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1078:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1073:13: note: (1) entry to 'bt_mcp_track_position_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1076:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_position_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1076:30: note: (6) returning to 'bt_mcp_track_position_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1078:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_media_state_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1096:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1091:13: note: (1) entry to 'bt_mcp_media_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1094:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1094:30: note: (6) returning to 'bt_mcp_media_state_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1096:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_media_cp_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1114:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1109:13: note: (1) entry to 'bt_mcp_media_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1112:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1112:30: note: (6) returning to 'bt_mcp_media_cp_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1114:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_media_cp_op_supported_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1130:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1125:13: note: (1) entry to 'bt_mcp_media_cp_op_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1128:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_op_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1128:30: note: (6) returning to 'bt_mcp_media_cp_op_supported_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1130:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_content_control_id_supported_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1149:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1144:13: note: (1) entry to 'bt_mcp_content_control_id_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1147:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_content_control_id_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1147:30: note: (6) returning to 'bt_mcp_content_control_id_supported_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1149:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'foreach_mcs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1313:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1305:13: note: (1) entry to 'foreach_mcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1309:30: note: (2) calling 'mcp_get_mcs' from 'foreach_mcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1309:30: note: (6) returning to 'foreach_mcs_service' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'foreach_mcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1311:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:111:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (11) returning to 'foreach_mcs_service' from 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1311:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1313:22: note: (12) dereference of NULL 'mcp_get_mcs(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-att.lo `test -f 'src/shared/att.c' || echo './'`src/shared/att.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/att.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-att.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-csip.lo `test -f 'src/shared/csip.c' || echo './'`src/shared/csip.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/csip.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-csip.o /builddir/build/BUILD/bluez-5.75/src/shared/csip.c: In function 'foreach_csis_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:605:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:599:13: note: (1) entry to 'foreach_csis_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:603:32: note: (2) calling 'csip_get_csis' from 'foreach_csis_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:444:24: note: (3) entry to 'csip_get_csis' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:446:12: note: (4) following 'true' branch (when 'csip' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:603:32: note: (6) returning to 'foreach_csis_service' from 'csip_get_csis' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:605:23: note: (7) dereference of NULL 'csip_get_csis(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-micp.lo `test -f 'src/shared/micp.c' || echo './'`src/shared/micp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/micp.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-micp.o /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'micp_get_session': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:271:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:258:24: note: (1) entry to 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:270:16: note: (2) calling 'bt_micp_new' from 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:583:17: note: (3) entry to 'bt_micp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:588:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:270:16: note: (6) returning to 'micp_get_session' from 'bt_micp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:271:19: note: (7) dereference of NULL 'bt_micp_new(db, 0)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_muted': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:339:21: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:323:16: note: (1) entry to 'mics_muted' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:331:15: note: (2) inlined call to 'micp_get_mdb' from 'mics_muted' <--[gcc] In function 'micp_get_mdb', inlined from 'mics_muted' at src/shared/micp.c:331:8: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:97:12: note: (3) following 'false' branch (when 'micp' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:100:17: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_muted': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:332:12: note: (5) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:337:22: note: (6) inlined call to 'mdb_get_mute_state' from 'mics_muted' <--[gcc] In function 'mdb_get_mute_state', inlined from 'mics_muted' at src/shared/micp.c:337:15: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:12: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_muted': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:339:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:339:21: note: (10) dereference of NULL '<unknown>' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:417:13: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:368:13: note: (1) entry to 'mics_mute_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:375:32: note: (2) calling 'micp_get_session' from 'mics_mute_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:258:24: note: (3) entry to 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:266:28: note: (4) calling 'bt_micp_get_att' from 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:205:16: note: (5) entry to 'bt_micp_get_att' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:207:12: note: (6) following 'false' branch (when 'micp' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:210:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:266:28: note: (8) returning to 'micp_get_session' from 'bt_micp_get_att' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:375:32: note: (9) returning to 'mics_mute_write' from 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:387:12: note: (10) following 'false' branch (when 'offset == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:393:12: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:393:12: note: (12) following 'false' branch (when 'len != 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:400:19: note: (13) inlined call to 'iov_pull_mem' from 'mics_mute_write' <--[gcc] In function 'iov_pull_mem', inlined from 'mics_mute_write' at src/shared/micp.c:400:12: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:84:15: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:86:12: note: (15) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:89:23: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:402:12: note: (17) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:410:15: note: (18) inlined call to 'micp_get_mdb' from 'mics_mute_write' <--[gcc] In function 'micp_get_mdb', inlined from 'mics_mute_write' at src/shared/micp.c:410:8: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:97:12: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:97:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:100:17: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:411:12: note: (22) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:416:22: note: (23) inlined call to 'mdb_get_mute_state' from 'mics_mute_write' <--[gcc] In function 'mdb_get_mute_state', inlined from 'mics_mute_write' at src/shared/micp.c:416:15: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:17: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:12: note: (25) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:417:13: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:417:13: note: (27) dereference of NULL '<unknown>' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'foreach_mics_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:782:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:776:13: note: (1) entry to 'foreach_mics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:780:32: note: (2) calling 'micp_get_mics' from 'foreach_mics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:114:17: note: (3) entry to 'micp_get_mics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:116:12: note: (4) following 'true' branch (when 'micp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:780:32: note: (6) returning to 'foreach_mics_service' from 'micp_get_mics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:782:23: note: (7) dereference of NULL 'micp_get_mics(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-gatt-db.lo `test -f 'src/shared/gatt-db.c' || echo './'`src/shared/gatt-db.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-db.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-gatt-db.o In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:20: <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:319:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:311:9: note: (1) following 'case 10240 ... 10243:' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:312:9: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:318:24: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:319:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:319:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:331:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:311:9: note: (1) following 'case 10497 ... 10501:' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:323:9: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:330:24: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:331:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:331:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c: In function 'read_ext_prop_value': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1831:37: warning: dereference of NULL 'value' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1834:13: note: (1) entry to 'read_ext_prop.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1849:9: note: (2) calling 'gatt_db_attribute_read' from 'read_ext_prop.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2031:6: note: (3) entry to 'gatt_db_attribute_read' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2037:12: note: (4) following 'false' branch... <--[gcc] cc1: note: (5) ...to here cc1: note: (6) calling 'gatt_db_attribute_read.part.0' from 'gatt_db_attribute_read' /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2031:6: note: (7) entry to 'gatt_db_attribute_read.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2046:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2072:52: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2072:52: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2074:38: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2074:9: note: (12) calling 'read_ext_prop_value' from 'gatt_db_attribute_read.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1822:13: note: (13) entry to 'read_ext_prop_value' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1828:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1831:37: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1831:37: note: (16) dereference of NULL 'value' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-io-mainloop.lo `test -f 'src/shared/io-mainloop.c' || echo './'`src/shared/io-mainloop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/io-mainloop.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-io-mainloop.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-timeout-mainloop.lo `test -f 'src/shared/timeout-mainloop.c' || echo './'`src/shared/timeout-mainloop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/timeout-mainloop.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-timeout-mainloop.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-mainloop.lo `test -f 'src/shared/mainloop.c' || echo './'`src/shared/mainloop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mainloop.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-mainloop.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-mainloop-notify.lo `test -f 'src/shared/mainloop-notify.c' || echo './'`src/shared/mainloop-notify.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mainloop-notify.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-mainloop-notify.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-vcp.lo `test -f 'src/shared/vcp.c' || echo './'`src/shared/vcp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/vcp.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-vcp.o /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'vcp_get_session.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:501:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:488:23: note: (1) entry to 'vcp_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:500:15: note: (2) calling 'bt_vcp_new' from 'vcp_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1909:16: note: (3) entry to 'bt_vcp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1914:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:500:15: note: (6) returning to 'vcp_get_session.part.0' from 'bt_vcp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:501:18: note: (7) dereference of NULL 'bt_vcp_new(db, 0)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'aics_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1721:9: warning: use of possibly-NULL 'ip_descr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1713:12: note: (1) following 'false' branch (when 'db' is non-NULL)... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:22: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1716:16: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1720:20: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1721:9: note: (4) argument 1 ('ip_descr') from (3) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'vcp_audio_loc_notify': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1969:27: warning: dereference of possibly-NULL 'vocs_audio_loc_n' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1968:38: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1969:27: note: (2) 'vocs_audio_loc_n' could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'read_vocs_audio_descriptor.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2131:9: warning: use of possibly-NULL 'vocs_ao_dec_r' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2130:25: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2131:9: note: (2) argument 1 ('vocs_ao_dec_r') from (1) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'read_aics_audio_ip_description.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2535:9: warning: use of possibly-NULL 'ip_descrptn' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2534:23: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2535:9: note: (2) argument 1 ('ip_descrptn') from (1) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'aics_audio_ip_desr_notify': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2555:9: warning: use of possibly-NULL 'aud_ip_desr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2554:23: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2555:9: note: (2) argument 1 ('aud_ip_desr') from (1) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'foreach_vcs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2691:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2685:13: note: (1) entry to 'foreach_vcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2689:30: note: (2) calling 'vcp_get_vcs' from 'foreach_vcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:329:23: note: (3) entry to 'vcp_get_vcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:331:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2689:30: note: (6) returning to 'foreach_vcs_service' from 'vcp_get_vcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2691:22: note: (7) dereference of NULL 'vcp_get_vcs(user_data)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'foreach_vocs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2704:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2698:13: note: (1) entry to 'foreach_vocs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2702:32: note: (2) calling 'vcp_get_vocs' from 'foreach_vocs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:343:24: note: (3) entry to 'vcp_get_vocs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:345:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2702:32: note: (6) returning to 'foreach_vocs_service' from 'vcp_get_vocs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2704:23: note: (7) dereference of NULL 'vcp_get_vocs(user_data)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'foreach_aics_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2717:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2711:13: note: (1) entry to 'foreach_aics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2715:32: note: (2) calling 'vcp_get_aics' from 'foreach_aics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:357:24: note: (3) entry to 'vcp_get_aics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:359:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2715:32: note: (6) returning to 'foreach_aics_service' from 'vcp_get_aics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2717:23: note: (7) dereference of NULL 'vcp_get_aics(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-ccp.lo `test -f 'src/shared/ccp.c' || echo './'`src/shared/ccp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ccp.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-ccp.o /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_incom_call_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:661:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:654:13: note: (1) entry to 'bt_ccp_incom_call_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:657:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_incom_call_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:657:30: note: (6) returning to 'bt_ccp_incom_call_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_incom_call_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_incom_call_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:661:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_call_state_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:683:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:676:13: note: (1) entry to 'bt_ccp_call_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:679:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:679:30: note: (6) returning to 'bt_ccp_call_state_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_state_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:683:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_call_list_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:705:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:698:13: note: (1) entry to 'bt_ccp_call_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:701:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:701:30: note: (6) returning to 'bt_ccp_call_list_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_list_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:705:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_name_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:727:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:720:13: note: (1) entry to 'bt_ccp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:723:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:723:30: note: (6) returning to 'bt_ccp_name_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_name_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:727:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_term_reason_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:749:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:742:13: note: (1) entry to 'bt_ccp_term_reason_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:745:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_term_reason_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:745:30: note: (6) returning to 'bt_ccp_term_reason_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_term_reason_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_term_reason_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:749:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_status_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:770:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:763:13: note: (1) entry to 'bt_ccp_status_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:766:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_status_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:766:30: note: (6) returning to 'bt_ccp_status_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_status_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_status_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:770:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_uci_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:792:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:785:13: note: (1) entry to 'bt_ccp_uci_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:788:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uci_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:788:30: note: (6) returning to 'bt_ccp_uci_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uci_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uci_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:792:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_technology_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:813:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:806:13: note: (1) entry to 'bt_ccp_technology_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:809:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_technology_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:809:30: note: (6) returning to 'bt_ccp_technology_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_technology_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_technology_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:813:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_strength_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:833:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:826:13: note: (1) entry to 'bt_ccp_strength_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:829:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_strength_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:829:30: note: (6) returning to 'bt_ccp_strength_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_strength_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_strength_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:833:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_ccid_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:853:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:846:13: note: (1) entry to 'bt_ccp_ccid_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:849:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ccid_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:849:30: note: (6) returning to 'bt_ccp_ccid_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ccid_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ccid_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:853:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_tar_uri_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:872:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:865:13: note: (1) entry to 'bt_ccp_tar_uri_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:868:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_tar_uri_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:868:30: note: (6) returning to 'bt_ccp_tar_uri_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_tar_uri_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_tar_uri_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:872:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_ctrl_point_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:893:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:886:13: note: (1) entry to 'bt_ccp_ctrl_point_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:889:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_point_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:889:30: note: (6) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_point_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:893:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_ctrl_opcode_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:913:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:906:13: note: (1) entry to 'bt_ccp_ctrl_opcode_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:909:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_opcode_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:909:30: note: (6) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_opcode_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:913:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_friendly_name_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:933:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:926:13: note: (1) entry to 'bt_ccp_friendly_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:929:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_friendly_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:929:30: note: (6) returning to 'bt_ccp_friendly_name_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_friendly_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_friendly_name_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:933:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_signal_intrvl_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:953:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:946:13: note: (1) entry to 'bt_ccp_signal_intrvl_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:949:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_signal_intrvl_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:949:30: note: (6) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_signal_intrvl_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:953:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_uri_list_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:973:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:966:13: note: (1) entry to 'bt_ccp_uri_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:969:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uri_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:969:30: note: (6) returning to 'bt_ccp_uri_list_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uri_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uri_list_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:973:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'foreach_ccs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1129:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1123:13: note: (1) entry to 'foreach_ccs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1127:30: note: (2) calling 'ccp_get_ccs' from 'foreach_ccs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1127:30: note: (6) returning to 'foreach_ccs_service' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1129:22: note: (7) dereference of NULL 'ccp_get_ccs(user_data)' <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh/keys.o tools/mesh/keys.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh/util.o tools/mesh/util.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh/remote.o tools/mesh/remote.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-cfgclient.o tools/mesh-cfgclient.c /builddir/build/BUILD/bluez-5.75/tools/mesh-cfgclient.c:2041: error: uninitStructMember(CWE-457): Uninitialized struct member: result.last_seen <--[cppcheck] /builddir/build/BUILD/bluez-5.75/tools/mesh-cfgclient.c:2044: error: uninitStructMember(CWE-457): Uninitialized struct member: result.last_seen <--[cppcheck] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-bass.lo `test -f 'src/shared/bass.c' || echo './'`src/shared/bass.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/bass.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-bass.o /builddir/build/BUILD/bluez-5.75/src/shared/bass.c: In function 'bass_build_bcast_src': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:294:17: warning: dereference of NULL 'bad_code' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1295:13: note: (1) entry to 'read_bcast_recv_state.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1314:13: note: (2) calling 'bass_build_bcast_src' from 'read_bcast_recv_state.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:135:12: note: (3) entry to 'bass_build_bcast_src' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:158:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:163:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:163:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:168:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:169:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:174:14: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:174:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:179:14: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:179:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:184:14: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:184:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:189:14: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:189:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:194:17: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:194:12: note: (18) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:203:14: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:203:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:208:27: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:208:12: note: (22) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:209:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:278:12: note: (24) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:285:23: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:293:12: note: (26) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:294:17: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:294:17: note: (28) dereference of NULL 'bad_code' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c: In function 'bass_get_session.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:755:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:741:24: note: (1) entry to 'bass_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:754:16: note: (2) calling 'bt_bass_new' from 'bass_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1640:17: note: (3) entry to 'bt_bass_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1646:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:754:16: note: (6) returning to 'bass_get_session.part.0' from 'bt_bass_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:755:19: note: (7) dereference of NULL 'bt_bass_new(db, 0, adapter_bdaddr)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-queue.lo `test -f 'src/shared/queue.c' || echo './'`src/shared/queue.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/queue.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-queue.o gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh/cfgcli.o tools/mesh/cfgcli.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-mgmt.lo `test -f 'src/shared/mgmt.c' || echo './'`src/shared/mgmt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mgmt.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-mgmt.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-crypto.lo `test -f 'src/shared/crypto.c' || echo './'`src/shared/crypto.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/crypto.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-crypto.o /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:724:6: note: (1) entry to 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:731:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (4) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (1) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (2) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (4) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:852:13: note: (1) entry to 'sef_k1' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:859:14: note: (2) calling 'aes_cmac_be' from 'sef_k1' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (3) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (6) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (7) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (10) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (11) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (12) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:897:6: note: (1) entry to 'bt_crypto_sef' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:907:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:911:14: note: (3) inlined call to 'sef_s1' from 'bt_crypto_sef' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:822:16: note: (4) inlined call to 'aes_cmac_zero' from 'sef_s1' <--[gcc] In function 'aes_cmac_zero', inlined from 'sef_s1' at src/shared/crypto.c:822:9, inlined from 'bt_crypto_sef' at src/shared/crypto.c:911:7: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:794:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:796:16: note: (6) calling 'aes_cmac_be' from 'bt_crypto_sef' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (7) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (8) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (10) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (11) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (14) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (15) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (16) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:935:6: note: (1) entry to 'bt_crypto_sirk' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:943:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:946:25: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:950:14: note: (4) calling 'bt_crypto_gatt_hash' from 'bt_crypto_sirk' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:724:6: note: (5) entry to 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:731:12: note: (6) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (8) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (9) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (12) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (13) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (14) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.ecb_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:785:6: note: (1) entry to 'bt_crypto_sih' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:788:16: note: (2) calling 'bt_crypto_ah' from 'bt_crypto_sih' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:422:6: note: (3) entry to 'bt_crypto_ah' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:428:12: note: (4) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:432:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:436:14: note: (6) calling 'bt_crypto_e' from 'bt_crypto_ah' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:357:6: note: (7) entry to 'bt_crypto_e' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:363:12: note: (8) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:367:9: note: (10) inlined call to 'swap_buf' from 'bt_crypto_e' <--[gcc] In function 'swap_buf', inlined from 'bt_crypto_e' at src/shared/crypto.c:367:2: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (11) following 'true' branch (when 'i != 16')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:259:39: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (13) following 'false' branch (when 'i == 16')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:369:14: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:369:14: note: (15) calling 'alg_new' from 'bt_crypto_e' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (16) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (17) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (19) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (20) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (21) '*crypto.ecb_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:697:6: note: (1) entry to 'bt_crypto_g2' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:706:14: note: (2) calling 'aes_cmac' from 'bt_crypto_g2' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:619:13: note: (3) entry to 'aes_cmac' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:624:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:627:9: note: (6) inlined call to 'swap_buf' from 'aes_cmac' <--[gcc] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:627:2: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (7) following 'true' branch (when 'i != 16')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:259:39: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (9) following 'false' branch (when 'i == 16')... <--[gcc] In function 'alg_new': cc1: note: (10) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:628:9: note: (11) inlined call to 'swap_buf' from 'aes_cmac' <--[gcc] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:628:2: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (12) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:259:39: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:630:14: note: (14) calling 'aes_cmac_be' from 'aes_cmac' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (15) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (16) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (18) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (19) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (22) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (23) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (24) '*crypto.cmac_aes' leaks here <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-ringbuf.lo `test -f 'src/shared/ringbuf.c' || echo './'`src/shared/ringbuf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ringbuf.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-ringbuf.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-hci.lo `test -f 'src/shared/hci.c' || echo './'`src/shared/hci.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/hci.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-hci.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-hci-crypto.lo `test -f 'src/shared/hci-crypto.c' || echo './'`src/shared/hci-crypto.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/hci-crypto.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-hci-crypto.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-util.lo `test -f 'src/shared/util.c' || echo './'`src/shared/util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/util.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-util.o In file included from /builddir/build/BUILD/bluez-5.75/src/shared/util.c:39: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c: In function 'util_iov_dup': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:83:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:342:15: note: (1) entry to 'util_iov_dup' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:347:12: note: (2) following 'false' branch (when 'iov' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (4) calling 'util_malloc' from 'util_iov_dup' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:41:7: note: (5) entry to 'util_malloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:43:12: note: (6) following 'false' branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (8) returning to 'util_iov_dup' from 'util_malloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:83:17: note: (9) argument 1 ('util_malloc(cnt * 16)') NULL where non-null expected <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/util.c: In function 'util_iov_memcpy.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:379:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:377:25: note: (1) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:377:23: note: (2) '*iov.iov_base' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:379:9: note: (3) argument 1 ('realloc(*iov.iov_base, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/util.c: In function 'strdelimit': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1828:16: warning: dereference of possibly-NULL 'dup' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1824:12: note: (1) following 'false' branch (when 'str' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1827:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1827:15: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1828:16: note: (4) 'dup' could be NULL: unchecked value from (3) <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-pcap.lo `test -f 'src/shared/pcap.c' || echo './'`src/shared/pcap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/pcap.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-pcap.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-uhid.lo `test -f 'src/shared/uhid.c' || echo './'`src/shared/uhid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/uhid.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-uhid.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-btsnoop.lo `test -f 'src/shared/btsnoop.c' || echo './'`src/shared/btsnoop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/btsnoop.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-btsnoop.o gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh/mesh-db.o tools/mesh/mesh-db.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-ecc.lo `test -f 'src/shared/ecc.c' || echo './'`src/shared/ecc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ecc.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-ecc.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-hfp.lo `test -f 'src/shared/hfp.c' || echo './'`src/shared/hfp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/hfp.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-hfp.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-gatt-client.lo `test -f 'src/shared/gatt-client.c' || echo './'`src/shared/gatt-client.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-client.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-gatt-client.o /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'request_unref': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:199:32: warning: use after 'free' of 'data' [CWE-416] [-Wanalyzer-use-after-free] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3243:13: note: (1) entry to 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3253:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3202:13: note: (5) entry to 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:9: note: (6) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3290:13: note: (7) entry to 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3301:12: note: (8) following 'false' branch (when 'success == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3304:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3312:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3315:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3315:9: note: (12) calling 'request_unref' from 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:196:13: note: (13) entry to 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:201:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:204:16: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:213:9: note: (16) freed here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3315:9: note: (17) returning to 'complete_write_long_op' from 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:9: note: (18) returning to 'handle_next_prep_write' from 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (19) returning to 'start_next_long_write.part.0' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3262:9: note: (20) calling 'request_unref' from 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:196:13: note: (21) entry to 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:199:32: note: (22) use after 'free' of 'data'; freed at (16) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'bt_gatt_client_write_value': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3154:9: warning: use of uninitialized value 'value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3749:6: note: (1) entry to 'bt_gatt_client_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3754:12: note: (2) following 'false' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:19: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:72:35: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3758:57: note: in expansion of macro 'UINT_TO_PTR' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3759:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3763:33: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3769:9: note: (6) calling 'complete_unregister_notify' from 'bt_gatt_client_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2190:13: note: (7) entry to 'complete_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2198:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2204:46: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2204:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2205:61: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2204:71: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2208:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2208:9: note: (14) calling 'notify_data_write_ccc' from 'complete_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1665:13: note: (15) entry to 'notify_data_write_ccc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1669:18: note: (16) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1669:18: note: (17) capacity: 2 bytes <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:24: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1672:9: note: (18) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1674:12: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1674:12: note: (20) following 'false' branch (when 'enable == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1690:49: note: (21) inlined call to 'notify_data_ref' from 'notify_data_write_ccc' <--[gcc] In function 'notify_data_ref', inlined from 'notify_data_write_ccc' at src/shared/gatt-client.c:1690:7: /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:247:30: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'bt_gatt_client_write_value': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1686:18: note: (23) calling 'bt_gatt_client_write_value' from 'notify_data_write_ccc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3124:14: note: (24) entry to 'bt_gatt_client_write_value' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3135:12: note: (25) following 'false' branch (when 'client' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3138:14: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3140:15: note: (27) calling 'request_create' from 'bt_gatt_client_write_value' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:138:24: note: (28) entry to 'request_create' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:142:12: note: (29) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:145:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3140:15: note: (31) returning to 'bt_gatt_client_write_value' from 'request_create' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3141:12: note: (32) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3146:22: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3154:9: note: (34) use of uninitialized value 'value' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'complete_write_long_op': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3293:31: warning: use after 'free' of 'req' [CWE-416] [-Wanalyzer-use-after-free] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3243:13: note: (1) entry to 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3253:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3202:13: note: (5) entry to 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3210:12: note: (6) following 'false' branch (when 'pdu' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3215:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3225:12: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3226:17: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3226:17: note: (10) calling 'request_unref' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:196:13: note: (11) entry to 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:201:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:204:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:213:9: note: (14) freed here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3226:17: note: (15) returning to 'handle_next_prep_write' from 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3236:12: note: (16) following 'false' branch (when 'success == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3239:1: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:9: note: (18) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3290:13: note: (19) entry to 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3293:31: note: (20) use after 'free' of 'req'; freed at (14) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:451:21: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:696:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:996:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1102:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1294:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1359:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1634:6: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1639:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2143:6: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2151:8: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3262:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-gatt-helpers.lo `test -f 'src/shared/gatt-helpers.c' || echo './'`src/shared/gatt-helpers.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-helpers.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-gatt-helpers.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-gap.lo `test -f 'src/shared/gap.c' || echo './'`src/shared/gap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gap.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-gap.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-ad.lo `test -f 'src/shared/ad.c' || echo './'`src/shared/ad.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ad.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-ad.o /builddir/build/BUILD/bluez-5.75/src/shared/ad.c: In function 'ad_replace_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:394:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:366:9: note: (1) following 'default:' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:26: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:72:35: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:389:58: note: in expansion of macro 'UINT_TO_PTR' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:390:12: note: (3) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:391:29: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:393:34: note: (5) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:393:32: note: (6) '0' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:394:17: note: (7) argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/ad.c: In function 'bt_ad_add_manufacturer_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:847:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:835:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:838:22: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:838:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:72:35: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:842:49: note: in expansion of macro 'UINT_TO_PTR' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:843:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:844:29: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:846:34: note: (7) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:846:32: note: (8) '0' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:847:17: note: (9) argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/ad.c: In function 'bt_ad_add_service_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:983:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:972:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:975:22: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:975:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:978:20: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:979:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:980:29: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:982:34: note: (7) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:982:32: note: (8) '0' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:983:17: note: (9) argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-log.lo `test -f 'src/shared/log.c' || echo './'`src/shared/log.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/log.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-log.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-bap-debug.lo `test -f 'src/shared/bap-debug.c' || echo './'`src/shared/bap-debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/bap-debug.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-bap-debug.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-att.lo `test -f 'src/shared/att.c' || echo './'`src/shared/att.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/att.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-att.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-gatt-server.lo `test -f 'src/shared/gatt-server.c' || echo './'`src/shared/gatt-server.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-server.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-gatt-server.o /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'read_by_grp_type_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:322:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:269:13: note: (1) entry to 'read_by_grp_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:275:19: note: (2) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:275:19: note: (3) capacity: 20 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:284:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:289:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:293:9: note: (6) calling 'get_uuid_le' from 'read_by_grp_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:168:13: note: (7) entry to 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:172:9: note: (8) following 'default:' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/att.h:11, <--[gcc] from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:19: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:175:24: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:293:9: note: (10) returning to 'read_by_grp_type_cb' from 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (11) calling 'gatt_log' from 'read_by_grp_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:295:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:257:13: note: (12) entry to 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:42: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (15) returning to 'read_by_grp_type_cb' from 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:295:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:297:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:304:12: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:304:12: note: (18) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:315:9: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:322:9: note: (20) use of uninitialized value 'type' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'read_by_type_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:531:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:494:13: note: (1) entry to 'read_by_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:500:19: note: (2) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:500:19: note: (3) capacity: 20 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:506:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:511:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:515:9: note: (6) calling 'get_uuid_le' from 'read_by_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:168:13: note: (7) entry to 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:172:9: note: (8) following 'default:' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:175:24: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:515:9: note: (10) returning to 'read_by_type_cb' from 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:519:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:526:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:526:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:531:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:531:9: note: (15) use of uninitialized value 'type' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'prep_write_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1350:9: warning: use of possibly-NULL 'malloc((long unsigned int)length)' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1307:13: note: (1) entry to 'prep_write_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1318:12: note: (2) following 'false' branch (when 'length > 3')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1323:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1323:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1328:18: note: (5) inlined call to 'get_le16' from 'prep_write_cb' <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:26: <--[gcc] In function 'get_le16', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1328:11: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:26:27: note: in definition of macro 'le16_to_cpu' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:210:28: note: in expansion of macro 'get_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'prep_write_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1332:12: note: (7) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1337:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (9) calling 'gatt_log' from 'prep_write_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1337:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:257:13: note: (10) entry to 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:42: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (13) returning to 'prep_write_cb' from 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1337:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1339:17: note: (14) inlined call to 'check_length' from 'prep_write_cb' <--[gcc] In function 'check_length', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1339:10: /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:812:12: note: (15) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:815:12: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:815:12: note: (17) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:818:20: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:818:12: note: (19) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'prep_write_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1343:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1344:12: note: (21) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1347:16: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1349:21: note: (23) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1350:9: note: (24) argument 1 ('malloc((long unsigned int)length)') from (23) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-shell.lo `test -f 'src/shared/shell.c' || echo './'`src/shared/shell.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/shell.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-shell.o /builddir/build/BUILD/bluez-5.75/src/shared/shell.c: In function 'bt_shell_printf': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (1) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (2) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (3) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (4) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (5) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (8) following 'false' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:29: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (14) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (16) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:353:13: note: (1) entry to 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:361:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1473:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:734:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:738:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:741:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:745:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (11) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (12) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (13) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (18) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (22) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (24) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1536:6: note: (1) entry to 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1541:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1544:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1551:12: note: (4) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:20: note: (6) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1553:25: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1553:25: note: (8) calling 'bt_shell_noninteractive_quit' from 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1473:6: note: (9) entry to 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1475:24: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (12) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:734:13: note: (13) entry to 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:738:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:741:9: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:745:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (18) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (19) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (20) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (21) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (22) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1536:6: note: (1) entry to 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1541:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1544:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1551:12: note: (4) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:21: note: (6) calling 'shell_exec' from 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:623:12: note: (7) entry to 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:627:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (10) calling 'menu_exec' from 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:574:12: note: (11) entry to 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:577:16: note: (12) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:21: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:20: note: (14) following 'false' branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:582:25: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:586:44: note: (16) following 'false' branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (18) calling 'cmd_exec' from 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:470:12: note: (19) entry to 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:489:12: note: (20) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (22) following 'false' branch (when 'argc <= 1')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:494:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:561:12: note: (24) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (26) calling 'cmd_back' from 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (27) entry to 'cmd_back' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:231:12: note: (28) following 'true' branch... <--[gcc] cc1: note: (29) ...to here cc1: note: (30) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (31) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (32) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (33) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (34) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (35) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (36) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (38) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (40) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (42) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (44) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (46) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1395:5: note: (1) entry to 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1427:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (4) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:623:12: note: (5) entry to 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:627:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (8) calling 'menu_exec' from 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:574:12: note: (9) entry to 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:577:16: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:20: note: (12) following 'false' branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:582:25: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:586:44: note: (14) following 'false' branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (16) calling 'cmd_exec' from 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:470:12: note: (17) entry to 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:489:12: note: (18) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (20) following 'false' branch (when 'argc <= 1')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:494:17: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:561:12: note: (22) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (24) calling 'cmd_back' from 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (25) entry to 'cmd_back' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:231:12: note: (26) following 'true' branch... <--[gcc] cc1: note: (27) ...to here cc1: note: (28) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (29) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (30) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (31) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (32) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (33) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (34) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (36) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (38) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (40) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (42) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (44) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:353:13: note: (1) entry to 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:361:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1473:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:734:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:738:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:741:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:745:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (11) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (12) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (13) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (14) returning to 'bt_shell_dequeue_exec' from 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:763:15: note: (15) calling 'bt_shell_exec' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1395:5: note: (16) entry to 'bt_shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1401:12: note: (17) following 'false' branch (when 'input' is non-NULL)... <--[gcc] cc1: note: (18) ...to here cc1: note: (19) calling 'bt_shell_exec.part.0' from 'bt_shell_exec' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1395:5: note: (20) entry to 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1427:12: note: (21) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (23) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:623:12: note: (24) entry to 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:627:12: note: (25) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (27) calling 'menu_exec' from 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:574:12: note: (28) entry to 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:577:16: note: (29) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:21: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:20: note: (31) following 'false' branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:582:25: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:586:44: note: (33) following 'false' branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (35) calling 'cmd_exec' from 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:470:12: note: (36) entry to 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:489:12: note: (37) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (39) following 'false' branch (when 'argc <= 1')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:494:17: note: (40) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:561:12: note: (41) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (42) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (43) calling 'cmd_back' from 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (44) entry to 'cmd_back' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:231:12: note: (45) following 'true' branch... <--[gcc] cc1: note: (46) ...to here cc1: note: (47) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (48) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (49) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (50) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (51) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (52) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (53) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (54) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (55) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (56) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (57) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (58) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (59) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (60) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (61) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (62) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (63) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1331:13: warning: Access to field 'options' results in a dereference of a null pointer (loaded from variable 'opt') [core.NullDereference] <--[clang] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-csip.lo `test -f 'src/shared/csip.c' || echo './'`src/shared/csip.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/csip.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-csip.o /builddir/build/BUILD/bluez-5.75/src/shared/csip.c: In function 'foreach_csis_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:605:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:599:13: note: (1) entry to 'foreach_csis_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:603:32: note: (2) calling 'csip_get_csis' from 'foreach_csis_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:444:24: note: (3) entry to 'csip_get_csis' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:446:12: note: (4) following 'true' branch (when 'csip' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:603:32: note: (6) returning to 'foreach_csis_service' from 'csip_get_csis' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:605:23: note: (7) dereference of NULL 'csip_get_csis(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-micp.lo `test -f 'src/shared/micp.c' || echo './'`src/shared/micp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/micp.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-micp.o /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'micp_get_session': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:271:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:258:24: note: (1) entry to 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:270:16: note: (2) calling 'bt_micp_new' from 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:583:17: note: (3) entry to 'bt_micp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:588:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:270:16: note: (6) returning to 'micp_get_session' from 'bt_micp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:271:19: note: (7) dereference of NULL 'bt_micp_new(db, 0)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_muted': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:339:21: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:323:16: note: (1) entry to 'mics_muted' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:331:15: note: (2) inlined call to 'micp_get_mdb' from 'mics_muted' <--[gcc] In function 'micp_get_mdb', inlined from 'mics_muted' at src/shared/micp.c:331:8: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:97:12: note: (3) following 'false' branch (when 'micp' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:100:17: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_muted': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:332:12: note: (5) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:337:22: note: (6) inlined call to 'mdb_get_mute_state' from 'mics_muted' <--[gcc] In function 'mdb_get_mute_state', inlined from 'mics_muted' at src/shared/micp.c:337:15: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:12: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_muted': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:339:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:339:21: note: (10) dereference of NULL '<unknown>' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:417:13: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:368:13: note: (1) entry to 'mics_mute_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:375:32: note: (2) calling 'micp_get_session' from 'mics_mute_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:258:24: note: (3) entry to 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:266:28: note: (4) calling 'bt_micp_get_att' from 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:205:16: note: (5) entry to 'bt_micp_get_att' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:207:12: note: (6) following 'false' branch (when 'micp' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:210:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:266:28: note: (8) returning to 'micp_get_session' from 'bt_micp_get_att' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:375:32: note: (9) returning to 'mics_mute_write' from 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:387:12: note: (10) following 'false' branch (when 'offset == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:393:12: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:393:12: note: (12) following 'false' branch (when 'len != 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:400:19: note: (13) inlined call to 'iov_pull_mem' from 'mics_mute_write' <--[gcc] In function 'iov_pull_mem', inlined from 'mics_mute_write' at src/shared/micp.c:400:12: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:84:15: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:86:12: note: (15) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:89:23: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:402:12: note: (17) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:410:15: note: (18) inlined call to 'micp_get_mdb' from 'mics_mute_write' <--[gcc] In function 'micp_get_mdb', inlined from 'mics_mute_write' at src/shared/micp.c:410:8: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:97:12: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:97:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:100:17: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:411:12: note: (22) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:416:22: note: (23) inlined call to 'mdb_get_mute_state' from 'mics_mute_write' <--[gcc] In function 'mdb_get_mute_state', inlined from 'mics_mute_write' at src/shared/micp.c:416:15: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:17: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:12: note: (25) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:417:13: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:417:13: note: (27) dereference of NULL '<unknown>' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'foreach_mics_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:782:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:776:13: note: (1) entry to 'foreach_mics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:780:32: note: (2) calling 'micp_get_mics' from 'foreach_mics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:114:17: note: (3) entry to 'micp_get_mics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:116:12: note: (4) following 'true' branch (when 'micp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:780:32: note: (6) returning to 'foreach_mics_service' from 'micp_get_mics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:782:23: note: (7) dereference of NULL 'micp_get_mics(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-mcp.lo `test -f 'src/shared/mcp.c' || echo './'`src/shared/mcp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mcp.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-mcp.o /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'mcp_send': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:586:17: warning: dereference of NULL 'mcp' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:578:21: note: (1) entry to 'mcp_send' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:580:30: note: (2) calling 'mcp_get_mcs' from 'mcp_send' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:580:30: note: (6) returning to 'mcp_send' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'mcp_send' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:111:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (11) returning to 'mcp_send' from 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:586:17: note: (12) dereference of NULL 'mcp' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_mp_name_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1008:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1003:13: note: (1) entry to 'bt_mcp_mp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1006:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_mp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1006:30: note: (6) returning to 'bt_mcp_mp_name_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1008:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_changed_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1026:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1021:13: note: (1) entry to 'bt_mcp_track_changed_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1024:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_changed_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1024:30: note: (6) returning to 'bt_mcp_track_changed_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1026:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_title_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1042:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1037:13: note: (1) entry to 'bt_mcp_track_title_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1040:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_title_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1040:30: note: (6) returning to 'bt_mcp_track_title_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1042:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_duration_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1060:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1055:13: note: (1) entry to 'bt_mcp_track_duration_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1058:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_duration_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1058:30: note: (6) returning to 'bt_mcp_track_duration_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1060:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_position_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1078:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1073:13: note: (1) entry to 'bt_mcp_track_position_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1076:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_position_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1076:30: note: (6) returning to 'bt_mcp_track_position_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1078:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_media_state_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1096:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1091:13: note: (1) entry to 'bt_mcp_media_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1094:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1094:30: note: (6) returning to 'bt_mcp_media_state_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1096:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_media_cp_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1114:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1109:13: note: (1) entry to 'bt_mcp_media_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1112:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1112:30: note: (6) returning to 'bt_mcp_media_cp_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1114:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_media_cp_op_supported_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1130:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1125:13: note: (1) entry to 'bt_mcp_media_cp_op_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1128:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_op_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1128:30: note: (6) returning to 'bt_mcp_media_cp_op_supported_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1130:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_content_control_id_supported_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1149:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1144:13: note: (1) entry to 'bt_mcp_content_control_id_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1147:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_content_control_id_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1147:30: note: (6) returning to 'bt_mcp_content_control_id_supported_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1149:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'foreach_mcs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1313:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1305:13: note: (1) entry to 'foreach_mcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1309:30: note: (2) calling 'mcp_get_mcs' from 'foreach_mcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1309:30: note: (6) returning to 'foreach_mcs_service' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'foreach_mcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1311:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:111:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (11) returning to 'foreach_mcs_service' from 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1311:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1313:22: note: (12) dereference of NULL 'mcp_get_mcs(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-gatt-db.lo `test -f 'src/shared/gatt-db.c' || echo './'`src/shared/gatt-db.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-db.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-gatt-db.o In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:20: <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:319:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:311:9: note: (1) following 'case 10240 ... 10243:' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:312:9: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:318:24: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:319:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:319:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:331:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:311:9: note: (1) following 'case 10497 ... 10501:' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:323:9: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:330:24: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:331:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:331:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c: In function 'read_ext_prop_value': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1831:37: warning: dereference of NULL 'value' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1834:13: note: (1) entry to 'read_ext_prop.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1849:9: note: (2) calling 'gatt_db_attribute_read' from 'read_ext_prop.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2031:6: note: (3) entry to 'gatt_db_attribute_read' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2037:12: note: (4) following 'false' branch... <--[gcc] cc1: note: (5) ...to here cc1: note: (6) calling 'gatt_db_attribute_read.part.0' from 'gatt_db_attribute_read' /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2031:6: note: (7) entry to 'gatt_db_attribute_read.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2046:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2072:52: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2072:52: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2074:38: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2074:9: note: (12) calling 'read_ext_prop_value' from 'gatt_db_attribute_read.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1822:13: note: (13) entry to 'read_ext_prop_value' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1828:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1831:37: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1831:37: note: (16) dereference of NULL 'value' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-ccp.lo `test -f 'src/shared/ccp.c' || echo './'`src/shared/ccp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ccp.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-ccp.o /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_incom_call_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:661:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:654:13: note: (1) entry to 'bt_ccp_incom_call_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:657:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_incom_call_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:657:30: note: (6) returning to 'bt_ccp_incom_call_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_incom_call_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_incom_call_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:661:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_call_state_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:683:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:676:13: note: (1) entry to 'bt_ccp_call_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:679:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:679:30: note: (6) returning to 'bt_ccp_call_state_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_state_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:683:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_call_list_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:705:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:698:13: note: (1) entry to 'bt_ccp_call_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:701:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:701:30: note: (6) returning to 'bt_ccp_call_list_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_list_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:705:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_name_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:727:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:720:13: note: (1) entry to 'bt_ccp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:723:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:723:30: note: (6) returning to 'bt_ccp_name_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_name_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:727:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_term_reason_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:749:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:742:13: note: (1) entry to 'bt_ccp_term_reason_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:745:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_term_reason_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:745:30: note: (6) returning to 'bt_ccp_term_reason_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_term_reason_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_term_reason_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:749:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_status_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:770:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:763:13: note: (1) entry to 'bt_ccp_status_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:766:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_status_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:766:30: note: (6) returning to 'bt_ccp_status_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_status_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_status_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:770:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_uci_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:792:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:785:13: note: (1) entry to 'bt_ccp_uci_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:788:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uci_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:788:30: note: (6) returning to 'bt_ccp_uci_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uci_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uci_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:792:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_technology_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:813:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:806:13: note: (1) entry to 'bt_ccp_technology_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:809:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_technology_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:809:30: note: (6) returning to 'bt_ccp_technology_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_technology_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_technology_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:813:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_strength_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:833:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:826:13: note: (1) entry to 'bt_ccp_strength_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:829:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_strength_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:829:30: note: (6) returning to 'bt_ccp_strength_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_strength_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_strength_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:833:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_ccid_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:853:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:846:13: note: (1) entry to 'bt_ccp_ccid_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:849:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ccid_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:849:30: note: (6) returning to 'bt_ccp_ccid_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ccid_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ccid_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:853:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_tar_uri_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:872:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:865:13: note: (1) entry to 'bt_ccp_tar_uri_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:868:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_tar_uri_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:868:30: note: (6) returning to 'bt_ccp_tar_uri_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_tar_uri_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_tar_uri_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:872:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_ctrl_point_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:893:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:886:13: note: (1) entry to 'bt_ccp_ctrl_point_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:889:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_point_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:889:30: note: (6) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_point_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:893:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_ctrl_opcode_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:913:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:906:13: note: (1) entry to 'bt_ccp_ctrl_opcode_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:909:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_opcode_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:909:30: note: (6) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_opcode_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:913:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_friendly_name_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:933:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:926:13: note: (1) entry to 'bt_ccp_friendly_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:929:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_friendly_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:929:30: note: (6) returning to 'bt_ccp_friendly_name_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_friendly_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_friendly_name_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:933:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_signal_intrvl_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:953:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:946:13: note: (1) entry to 'bt_ccp_signal_intrvl_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:949:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_signal_intrvl_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:949:30: note: (6) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_signal_intrvl_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:953:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_uri_list_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:973:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:966:13: note: (1) entry to 'bt_ccp_uri_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:969:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uri_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:969:30: note: (6) returning to 'bt_ccp_uri_list_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uri_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uri_list_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:973:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'foreach_ccs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1129:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1123:13: note: (1) entry to 'foreach_ccs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1127:30: note: (2) calling 'ccp_get_ccs' from 'foreach_ccs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1127:30: note: (6) returning to 'foreach_ccs_service' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1129:22: note: (7) dereference of NULL 'ccp_get_ccs(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-vcp.lo `test -f 'src/shared/vcp.c' || echo './'`src/shared/vcp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/vcp.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-vcp.o /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'vcp_get_session.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:501:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:488:23: note: (1) entry to 'vcp_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:500:15: note: (2) calling 'bt_vcp_new' from 'vcp_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1909:16: note: (3) entry to 'bt_vcp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1914:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:500:15: note: (6) returning to 'vcp_get_session.part.0' from 'bt_vcp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:501:18: note: (7) dereference of NULL 'bt_vcp_new(db, 0)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'aics_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1721:9: warning: use of possibly-NULL 'ip_descr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1713:12: note: (1) following 'false' branch (when 'db' is non-NULL)... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:22: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1716:16: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1720:20: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1721:9: note: (4) argument 1 ('ip_descr') from (3) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'vcp_audio_loc_notify': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1969:27: warning: dereference of possibly-NULL 'vocs_audio_loc_n' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1968:38: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1969:27: note: (2) 'vocs_audio_loc_n' could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'read_vocs_audio_descriptor.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2131:9: warning: use of possibly-NULL 'vocs_ao_dec_r' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2130:25: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2131:9: note: (2) argument 1 ('vocs_ao_dec_r') from (1) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'read_aics_audio_ip_description.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2535:9: warning: use of possibly-NULL 'ip_descrptn' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2534:23: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2535:9: note: (2) argument 1 ('ip_descrptn') from (1) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'aics_audio_ip_desr_notify': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2555:9: warning: use of possibly-NULL 'aud_ip_desr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2554:23: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2555:9: note: (2) argument 1 ('aud_ip_desr') from (1) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'foreach_vcs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2691:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2685:13: note: (1) entry to 'foreach_vcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2689:30: note: (2) calling 'vcp_get_vcs' from 'foreach_vcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:329:23: note: (3) entry to 'vcp_get_vcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:331:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2689:30: note: (6) returning to 'foreach_vcs_service' from 'vcp_get_vcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2691:22: note: (7) dereference of NULL 'vcp_get_vcs(user_data)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'foreach_vocs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2704:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2698:13: note: (1) entry to 'foreach_vocs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2702:32: note: (2) calling 'vcp_get_vocs' from 'foreach_vocs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:343:24: note: (3) entry to 'vcp_get_vocs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:345:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2702:32: note: (6) returning to 'foreach_vocs_service' from 'vcp_get_vocs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2704:23: note: (7) dereference of NULL 'vcp_get_vocs(user_data)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'foreach_aics_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2717:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2711:13: note: (1) entry to 'foreach_aics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2715:32: note: (2) calling 'vcp_get_aics' from 'foreach_aics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:357:24: note: (3) entry to 'vcp_get_aics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:359:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2715:32: note: (6) returning to 'foreach_aics_service' from 'vcp_get_aics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2717:23: note: (7) dereference of NULL 'vcp_get_aics(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-timeout-ell.lo `test -f 'src/shared/timeout-ell.c' || echo './'`src/shared/timeout-ell.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/timeout-ell.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-timeout-ell.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-bass.lo `test -f 'src/shared/bass.c' || echo './'`src/shared/bass.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/bass.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-bass.o /builddir/build/BUILD/bluez-5.75/src/shared/bass.c: In function 'bass_build_bcast_src': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:294:17: warning: dereference of NULL 'bad_code' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1295:13: note: (1) entry to 'read_bcast_recv_state.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1314:13: note: (2) calling 'bass_build_bcast_src' from 'read_bcast_recv_state.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:135:12: note: (3) entry to 'bass_build_bcast_src' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:158:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:163:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:163:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:168:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:169:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:174:14: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:174:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:179:14: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:179:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:184:14: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:184:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:189:14: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:189:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:194:17: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:194:12: note: (18) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:203:14: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:203:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:208:27: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:208:12: note: (22) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:209:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:278:12: note: (24) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:285:23: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:293:12: note: (26) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:294:17: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:294:17: note: (28) dereference of NULL 'bad_code' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c: In function 'bass_get_session.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:755:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:741:24: note: (1) entry to 'bass_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:754:16: note: (2) calling 'bt_bass_new' from 'bass_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1640:17: note: (3) entry to 'bt_bass_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1646:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:754:16: note: (6) returning to 'bass_get_session.part.0' from 'bt_bass_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:755:19: note: (7) dereference of NULL 'bt_bass_new(db, 0, adapter_bdaddr)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-mainloop-ell.lo `test -f 'src/shared/mainloop-ell.c' || echo './'`src/shared/mainloop-ell.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mainloop-ell.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-mainloop-ell.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_mainloop_la-bap.lo `test -f 'src/shared/bap.c' || echo './'`src/shared/bap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/bap.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-bap.o /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'bap_get_session.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:639:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:626:23: note: (1) entry to 'bap_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:638:15: note: (2) calling 'bt_bap_new' from 'bap_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:3728:16: note: (3) entry to 'bt_bap_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:3733:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:638:15: note: (6) returning to 'bap_get_session.part.0' from 'bt_bap_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:639:18: note: (7) dereference of NULL 'bt_bap_new(db, 0)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'bap_stream_io_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: warning: dereference of NULL 'stream' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:5666:6: note: (1) entry to 'bt_bap_stream_set_io.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:5671:9: note: (2) calling 'bap_stream_set_io' from 'bt_bap_stream_set_io.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2183:13: note: (3) entry to 'bap_stream_set_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2189:12: note: (4) following 'true' branch (when 'fd >= 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2190:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2190:23: note: (6) calling 'bap_stream_io_attach' from 'bap_stream_set_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2150:13: note: (7) entry to 'bap_stream_io_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2155:14: note: (8) calling 'stream_get_io' from 'bap_stream_io_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2134:33: note: (9) entry to 'stream_get_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2136:12: note: (10) following 'true' branch (when 'stream' is NULL)... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2155:14: note: (12) returning to 'bap_stream_io_attach' from 'stream_get_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2156:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: note: (15) following 'false' branch (when 'connecting == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: note: (17) dereference of NULL 'stream' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'bap_cp_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4549:50: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4544:13: note: (1) entry to 'bap_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4547:32: note: (2) calling 'bap_get_ascs' from 'bap_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1382:24: note: (3) entry to 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1384:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4547:32: note: (6) returning to 'bap_cp_attach' from 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4549:50: note: (7) dereference of NULL 'bap_get_ascs(bap)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'foreach_ascs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4614:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4608:13: note: (1) entry to 'foreach_ascs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4612:32: note: (2) calling 'bap_get_ascs' from 'foreach_ascs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1382:24: note: (3) entry to 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1384:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4612:32: note: (6) returning to 'foreach_ascs_service' from 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4614:23: note: (7) dereference of NULL 'bap_get_ascs(user_data)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: internal warning: child 3822 timed out after 30s <--[clang] cswrap: error: child 3822 (/usr/bin/clang) terminated by signal 15 (timed out) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hciattach_st.o tools/hciattach_st.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-io-ell.lo `test -f 'src/shared/io-ell.c' || echo './'`src/shared/io-ell.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/io-ell.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-io-ell.o gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hciattach_tialt.o tools/hciattach_tialt.c /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c: In function ‘texas_load_firmware’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:95:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:93:18: note: (1) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:101:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:109:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:95:9: note: (7) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:95:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:93:18: note: (1) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:101:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:109:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:112:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:95:9: note: (9) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:95:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:93:18: note: (1) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:101:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:109:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:112:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:112:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:114:42: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:95:9: note: (11) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:95:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:93:18: note: (1) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:101:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:109:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:112:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:112:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:114:42: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:114:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:127:45: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:95:9: note: (13) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:95:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:93:18: note: (1) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:101:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:109:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:112:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:112:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:114:42: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:114:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:127:45: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:39:12: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:132:25: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:139:70: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_tialt.c:95:9: note: (15) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-cfgtest.o tools/mesh-cfgtest.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hciattach_qualcomm.o tools/hciattach_qualcomm.c /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c: In function ‘qualcomm_load_firmware’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:93:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:91:18: note: (1) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:99:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:108:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:93:9: note: (7) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:93:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:91:18: note: (1) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:99:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:108:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:113:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:93:9: note: (9) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:93:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:91:18: note: (1) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:99:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:108:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:113:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:113:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:116:42: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:93:9: note: (11) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:93:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:91:18: note: (1) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:99:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:108:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:113:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:113:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:116:42: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:116:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:121:26: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:93:9: note: (13) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[gcc] /gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hciattach_ti.o tools/hciattach_ti.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hciattach_intel.o tools/hciattach_intel.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hciattach_ath3k.o tools/hciattach_ath3k.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/oui.o src/oui.c builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:93:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:91:18: note: (1) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:99:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:108:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:113:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:113:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:116:42: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:116:17: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:121:26: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:40:12: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:137:25: note: in expansion of macro ‘FAILIF’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:144:50: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach_qualcomm.c:93:9: note: (15) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/oui.c:50:2: warning: Value stored to 'hwdb' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/src/oui.c:53:2: warning: Value stored to 'udev' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1321:34: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1280:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[gcc] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1290:17: note: (5) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1291:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1293:30: note: (7) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1296:28: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1301:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1321:34: note: (12) dereference of NULL ‘u’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1326:34: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1280:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[gcc] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1290:17: note: (5) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1291:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1293:30: note: (7) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1296:28: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1301:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1325:28: note: (12) following ‘true’ branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1326:34: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1326:34: note: (14) dereference of NULL ‘u’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1328:34: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1280:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[gcc] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1290:17: note: (5) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1291:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1293:30: note: (7) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1296:28: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1301:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1325:28: note: (12) following ‘false’ branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1328:34: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1328:34: note: (14) dereference of NULL ‘u’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1333:39: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1280:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[gcc] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1290:17: note: (5) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1291:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1293:30: note: (7) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1296:28: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1301:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1332:28: note: (12) following ‘true’ branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1333:39: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1333:39: note: (14) dereference of NULL ‘u’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1335:39: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1280:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[gcc] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1290:17: note: (5) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1291:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1293:30: note: (7) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1296:28: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1301:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1332:28: note: (12) following ‘false’ branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1335:39: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1335:39: note: (14) dereference of NULL ‘u’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1339:35: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1280:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[gcc] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1290:17: note: (5) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1291:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1293:30: note: (7) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1296:28: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1301:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1285:28: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1288:27: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:1339:35: note: (12) dereference of NULL ‘u’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:816:7: warning: Although the value stored to 'n' is used in the enclosing expression, the value is never actually read from 'n' [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:864:7: warning: Although the value stored to 'n' is used in the enclosing expression, the value is never actually read from 'n' [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:886:8: warning: Although the value stored to 'n' is used in the enclosing expression, the value is never actually read from 'n' [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:908:7: warning: Although the value stored to 'n' is used in the enclosing expression, the value is never actually read from 'n' [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:929:7: warning: Although the value stored to 'n' is used in the enclosing expression, the value is never actually read from 'n' [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hciattach.c:973:7: warning: Although the value stored to 'n' is used in the enclosing expression, the value is never actually read from 'n' [deadcode.DeadStores] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hciattach.o tools/hciattach.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hciconfig.o tools/hciconfig.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hciattach_bcm43xx.o tools/hciattach_bcm43xx.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-gatt-client.lo `test -f 'src/shared/gatt-client.c' || echo './'`src/shared/gatt-client.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-client.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-gatt-client.o gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/rfcomm.o tools/rfcomm.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/ciptool.o tools/ciptool.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/3dsp.o tools/3dsp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/hciemu.o emulator/hciemu.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/gap-tester.o tools/gap-tester.c /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'request_unref': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:199:32: warning: use after 'free' of 'data' [CWE-416] [-Wanalyzer-use-after-free] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3243:13: note: (1) entry to 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3253:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3202:13: note: (5) entry to 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:9: note: (6) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3290:13: note: (7) entry to 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3301:12: note: (8) following 'false' branch (when 'success == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3304:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3312:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3315:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3315:9: note: (12) calling 'request_unref' from 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:196:13: note: (13) entry to 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:201:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:204:16: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:213:9: note: (16) freed here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3315:9: note: (17) returning to 'complete_write_long_op' from 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:9: note: (18) returning to 'handle_next_prep_write' from 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (19) returning to 'start_next_long_write.part.0' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3262:9: note: (20) calling 'request_unref' from 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:196:13: note: (21) entry to 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:199:32: note: (22) use after 'free' of 'data'; freed at (16) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'bt_gatt_client_write_value': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3154:9: warning: use of uninitialized value 'value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3749:6: note: (1) entry to 'bt_gatt_client_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3754:12: note: (2) following 'false' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:19: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:72:35: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3758:57: note: in expansion of macro 'UINT_TO_PTR' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3759:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3763:33: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3769:9: note: (6) calling 'complete_unregister_notify' from 'bt_gatt_client_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2190:13: note: (7) entry to 'complete_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2198:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2204:46: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2204:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2205:61: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2204:71: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2208:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2208:9: note: (14) calling 'notify_data_write_ccc' from 'complete_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1665:13: note: (15) entry to 'notify_data_write_ccc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1669:18: note: (16) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1669:18: note: (17) capacity: 2 bytes <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:24: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1672:9: note: (18) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1674:12: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1674:12: note: (20) following 'false' branch (when 'enable == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1690:49: note: (21) inlined call to 'notify_data_ref' from 'notify_data_write_ccc' <--[gcc] In function 'notify_data_ref', inlined from 'notify_data_write_ccc' at src/shared/gatt-client.c:1690:7: /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:247:30: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'bt_gatt_client_write_value': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1686:18: note: (23) calling 'bt_gatt_client_write_value' from 'notify_data_write_ccc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3124:14: note: (24) entry to 'bt_gatt_client_write_value' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3135:12: note: (25) following 'false' branch (when 'client' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3138:14: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3140:15: note: (27) calling 'request_create' from 'bt_gatt_client_write_value' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:138:24: note: (28) entry to 'request_create' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:142:12: note: (29) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:145:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3140:15: note: (31) returning to 'bt_gatt_client_write_value' from 'request_create' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3141:12: note: (32) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3146:22: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3154:9: note: (34) use of uninitialized value 'value' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'complete_write_long_op': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3293:31: warning: use after 'free' of 'req' [CWE-416] [-Wanalyzer-use-after-free] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3243:13: note: (1) entry to 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3253:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3202:13: note: (5) entry to 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3210:12: note: (6) following 'false' branch (when 'pdu' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3215:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3225:12: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3226:17: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3226:17: note: (10) calling 'request_unref' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:196:13: note: (11) entry to 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:201:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:204:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:213:9: note: (14) freed here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3226:17: note: (15) returning to 'handle_next_prep_write' from 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3236:12: note: (16) following 'false' branch (when 'success == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3239:1: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:9: note: (18) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3290:13: note: (19) entry to 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3293:31: note: (20) use after 'free' of 'req'; freed at (14) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:451:21: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:696:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:996:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1102:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1294:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1359:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1634:6: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1639:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2143:6: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2151:8: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3262:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c: In function ‘cmd_connect’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:354:20: warning: leak of file descriptor ‘open(&devname, 256)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:283:12: note: (1) following ‘false’ branch (when ‘argc > 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:288:25: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:296:14: note: (3) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:297:12: note: (4) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:302:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:312:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:318:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:318:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:324:14: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:325:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:331:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:340:12: note: (12) following ‘false’ branch (when ‘dev >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:346:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:347:58: note: (14) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:17: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:348:21: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:348:20: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:353:17: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:354:27: note: (18) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:354:20: note: (19) ‘open(&devname, 256)’ leaks here; was opened at (18) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c: In function ‘cmd_listen’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:515:20: warning: leak of file descriptor ‘open(&devname, 256)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:437:14: note: (1) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:438:12: note: (2) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:443:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:459:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:465:63: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:467:9: note: (6) when ‘listen’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:473:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:480:13: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:500:12: note: (9) following ‘false’ branch (when ‘dev >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:507:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:508:58: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:509:21: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:509:20: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:514:17: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:515:27: note: (15) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:515:20: note: (16) ‘open(&devname, 256)’ leaks here; was opened at (15) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:234:3: warning: Value stored to 'i' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:234:7: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:354:8: warning: Although the value stored to 'fd' is used in the enclosing expression, the value is never actually read from 'fd' [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:497:14: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/rfcomm.c:515:8: warning: Although the value stored to 'fd' is used in the enclosing expression, the value is never actually read from 'fd' [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/ciptool.c:350:7: warning: 5th function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c: In function ‘process_frames’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:141:24: warning: leak of ‘buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:657:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:780:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:783:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:783:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:786:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:786:9: note: (6) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:787:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:791:17: note: (8) calling ‘open_socket’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:507:12: note: (9) entry to ‘open_socket’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:514:14: note: (10) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:515:12: note: (11) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:520:13: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:791:17: note: (13) returning to ‘main’ from ‘open_socket’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:791:17: note: (14) calling ‘process_frames’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:126:12: note: (15) entry to ‘process_frames’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:140:12: note: (16) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:143:22: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:149:15: note: (18) allocated here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:150:12: note: (19) assuming ‘buf’ is non-NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:150:12: note: (20) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:157:24: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:178:31: note: (22) following ‘true’ branch (when ‘i == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:179:35: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:141:24: note: (24) ‘buf’ leaks here; was allocated at (18) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:180:9: warning: Potential leak of memory pointed to by 'dp' [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:248:17: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:326:9: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:341:20: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:346:14: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:384:17: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:394:11: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:398:9: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:403:13: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:408:11: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/hcidump.c:437:7: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c: In function 'bt_shell_printf': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (1) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (2) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (3) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (4) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (5) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (8) following 'false' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:29: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (14) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (16) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:353:13: note: (1) entry to 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:361:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1473:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:734:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:738:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:741:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:745:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (11) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (12) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (13) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (18) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (22) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (24) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1536:6: note: (1) entry to 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1541:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1544:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1551:12: note: (4) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:20: note: (6) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1553:25: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1553:25: note: (8) calling 'bt_shell_noninteractive_quit' from 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1473:6: note: (9) entry to 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1475:24: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (12) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:734:13: note: (13) entry to 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:738:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:741:9: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:745:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (18) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (19) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (20) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (21) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (22) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1536:6: note: (1) entry to 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1541:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1544:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1551:12: note: (4) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:21: note: (6) calling 'shell_exec' from 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:623:12: note: (7) entry to 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:627:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (10) calling 'menu_exec' from 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:574:12: note: (11) entry to 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:577:16: note: (12) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:21: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:20: note: (14) following 'false' branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:582:25: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:586:44: note: (16) following 'false' branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (18) calling 'cmd_exec' from 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:470:12: note: (19) entry to 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:489:12: note: (20) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (22) following 'false' branch (when 'argc <= 1')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:494:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:561:12: note: (24) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (26) calling 'cmd_back' from 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (27) entry to 'cmd_back' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:231:12: note: (28) following 'true' branch... <--[gcc] cc1: note: (29) ...to here cc1: note: (30) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (31) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (32) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (33) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (34) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (35) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (36) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (38) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (40) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (42) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (44) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (46) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1395:5: note: (1) entry to 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1427:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (4) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:623:12: note: (5) entry to 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:627:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (8) calling 'menu_exec' from 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:574:12: note: (9) entry to 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:577:16: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:20: note: (12) following 'false' branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:582:25: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:586:44: note: (14) following 'false' branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (16) calling 'cmd_exec' from 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:470:12: note: (17) entry to 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:489:12: note: (18) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (20) following 'false' branch (when 'argc <= 1')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:494:17: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:561:12: note: (22) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (24) calling 'cmd_back' from 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (25) entry to 'cmd_back' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:231:12: note: (26) following 'true' branch... <--[gcc] cc1: note: (27) ...to here cc1: note: (28) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (29) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (30) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (31) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (32) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (33) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (34) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (36) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (38) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (40) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (42) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (44) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:353:13: note: (1) entry to 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:361:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1473:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:734:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:738:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:741:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:745:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (11) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (12) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (13) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (14) returning to 'bt_shell_dequeue_exec' from 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:763:15: note: (15) calling 'bt_shell_exec' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1395:5: note: (16) entry to 'bt_shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1401:12: note: (17) following 'false' branch (when 'input' is non-NULL)... <--[gcc] cc1: note: (18) ...to here cc1: note: (19) calling 'bt_shell_exec.part.0' from 'bt_shell_exec' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1395:5: note: (20) entry to 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1427:12: note: (21) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (23) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:623:12: note: (24) entry to 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:627:12: note: (25) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (27) calling 'menu_exec' from 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:574:12: note: (28) entry to 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:577:16: note: (29) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:21: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:20: note: (31) following 'false' branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:582:25: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:586:44: note: (33) following 'false' branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (35) calling 'cmd_exec' from 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:470:12: note: (36) entry to 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:489:12: note: (37) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (39) following 'false' branch (when 'argc <= 1')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:494:17: note: (40) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:561:12: note: (41) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (42) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (43) calling 'cmd_back' from 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (44) entry to 'cmd_back' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:231:12: note: (45) following 'true' branch... <--[gcc] cc1: note: (46) ...to here cc1: note: (47) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (48) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (49) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (50) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (51) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (52) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (53) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (54) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (55) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (56) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (57) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (58) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (59) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (60) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (61) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (62) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (63) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1331:13: warning: Access to field 'options' results in a dereference of a null pointer (loaded from variable 'opt') [core.NullDereference] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hcidump.o tools/hcidump.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-shell.lo `test -f 'src/shared/shell.c' || echo './'`src/shared/shell.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/shell.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-shell.o gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hcitool.o tools/hcitool.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hci-tester.o tools/hci-tester.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/smp-tester.o tools/smp-tester.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/bnep-tester.o tools/bnep-tester.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/sdp-xml.o src/sdp-xml.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/rfcomm-tester.o tools/rfcomm-tester.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/sco-tester.o tools/sco-tester.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/userchan-tester.o tools/userchan-tester.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/ioctl-tester.o tools/ioctl-tester.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/bdaddr.o tools/bdaddr.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-tester.o tools/mesh-tester.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/l2cap-tester.o tools/l2cap-tester.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/amptest.o tools/amptest.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/avtest.o tools/avtest.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_ell_la-bap.lo `test -f 'src/shared/bap.c' || echo './'`src/shared/bap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/bap.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-bap.o gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hwdb.o tools/hwdb.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/scotest.o tools/scotest.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hcisecfilter.o tools/hcisecfilter.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hcieventmask.o tools/hcieventmask.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/btconfig.o tools/btconfig.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/btinfo.o tools/btinfo.c /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c: In function ‘element_start.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:461:31: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:447:12: note: (1) following ‘false’ branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:459:21: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:459:12: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:460:48: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:462:38: note: (5) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:461:31: note: (6) dereference of NULL ‘sdp_xml_data_alloc()’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:465:44: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:447:12: note: (1) following ‘false’ branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:459:21: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:459:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:464:40: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:465:44: note: (5) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:465:44: note: (6) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:465:44: note: (7) dereference of NULL ‘sdp_xml_data_alloc()’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:126:10: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:300:11: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:338:11: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c: In function ‘create_rfcomm_sock’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:404:13: warning: ‘bind’ on possibly invalid file descriptor ‘sk’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:397:14: note: (1) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:404:13: note: (2) ‘sk’ could be invalid <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c: In function ‘connect_rfcomm_sock’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:422:15: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:628:13: note: (1) entry to ‘test_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:644:14: note: (2) calling ‘create_rfcomm_sock’ from ‘test_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:392:12: note: (3) entry to ‘create_rfcomm_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:397:14: note: (4) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:397:14: note: (5) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:404:13: note: (6) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:404:13: note: (7) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:404:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:406:24: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:644:14: note: (10) returning to ‘test_connect’ from ‘create_rfcomm_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:646:13: note: (11) calling ‘connect_rfcomm_sock’ from ‘test_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:412:12: note: (12) entry to ‘connect_rfcomm_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:422:15: note: (13) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:422:15: warning: ‘connect’ on possibly invalid file descriptor ‘sk’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:628:13: note: (1) entry to ‘test_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:644:14: note: (2) calling ‘create_rfcomm_sock’ from ‘test_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:392:12: note: (3) entry to ‘create_rfcomm_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:397:14: note: (4) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:404:13: note: (5) when ‘bind’ fails <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:404:12: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:405:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:644:14: note: (8) returning to ‘test_connect’ from ‘create_rfcomm_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:646:13: note: (9) calling ‘connect_rfcomm_sock’ from ‘test_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:412:12: note: (10) entry to ‘connect_rfcomm_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:422:15: note: (11) ‘sk’ could be invalid <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c: In function ‘rfcomm_listen_cb’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:707:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rfcomm-tester.c:707:12: note: (1) ‘g_io_channel_unix_get_fd(io)’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c: In function ‘create_sco_sock’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:570:24: warning: leak of file descriptor ‘sk’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:564:14: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:564:14: note: (2) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:566:12: note: (3) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:573:26: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:574:12: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:575:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:570:24: note: (7) ‘sk’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c: In function ‘connect_sco_sock’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:610:15: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:728:13: note: (1) entry to ‘test_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:734:14: note: (2) calling ‘create_sco_sock’ from ‘test_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:558:12: note: (3) entry to ‘create_sco_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:564:14: note: (4) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:564:14: note: (5) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:566:12: note: (6) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:573:26: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:574:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:579:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:583:13: note: (10) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:583:13: note: (11) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:583:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:570:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:734:14: note: (14) returning to ‘test_connect’ from ‘create_sco_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:735:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:740:13: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:740:13: note: (17) calling ‘connect_sco_sock’ from ‘test_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:594:12: note: (18) entry to ‘connect_sco_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:601:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:606:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/sco-tester.c:610:15: note: (21) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c: In function ‘connect_l2cap_impl’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1494:15: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1733:12: note: (1) entry to ‘connect_socket’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1741:14: note: (2) calling ‘create_l2cap_sock’ from ‘connect_socket’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1401:12: note: (3) entry to ‘create_l2cap_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1409:14: note: (4) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1409:14: note: (5) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1411:12: note: (6) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1418:26: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1419:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1425:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1431:12: note: (10) following ‘true’ branch (when ‘l2data’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1431:29: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1438:13: note: (12) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1438:13: note: (13) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1438:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1446:12: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1446:12: note: (16) following ‘false’ branch (when ‘sec_level == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1462:13: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1462:12: note: (18) following ‘false’ branch... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1741:14: note: (20) returning to ‘connect_socket’ from ‘create_l2cap_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1743:12: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1752:12: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1752:12: note: (23) following ‘false’ branch (when ‘defer == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1765:51: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1764:13: note: (25) calling ‘connect_l2cap_impl’ from ‘connect_socket’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1476:12: note: (26) entry to ‘connect_l2cap_impl’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1482:12: note: (27) following ‘false’ branch (when ‘bdaddr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1487:9: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:1494:15: note: (29) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c: In function ‘l2cap_listen_cb’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:2164:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/l2cap-tester.c:2164:12: note: (1) ‘g_io_channel_unix_get_fd(io)’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c: In function ‘do_connect’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:532:15: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:767:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:778:70: note: (2) following ‘true’ branch (when ‘opt != -1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:779:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:836:9: note: (4) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:840:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:841:22: note: (6) calling ‘do_connect’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:503:12: note: (7) entry to ‘do_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:509:14: note: (8) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:509:14: note: (9) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:510:12: note: (10) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:515:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:519:13: note: (12) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:519:13: note: (13) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:519:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:524:12: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:524:12: note: (16) following ‘false’ branch (when ‘fragment == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:527:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:532:15: note: (18) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:225:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:235:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:244:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:258:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:265:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:272:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:279:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:291:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:295:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:304:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:308:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:317:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:324:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:346:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:350:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:359:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:363:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:376:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:380:5: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:387:4: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:397:4: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:562:3: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:570:3: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:584:3: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:597:3: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:607:3: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:619:3: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:634:3: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:646:3: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:655:3: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:662:3: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avtest.c:698:2: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'bap_get_session.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:639:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:626:23: note: (1) entry to 'bap_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:638:15: note: (2) calling 'bt_bap_new' from 'bap_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:3728:16: note: (3) entry to 'bt_bap_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:3733:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:638:15: note: (6) returning to 'bap_get_session.part.0' from 'bt_bap_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:639:18: note: (7) dereference of NULL 'bt_bap_new(db, 0)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'bap_stream_io_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: warning: dereference of NULL 'stream' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:5666:6: note: (1) entry to 'bt_bap_stream_set_io.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:5671:9: note: (2) calling 'bap_stream_set_io' from 'bt_bap_stream_set_io.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2183:13: note: (3) entry to 'bap_stream_set_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2189:12: note: (4) following 'true' branch (when 'fd >= 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2190:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2190:23: note: (6) calling 'bap_stream_io_attach' from 'bap_stream_set_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2150:13: note: (7) entry to 'bap_stream_io_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2155:14: note: (8) calling 'stream_get_io' from 'bap_stream_io_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2134:33: note: (9) entry to 'stream_get_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2136:12: note: (10) following 'true' branch (when 'stream' is NULL)... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2155:14: note: (12) returning to 'bap_stream_io_attach' from 'stream_get_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2156:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: note: (15) following 'false' branch (when 'connecting == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: note: (17) dereference of NULL 'stream' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'bap_cp_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4549:50: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4544:13: note: (1) entry to 'bap_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4547:32: note: (2) calling 'bap_get_ascs' from 'bap_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1382:24: note: (3) entry to 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1384:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4547:32: note: (6) returning to 'bap_cp_attach' from 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4549:50: note: (7) dereference of NULL 'bap_get_ascs(bap)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'foreach_ascs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4614:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4608:13: note: (1) entry to 'foreach_ascs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4612:32: note: (2) calling 'bap_get_ascs' from 'foreach_ascs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1382:24: note: (3) entry to 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1384:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4612:32: note: (6) returning to 'foreach_ascs_service' from 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4614:23: note: (7) dereference of NULL 'bap_get_ascs(user_data)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: internal warning: child 5667 timed out after 30s <--[clang] cswrap: error: child 5667 (/usr/bin/clang) terminated by signal 15 (timed out) /builddir/build/BUILD/bluez-5.75/tools/sdptool.c:941:26: warning: Result of 'malloc' is converted to a pointer of type 'uint32_t', which is incompatible with sizeof operand type 'int' [unix.MallocSizeof] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/sdptool.c:980:4: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/sdptool.c:3777:2: warning: Potential leak of memory pointed to by 'si.name' [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/sdptool.c:4112:4: warning: Potential leak of memory pointed to by 'context.svc' [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/cltest.c: In function ‘send_message’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:62:13: warning: ‘connect’ on file descriptor ‘fd’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:239:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:246:14: note: (2) calling ‘find_controllers’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:180:13: note: (3) entry to ‘find_controllers’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:187:14: note: (4) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:188:12: note: (5) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:193:14: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:246:14: note: (7) returning to ‘main’ from ‘find_controllers’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:246:12: note: (8) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/tools/cltest.c:26: <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:416:35: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:249:33: note: in expansion of macro ‘BDADDR_ANY’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:249:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:416:35: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:250:53: note: in expansion of macro ‘BDADDR_ANY’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:249:45: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:255:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:262:9: note: (14) calling ‘create_receiver’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:112:13: note: (15) entry to ‘create_receiver’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:117:14: note: (16) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:118:12: note: (17) following ‘true’ branch (when ‘fd < 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:119:17: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:262:9: note: (19) returning to ‘main’ from ‘create_receiver’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:263:9: note: (20) calling ‘send_message’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:33:13: note: (21) entry to ‘send_message’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:41:14: note: (22) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:41:14: note: (23) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:42:12: note: (24) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:47:9: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:51:13: note: (26) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:51:13: note: (27) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:51:12: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:57:9: note: (29) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/cltest.c:62:13: note: (30) ‘connect’ expects a new socket file descriptor but ‘fd’ is bound <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/btiotest.o tools/btiotest.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/sdptool.o tools/sdptool.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/cltest.o tools/cltest.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mcaptest.o tools/mcaptest.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/btsnoop.o tools/btsnoop.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/advtest.o tools/advtest.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/seq2bseq.o tools/seq2bseq.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/oobtest.o tools/oobtest.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/bneptest.o tools/bneptest.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/bcmfw.o tools/bcmfw.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/create-image.o tools/create-image.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/eddystone.o tools/eddystone.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/ibeacon.o tools/ibeacon.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/uuid-helper.o src/uuid-helper.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/btgatt-server.o tools/btgatt-server.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/nokfw.o tools/nokfw.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/btgatt-client.o tools/btgatt-client.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/check-selftest.o tools/check-selftest.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/btmgmt.o tools/btmgmt.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/avinfo.o tools/avinfo.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/rtlfw.o tools/rtlfw.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/obex-client-tool.o tools/obex-client-tool.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/bluetooth-player.o tools/bluetooth-player.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/obex-server-tool.o tools/obex-server-tool.c /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c: In function ‘command_merge’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:260:1: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:119:13: note: (1) entry to ‘command_merge’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:129:12: note: (2) following ‘false’ branch (when ‘argc <= 8’)... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:134:23: note: (4) following ‘true’ branch (when ‘num_input < argc’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:138:39: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:138:22: note: (6) calling ‘open_btsnoop’ from ‘command_merge’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:80:12: note: (7) entry to ‘open_btsnoop’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:86:14: note: (8) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:87:12: note: (9) assuming ‘open(path, 524288)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:87:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:92:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:93:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:99:13: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:99:12: note: (14) following ‘false’ branch... <--[gcc] In file included from /usr/include/sys/types.h:176, <--[gcc] from /usr/include/stdlib.h:514, <--[gcc] from /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:21: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:105:13: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:105:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:111:12: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:111:12: note: (18) following ‘true’ branch (when ‘type’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:112:25: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:138:22: note: (20) returning to ‘command_merge’ from ‘open_btsnoop’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:139:20: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:142:26: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:142:20: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:149:35: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:134:23: note: (25) following ‘true’ branch (when ‘num_input < argc’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:138:39: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:138:22: note: (27) calling ‘open_btsnoop’ from ‘command_merge’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:80:12: note: (28) entry to ‘open_btsnoop’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:86:14: note: (29) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:87:12: note: (30) assuming ‘open(path, 524288)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:87:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:92:15: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:93:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:99:13: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:99:12: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:105:13: note: (36) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:105:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:111:12: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:111:12: note: (39) following ‘true’ branch (when ‘type’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:112:25: note: (40) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:138:22: note: (41) returning to ‘command_merge’ from ‘open_btsnoop’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:139:20: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:142:26: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:142:20: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:149:35: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btsnoop.c:260:1: note: (46) leaks here; was opened at (29) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c: In function ‘exit_handler’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:483:9: warning: call to ‘printf’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:549:5: note: (1) entry to ‘main’ <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:35: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:55:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:555:9: note: in expansion of macro ‘DBG’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:557:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:557:9: note: (4) registering ‘exit_handler’ as signal handler <--[gcc] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:481:13: note: (6) entry to ‘exit_handler’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:483:9: note: (7) call to ‘printf’ from within signal handler <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:490:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:549:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:55:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:555:9: note: in expansion of macro ‘DBG’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:557:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:557:9: note: (4) registering ‘exit_handler’ as signal handler <--[gcc] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:481:13: note: (6) entry to ‘exit_handler’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:490:9: note: (7) call to ‘exit’ from within signal handler <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/bneptest.c:490:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:76:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:84:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:92:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:105:2: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/create-image.c: In function ‘write_block’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:108:9: warning: use of possibly-NULL ‘fp’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:142:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:152:20: note: (2) following ‘false’ branch (when ‘opt >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:155:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:155:17: note: (4) following ‘case 111:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:156:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:170:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:175:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:175:12: note: (8) following ‘false’ branch (when ‘output_pathname’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:180:14: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:180:14: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:182:21: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:184:64: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:183:17: note: (13) calling ‘write_block’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:67:13: note: (14) entry to ‘write_block’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:75:12: note: (15) following ‘false’ branch (when ‘pathname’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:82:14: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:83:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:86:28: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/create-image.c:108:9: note: (19) argument 1 (‘fp’) from (10) could be NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/tools/create-image.c:16: <--[gcc] /usr/include/stdio.h:357:12: note: argument 1 of ‘fprintf’ must be non-null <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/btgatt-server.c:1212:2: warning: Value stored to 'argv' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/btgatt-client.c:1824:2: warning: Value stored to 'argv' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/check-selftest.c:42:3: warning: Value stored to 'ptr' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c: In function ‘l2cap_connect’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c:880:13: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c:862:14: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c:862:14: note: (2) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c:863:12: note: (3) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c:869:13: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c:869:13: note: (5) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c:869:13: note: (6) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c:869:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c:875:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/avinfo.c:880:13: note: (9) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:133:13: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:192:13: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c: In function ‘handle_put’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:133:20: warning: use of NULL ‘name’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:120:22: note: (1) ‘type’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:123:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:126:22: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:126:22: note: (4) ‘name’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:129:62: note: (5) ‘name’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:128:9: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:128:55: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:133:20: note: (8) ‘name’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:133:20: note: (9) ‘name’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:133:20: note: (10) ‘name’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:133:20: note: (11) argument 1 (‘name’) NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:17: <--[gcc] /usr/include/fcntl.h:209:12: note: argument 1 of ‘open’ must be non-null <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c: In function ‘handle_get’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:192:20: warning: use of NULL ‘name’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:179:22: note: (1) ‘type’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:182:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:185:22: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:185:22: note: (4) ‘name’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:188:62: note: (5) ‘name’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:187:9: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:187:55: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:192:20: note: (8) ‘name’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:192:20: note: (9) ‘name’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:192:20: note: (10) ‘name’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/obex-server-tool.c:192:20: note: (11) argument 1 (‘name’) NULL where non-null expected <--[gcc] /usr/include/fcntl.h:209:12: note: argument 1 of ‘open’ must be non-null <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/gatt-service.c:294:2: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c: In function ‘create_iso_sock’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:1801:24: warning: leak of file descriptor ‘sk’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:3182:13: note: (1) entry to ‘test_connect_close’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:3194:14: note: (2) calling ‘setup_sock’ from ‘test_connect_close’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2582:12: note: (3) entry to ‘setup_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2586:14: note: (4) calling ‘create_iso_sock’ from ‘setup_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:1790:12: note: (5) entry to ‘create_iso_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:1796:14: note: (6) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:1796:14: note: (7) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:1797:12: note: (8) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:1804:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:1805:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:1806:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:1801:24: note: (12) ‘sk’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c: In function ‘listen_iso_sock’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2785:26: warning: dereference of possibly-NULL ‘addr’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:3305:13: note: (1) entry to ‘test_bcast_recv’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:3309:9: note: (2) calling ‘setup_listen’ from ‘test_bcast_recv’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2854:13: note: (3) entry to ‘setup_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2860:14: note: (4) calling ‘listen_iso_sock’ from ‘setup_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2760:12: note: (5) entry to ‘listen_iso_sock’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2767:14: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2768:12: note: (7) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2775:15: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2776:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2783:16: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2783:16: note: (11) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/iso-tester.c:2785:26: note: (12) ‘addr’ could be NULL: unchecked value from (11) <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/gatt-service.o tools/gatt-service.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/btproxy.o tools/btproxy.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/iso-tester.o tools/iso-tester.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/network/bluetoothd-manager.o `test -f 'profiles/network/manager.c' || echo './'`profiles/network/manager.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/input/bluetoothd-suspend-none.o `test -f 'profiles/input/suspend-none.c' || echo './'`profiles/input/suspend-none.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/network/bluetoothd-connection.o `test -f 'profiles/network/connection.c' || echo './'`profiles/network/connection.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/scanparam/bluetoothd-scan.o `test -f 'profiles/scanparam/scan.c' || echo './'`profiles/scanparam/scan.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/battery/bluetoothd-battery.o `test -f 'profiles/battery/battery.c' || echo './'`profiles/battery/battery.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/deviceinfo/bluetoothd-deviceinfo.o `test -f 'profiles/deviceinfo/deviceinfo.c' || echo './'`profiles/deviceinfo/deviceinfo.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-bass.o `test -f 'profiles/audio/bass.c' || echo './'`profiles/audio/bass.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/network/bluetoothd-server.o `test -f 'profiles/network/server.c' || echo './'`profiles/network/server.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o plugins/bluetoothd-sixaxis.o `test -f 'plugins/sixaxis.c' || echo './'`plugins/sixaxis.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-mcp.o `test -f 'profiles/audio/mcp.c' || echo './'`profiles/audio/mcp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/network/bluetoothd-bnep.o `test -f 'profiles/network/bnep.c' || echo './'`profiles/network/bnep.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-micp.o `test -f 'profiles/audio/micp.c' || echo './'`profiles/audio/micp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-vcp.o `test -f 'profiles/audio/vcp.c' || echo './'`profiles/audio/vcp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-ccp.o `test -f 'profiles/audio/ccp.c' || echo './'`profiles/audio/ccp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-csip.o `test -f 'profiles/audio/csip.c' || echo './'`profiles/audio/csip.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o attrib/bluetoothd-att.o `test -f 'attrib/att.c' || echo './'`attrib/att.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/test-runner.o tools/test-runner.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o attrib/bluetoothd-gattrib.o `test -f 'attrib/gattrib.c' || echo './'`attrib/gattrib.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-backtrace.o `test -f 'src/backtrace.c' || echo './'`src/backtrace.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-log.o `test -f 'src/log.c' || echo './'`src/log.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-rfkill.o `test -f 'src/rfkill.c' || echo './'`src/rfkill.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o attrib/bluetoothd-gatt.o `test -f 'attrib/gatt.c' || echo './'`attrib/gatt.c /builddir/build/BUILD/bluez-5.75/tools/test-runner.c:945: warning: uninitvar(CWE-457): Uninitialized variable: argv <--[cppcheck] /builddir/build/BUILD/bluez-5.75/tools/test-runner.c:945:2: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c: In function ‘construct_full_pdu’: <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:207:17: warning: use of uninitialized value ‘pdu’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:348:13: note: (1) entry to ‘client_notify_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:351:24: note: (2) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:351:24: note: (3) capacity: ‘(int)length + 2’ bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:355:12: note: (4) following ‘false’ branch (when ‘length == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:358:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:358:9: note: (6) calling ‘attrib_callback_notify’ from ‘client_notify_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:240:13: note: (7) entry to ‘attrib_callback_notify’ <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:247:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:250:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:257:15: note: (10) calling ‘construct_full_pdu’ from ‘attrib_callback_notify’ <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:196:17: note: (11) entry to ‘construct_full_pdu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:201:12: note: (12) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:204:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:206:12: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:207:17: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:207:17: note: (16) use of uninitialized value ‘pdu’ here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.c:159: error: comparePointers(CWE-570): Comparing pointers that point to different objects <--[cppcheck] /builddir/build/BUILD/bluez-5.75/attrib/gatt.c:970:2: warning: Potential leak of memory pointed to by 'long_write' [unix.Malloc] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-sdpd-server.o `test -f 'src/sdpd-server.c' || echo './'`src/sdpd-server.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/obexctl.o tools/obexctl.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-sdpd-database.o `test -f 'src/sdpd-database.c' || echo './'`src/sdpd-database.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-sdpd-service.o `test -f 'src/sdpd-service.c' || echo './'`src/sdpd-service.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mgmt-tester.o tools/mgmt-tester.c /builddir/build/BUILD/bluez-5.75/tools/mgmt-tester.c: internal warning: child 6534 timed out after 30s <--[gcc] cswrap: error: child 6534 (/usr/bin/gcc) terminated by signal 15 (timed out) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-main.o `test -f 'src/main.c' || echo './'`src/main.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-uuid-helper.o `test -f 'src/uuid-helper.c' || echo './'`src/uuid-helper.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-sdp-client.o `test -f 'src/sdp-client.c' || echo './'`src/sdp-client.c In function ‘create_search_context_full’, inlined from ‘bt_search_service’ at src/sdp-client.c:393:8: /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:353:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c: In function ‘bt_search_service’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:382:5: note: (1) entry to ‘bt_search_service’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:386:32: note: (2) ‘ctxt’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:389:12: note: (3) following ‘false’ branch (when ‘cb’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:393:15: note: (4) inlined call to ‘create_search_context_full’ from ‘bt_search_service’ <--[gcc] In function ‘create_search_context_full’, inlined from ‘bt_search_service’ at src/sdp-client.c:393:8: /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:348:19: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:348:19: note: (6) calling ‘create_search_context’ from ‘bt_search_service’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c: In function ‘bt_search_service’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:292:12: note: (7) entry to ‘create_search_context’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:302:12: note: (8) following ‘false’ branch (when ‘ctxt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:305:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:305:13: note: (10) calling ‘get_cached_sdp_session’ from ‘create_search_context’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:58:23: note: (11) entry to ‘get_cached_sdp_session’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:63:41: note: (12) following ‘false’ branch (when ‘l’ is NULL)... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:305:13: note: (14) returning to ‘create_search_context’ from ‘get_cached_sdp_session’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:306:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:307:21: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:309:12: note: (17) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:15: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:310:25: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:393:15: note: (19) inlined call to ‘create_search_context_full’ from ‘bt_search_service’ <--[gcc] In function ‘create_search_context_full’, inlined from ‘bt_search_service’ at src/sdp-client.c:393:8: /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:348:19: note: (20) returning to ‘bt_search_service’ from ‘create_search_context’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:350:12: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:353:10: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:353:10: note: (23) ‘ctxt’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:353:21: note: (24) dereference of NULL ‘ctxt’ <--[gcc] In function ‘create_search_context_full’, inlined from ‘bt_search’ at src/sdp-client.c:372:8: /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:353:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c: In function ‘bt_search’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:361:5: note: (1) entry to ‘bt_search’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:365:32: note: (2) ‘ctxt’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:368:12: note: (3) following ‘false’ branch (when ‘cb’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:372:15: note: (4) inlined call to ‘create_search_context_full’ from ‘bt_search’ <--[gcc] In function ‘create_search_context_full’, inlined from ‘bt_search’ at src/sdp-client.c:372:8: /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:348:19: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:348:19: note: (6) calling ‘create_search_context’ from ‘bt_search’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c: In function ‘bt_search’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:292:12: note: (7) entry to ‘create_search_context’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:302:12: note: (8) following ‘false’ branch (when ‘ctxt’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:305:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:305:13: note: (10) calling ‘get_cached_sdp_session’ from ‘create_search_context’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:58:23: note: (11) entry to ‘get_cached_sdp_session’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:63:41: note: (12) following ‘false’ branch (when ‘l’ is NULL)... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:305:13: note: (14) returning to ‘create_search_context’ from ‘get_cached_sdp_session’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:306:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:307:21: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:309:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:310:25: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:372:15: note: (19) inlined call to ‘create_search_context_full’ from ‘bt_search’ <--[gcc] In function ‘create_search_context_full’, inlined from ‘bt_search’ at src/sdp-client.c:372:8: /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:348:19: note: (20) returning to ‘bt_search’ from ‘create_search_context’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:350:12: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:353:10: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:353:10: note: (23) ‘ctxt’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:353:21: note: (24) dereference of NULL ‘ctxt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-client.c:353:14: warning: Access to field 'cb' results in a dereference of a null pointer [core.NullDereference] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-bap.o `test -f 'profiles/audio/bap.c' || echo './'`profiles/audio/bap.c /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c: In function ‘setup_create_bcast_io’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2147:38: warning: dereference of NULL ‘setup’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2176:13: note: (1) entry to ‘bap_state’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2190:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2193:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2195:9: note: (4) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2225:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2226:25: note: (6) calling ‘setup_create_io’ from ‘bap_state’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2154:13: note: (7) entry to ‘setup_create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2166:9: note: (8) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2170:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2171:17: note: (10) calling ‘setup_create_bcast_io’ from ‘setup_create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2120:13: note: (11) entry to ‘setup_create_bcast_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/bap.c:2147:38: note: (12) dereference of NULL ‘setup’ <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-storage.o `test -f 'src/storage.c' || echo './'`src/storage.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-plugin.o `test -f 'src/plugin.c' || echo './'`src/plugin.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-textfile.o `test -f 'src/textfile.c' || echo './'`src/textfile.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-error.o `test -f 'src/error.c' || echo './'`src/error.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-agent.o `test -f 'src/agent.c' || echo './'`src/agent.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-service.o `test -f 'src/service.c' || echo './'`src/service.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-sdpd-request.o `test -f 'src/sdpd-request.c' || echo './'`src/sdpd-request.c In file included from /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:28: <--[gcc] In function ‘put_be16’, inlined from ‘extract_des’ at src/sdpd-request.c:212:5: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: warning: dereference of possibly-NULL ‘pElem’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:264:9: note: in expansion of macro ‘put_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1133:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:23: <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1028:29: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1030:9: note: (16) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1031:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1033:26: note: (18) calling ‘service_search_req’ from ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:390:12: note: (19) entry to ‘service_search_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:405:19: note: (20) calling ‘extract_des’ from ‘service_search_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:137:12: note: (21) entry to ‘extract_des’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:152:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:156:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:166:20: note: (24) following ‘false’ branch (when ‘bufsize != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:171:26: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:175:20: note: (26) following ‘true’ branch (when ‘expectedType == 254’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:176:52: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:176:28: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (29) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (30) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:191:17: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:195:28: note: (32) following ‘false’ branch (when ‘bufsize > 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:200:28: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:200:28: note: (34) following ‘false’ branch (when ‘expectedType != 255’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:209:33: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:211:41: note: (36) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:212:33: note: (37) inlined call to ‘put_be16’ from ‘extract_des’ <--[gcc] In function ‘put_be16’, inlined from ‘extract_des’ at src/sdpd-request.c:212:5: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: note: (38) ‘pElem’ could be NULL: unchecked value from (36) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:264:9: note: in expansion of macro ‘put_unaligned’ <--[gcc] In function ‘put_be32’, inlined from ‘extract_des’ at src/sdpd-request.c:240:5: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: warning: dereference of possibly-NULL ‘pElem’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:286:9: note: in expansion of macro ‘put_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1133:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1028:29: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1030:9: note: (16) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1031:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1033:26: note: (18) calling ‘service_search_req’ from ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:390:12: note: (19) entry to ‘service_search_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:405:19: note: (20) calling ‘extract_des’ from ‘service_search_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:137:12: note: (21) entry to ‘extract_des’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:152:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:156:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:166:20: note: (24) following ‘false’ branch (when ‘bufsize != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:171:26: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:175:20: note: (26) following ‘true’ branch (when ‘expectedType == 254’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:176:52: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:176:28: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (29) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (30) following ‘case 10:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:218:17: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:222:28: note: (32) following ‘false’ branch (when ‘bufsize > 3’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:227:28: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:227:28: note: (34) following ‘false’ branch (when ‘expectedType != 255’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:237:33: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:239:41: note: (36) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:240:33: note: (37) inlined call to ‘put_be32’ from ‘extract_des’ <--[gcc] In function ‘put_be32’, inlined from ‘extract_des’ at src/sdpd-request.c:240:5: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: note: (38) ‘pElem’ could be NULL: unchecked value from (36) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:286:9: note: in expansion of macro ‘put_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:105:9: warning: use of possibly-NULL ‘data’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1133:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1028:29: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1030:9: note: (16) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1031:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1033:26: note: (18) calling ‘service_search_req’ from ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:390:12: note: (19) entry to ‘service_search_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:405:19: note: (20) calling ‘extract_des’ from ‘service_search_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:137:12: note: (21) entry to ‘extract_des’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:152:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:156:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:166:20: note: (24) following ‘false’ branch (when ‘bufsize != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:171:26: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:175:20: note: (26) following ‘true’ branch (when ‘expectedType == 254’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:176:52: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:176:28: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (29) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (30) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:191:17: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:195:28: note: (32) following ‘false’ branch (when ‘bufsize > 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:200:28: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:200:28: note: (34) following ‘false’ branch (when ‘expectedType != 255’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:209:33: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:264:20: note: (36) following ‘true’ branch (when ‘status == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:265:32: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:405:19: note: (38) returning to ‘service_search_req’ from ‘extract_des’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:407:12: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:411:15: note: (40) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:417:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:422:12: note: (42) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:422:12: note: (43) following ‘false’ branch (when ‘data_left > 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:427:20: note: (44) inlined call to ‘get_be16’ from ‘service_search_req’ <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:25: <--[gcc] In function ‘get_be16’, inlined from ‘service_search_req’ at src/sdpd-request.c:427:13: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:215:16: note: in expansion of macro ‘be16_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:215:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:439:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:444:18: note: (47) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:462:12: note: (48) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:464:36: note: (49) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:487:20: note: (50) following ‘true’ branch (when ‘rsp_count > actual’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:489:36: note: (51) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:489:36: note: (52) calling ‘sdp_cstate_alloc_buf’ from ‘service_search_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:100:17: note: (53) entry to ‘sdp_cstate_alloc_buf’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:103:25: note: (54) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:105:9: note: (55) argument 1 (‘data’) from (54) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:106:9: warning: use of possibly-NULL ‘cinfo’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1133:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1028:29: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1030:9: note: (16) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1031:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1033:26: note: (18) calling ‘service_search_req’ from ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:390:12: note: (19) entry to ‘service_search_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:405:19: note: (20) calling ‘extract_des’ from ‘service_search_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:137:12: note: (21) entry to ‘extract_des’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:152:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:156:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:166:20: note: (24) following ‘false’ branch (when ‘bufsize != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:171:26: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:175:20: note: (26) following ‘true’ branch (when ‘expectedType == 254’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:176:52: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:176:28: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (29) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (30) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:191:17: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:195:28: note: (32) following ‘false’ branch (when ‘bufsize > 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:200:28: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:200:28: note: (34) following ‘false’ branch (when ‘expectedType != 255’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:209:33: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:264:20: note: (36) following ‘true’ branch (when ‘status == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:265:32: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:405:19: note: (38) returning to ‘service_search_req’ from ‘extract_des’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:407:12: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:411:15: note: (40) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:417:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:422:12: note: (42) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:422:12: note: (43) following ‘false’ branch (when ‘data_left > 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:427:20: note: (44) inlined call to ‘get_be16’ from ‘service_search_req’ <--[gcc] In function ‘get_be16’, inlined from ‘service_search_req’ at src/sdpd-request.c:427:13: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:215:16: note: in expansion of macro ‘be16_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:215:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:439:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:444:18: note: (47) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:462:12: note: (48) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:464:36: note: (49) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:487:20: note: (50) following ‘true’ branch (when ‘rsp_count > actual’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:489:36: note: (51) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:489:36: note: (52) calling ‘sdp_cstate_alloc_buf’ from ‘service_search_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:100:17: note: (53) entry to ‘sdp_cstate_alloc_buf’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:102:34: note: (54) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:106:9: note: (55) argument 1 (‘cinfo’) from (54) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:203:42: warning: dereference of possibly-NULL ‘aid’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1133:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1028:29: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1030:9: note: (16) following ‘case 4:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1036:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1038:26: note: (18) calling ‘service_attr_req’ from ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:700:12: note: (19) entry to ‘service_attr_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:714:12: note: (20) following ‘false’ branch (when ‘data_left > 3’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:719:18: note: (21) inlined call to ‘get_be32’ from ‘service_attr_req’ <--[gcc] In function ‘get_be32’, inlined from ‘service_attr_req’ at src/sdpd-request.c:719:11: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:16: note: in expansion of macro ‘be32_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:724:12: note: (23) following ‘false’ branch (when ‘data_left > 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:729:24: note: (24) inlined call to ‘get_be16’ from ‘service_attr_req’ <--[gcc] In function ‘get_be16’, inlined from ‘service_attr_req’ at src/sdpd-request.c:729:17: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:215:16: note: in expansion of macro ‘be16_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:215:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:734:12: note: (26) following ‘false’ branch (when ‘data_left > 4’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:740:19: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:740:19: note: (28) calling ‘extract_des’ from ‘service_attr_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:137:12: note: (29) entry to ‘extract_des’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:152:12: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:156:17: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:166:20: note: (32) following ‘false’ branch (when ‘bufsize != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:171:26: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:175:20: note: (34) following ‘false’ branch (when ‘expectedType != 254’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:180:27: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:180:27: note: (36) following ‘true’ branch (when ‘expectedType == 255’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:181:57: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:180:60: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:185:41: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:185:27: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (42) following ‘case 9:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:191:17: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:195:28: note: (44) following ‘false’ branch (when ‘bufsize > 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:200:28: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:200:28: note: (46) following ‘true’ branch (when ‘expectedType == 255’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:202:39: note: (47) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:202:39: note: (48) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:203:42: note: (49) ‘aid’ could be NULL: unchecked value from (48) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:230:42: warning: dereference of possibly-NULL ‘aid’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1133:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1028:29: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1030:9: note: (16) following ‘case 4:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1036:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1038:26: note: (18) calling ‘service_attr_req’ from ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:700:12: note: (19) entry to ‘service_attr_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:714:12: note: (20) following ‘false’ branch (when ‘data_left > 3’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:719:18: note: (21) inlined call to ‘get_be32’ from ‘service_attr_req’ <--[gcc] In function ‘get_be32’, inlined from ‘service_attr_req’ at src/sdpd-request.c:719:11: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:16: note: in expansion of macro ‘be32_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:724:12: note: (23) following ‘false’ branch (when ‘data_left > 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:729:24: note: (24) inlined call to ‘get_be16’ from ‘service_attr_req’ <--[gcc] In function ‘get_be16’, inlined from ‘service_attr_req’ at src/sdpd-request.c:729:17: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:215:16: note: in expansion of macro ‘be16_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:215:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘extract_des’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:734:12: note: (26) following ‘false’ branch (when ‘data_left > 4’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:740:19: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:740:19: note: (28) calling ‘extract_des’ from ‘service_attr_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:137:12: note: (29) entry to ‘extract_des’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:152:12: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:156:17: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:166:20: note: (32) following ‘false’ branch (when ‘bufsize != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:171:26: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:175:20: note: (34) following ‘false’ branch (when ‘expectedType != 254’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:180:27: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:180:27: note: (36) following ‘true’ branch (when ‘expectedType == 255’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:181:57: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:180:60: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:185:41: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:185:27: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:190:17: note: (42) following ‘case 10:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:218:17: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:222:28: note: (44) following ‘false’ branch (when ‘bufsize > 3’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:227:28: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:227:28: note: (46) following ‘true’ branch (when ‘expectedType == 255’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:229:39: note: (47) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:229:39: note: (48) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:230:42: note: (49) ‘aid’ could be NULL: unchecked value from (48) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘process_request’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1017:9: warning: use of possibly-NULL ‘buf’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1133:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘process_request’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[gcc] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:427:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c: In function ‘process_request’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1014:24: note: (14) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:1017:9: note: (15) argument 1 (‘buf’) from (14) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:211:13: warning: Result of 'malloc' is converted to a pointer of type 'char', which is incompatible with sizeof operand type 'uint16_t' [unix.MallocSizeof] <--[clang] /builddir/build/BUILD/bluez-5.75/src/sdpd-request.c:239:13: warning: Result of 'malloc' is converted to a pointer of type 'char', which is incompatible with sizeof operand type 'uint32_t' [unix.MallocSizeof] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-sdp-xml.o `test -f 'src/sdp-xml.c' || echo './'`src/sdp-xml.c /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c: In function ‘element_start.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:461:31: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:447:12: note: (1) following ‘false’ branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:459:21: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:459:12: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:460:48: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:462:38: note: (5) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:461:31: note: (6) dereference of NULL ‘sdp_xml_data_alloc()’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:465:44: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:447:12: note: (1) following ‘false’ branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:459:21: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:459:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:464:40: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:465:44: note: (5) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:465:44: note: (6) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:465:44: note: (7) dereference of NULL ‘sdp_xml_data_alloc()’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:126:10: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:300:11: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/src/sdp-xml.c:338:11: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-dbus-common.o `test -f 'src/dbus-common.c' || echo './'`src/dbus-common.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-gatt-client.o `test -f 'src/gatt-client.c' || echo './'`src/gatt-client.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-gatt-database.o `test -f 'src/gatt-database.c' || echo './'`src/gatt-database.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-profile.o `test -f 'src/profile.c' || echo './'`src/profile.c In file included from /usr/include/glib-2.0/glib.h:52, <--[gcc] from /builddir/build/BUILD/bluez-5.75/src/profile.c:21: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c: In function ‘parse_ext_opt’: <--[gcc] /usr/include/glib-2.0/glib/ghash.h:175:30: warning: use of NULL ‘*ext.role’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2280:21: note: in expansion of macro ‘g_str_equal’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2227:12: note: (1) entry to ‘parse_ext_opt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2235:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2241:20: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2241:19: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2246:20: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2246:19: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2251:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2251:19: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2259:20: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2259:19: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2268:20: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2268:19: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2273:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2273:19: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2274:20: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2274:20: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2276:17: note: (17) ...to here <--[gcc] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:56: <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (18) inlined call to ‘g_strdup_inline’ from ‘parse_ext_opt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2278:29: note: in expansion of macro ‘g_strdup’ <--[gcc] In function ‘g_strdup_inline’, inlined from ‘parse_ext_opt’ at src/profile.c:2278:15: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c: In function ‘parse_ext_opt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2278:27: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2278:27: note: (21) ‘*ext.role’ is NULL <--[gcc] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (22) argument 1 (‘<unknown>’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2280:21: note: in expansion of macro ‘g_str_equal’ <--[gcc] In file included from /usr/include/glib-2.0/glib/galloca.h:35, <--[gcc] from /usr/include/glib-2.0/glib.h:32: <--[gcc] /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[gcc] /usr/include/glib-2.0/glib/ghash.h:175:30: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2280:21: note: in expansion of macro ‘g_str_equal’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2348:28: note: (1) entry to ‘create_ext’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2358:12: note: (2) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (3) inlined call to ‘g_strdup_inline’ from ‘create_ext’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2363:22: note: in expansion of macro ‘g_strdup’ <--[gcc] In function ‘g_strdup_inline’, inlined from ‘create_ext’ at src/profile.c:2363:15: /usr/include/glib-2.0/glib/gstrfuncs.h:311:7: note: (4) ...to here <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c: In function ‘parse_ext_opt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2363:20: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2363:20: note: (7) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2366:9: note: (8) calling ‘ext_set_defaults’ from ‘create_ext’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2168:13: note: (9) entry to ‘ext_set_defaults’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2177:26: note: (10) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2179:23: note: (11) following ‘true’ branch (when ‘i != 13’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2183:21: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2183:20: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2183:20: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2366:9: note: (15) returning to ‘create_ext’ from ‘ext_set_defaults’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2368:53: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2372:17: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2378:21: note: (18) calling ‘parse_ext_opt’ from ‘create_ext’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2227:12: note: (19) entry to ‘parse_ext_opt’ <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (20) inlined call to ‘g_strdup_inline’ from ‘parse_ext_opt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2278:29: note: in expansion of macro ‘g_strdup’ <--[gcc] In function ‘g_strdup_inline’, inlined from ‘parse_ext_opt’ at src/profile.c:2278:15: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c: In function ‘parse_ext_opt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2278:27: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2278:27: note: (23) ‘0’ is NULL <--[gcc] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (24) argument 1 (‘<unknown>’) NULL where non-null expected <--[gcc] /builddir/build/BUILD/bluez-5.75/src/profile.c:2280:21: note: in expansion of macro ‘g_str_equal’ <--[gcc] /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-battery.o `test -f 'src/battery.c' || echo './'`src/battery.c In file included from /builddir/build/BUILD/bluez-5.75/src/battery.c:28: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c: In function ‘btd_battery_update’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:56:17: warning: dereference of NULL ‘battery’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:222:9: note: in expansion of macro ‘DBG’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:279:13: note: (1) entry to ‘provided_battery_added_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:290:12: note: (2) following ‘false’ branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:294:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:294:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:299:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:303:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:309:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:309:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:315:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:318:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:321:69: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:328:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:331:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:333:9: note: (14) calling ‘btd_battery_update’ from ‘provided_battery_added_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:220:6: note: (15) entry to ‘btd_battery_update’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:55:12: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:222:9: note: in expansion of macro ‘DBG’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:56:17: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:222:9: note: in expansion of macro ‘DBG’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:56:17: note: (18) dereference of NULL ‘battery’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:222:9: note: in expansion of macro ‘DBG’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:234:20: warning: dereference of NULL ‘battery’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:279:13: note: (1) entry to ‘provided_battery_added_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:290:12: note: (2) following ‘false’ branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:294:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:294:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:299:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:303:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:309:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:309:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:315:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:318:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:321:69: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:328:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:331:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:333:9: note: (14) calling ‘btd_battery_update’ from ‘provided_battery_added_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:220:6: note: (15) entry to ‘btd_battery_update’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:55:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:222:9: note: in expansion of macro ‘DBG’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:224:14: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:224:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:229:12: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:229:12: note: (20) following ‘false’ branch (when ‘percentage <= 100’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:234:20: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/battery.c:234:20: note: (22) dereference of NULL ‘battery’ <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o btio/bluetoothd-btio.o `test -f 'btio/btio.c' || echo './'`btio/btio.c /builddir/build/BUILD/bluez-5.75/btio/btio.c: In function ‘server_cb.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:256:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:256:12: note: (1) ‘g_io_channel_unix_get_fd(io)’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c: In function ‘sco_connect’: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2043:21: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(create_io(0, &opts, gerr))’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2009:13: note: (1) entry to ‘bt_io_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2024:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2027:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2027:14: note: (4) calling ‘create_io’ from ‘bt_io_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:36: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:771:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:51: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1996:14: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2027:14: note: (19) returning to ‘bt_io_connect’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2028:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2031:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2043:9: note: (22) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2051:9: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2052:23: note: (24) calling ‘sco_connect’ from ‘bt_io_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:826:12: note: (25) entry to ‘sco_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:835:15: note: (26) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:835:15: note: (27) when ‘connect’ fails <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:836:12: note: (28) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/btio/btio.c:21: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:836:26: note: (29) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2043:21: note: (30) ‘g_io_channel_unix_get_fd(create_io(0, &opts, gerr))’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c: In function ‘bt_io_listen’: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:36: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:771:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:51: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1996:14: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2099:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:36: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:771:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:51: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1996:14: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2099:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-set.o `test -f 'src/set.c' || echo './'`src/set.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-settings.o `test -f 'src/settings.c' || echo './'`src/settings.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/obexd-gobex-defs.o `test -f 'gobex/gobex-defs.c' || echo './'`gobex/gobex-defs.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/obexd-gobex-packet.o `test -f 'gobex/gobex-packet.c' || echo './'`gobex/gobex-packet.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/obexd-gobex-header.o `test -f 'gobex/gobex-header.c' || echo './'`gobex/gobex-header.c In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:101:3: /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:67:9: warning: use of NULL ‘utf16’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c: In function ‘g_obex_header_encode’: <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:77:8: note: (1) entry to ‘g_obex_header_encode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:88:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:91:15: note: (3) inlined call to ‘put_bytes’ from ‘g_obex_header_encode’ <--[gcc] In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:91:8: /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:67:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c: In function ‘g_obex_header_encode’: <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:93:9: note: (5) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:94:9: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:95:29: note: (7) calling ‘utf8_to_utf16’ from ‘g_obex_header_encode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:42:14: note: (8) entry to ‘utf8_to_utf16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:46:12: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:47:24: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:47:24: note: (11) ‘utf16’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:95:29: note: (12) returning to ‘g_obex_header_encode’ from ‘utf8_to_utf16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:96:20: note: (13) following ‘false’ branch... <--[gcc] In file included from /usr/include/glib-2.0/glib.h:89, <--[gcc] from /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.h:13, <--[gcc] from /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:16: <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:98:44: note: (14) ...to here <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:60:62: note: in definition of macro ‘g_assert_cmpuint’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:101:17: note: (15) ‘utf16’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:101:17: note: (16) inlined call to ‘put_bytes’ from ‘g_obex_header_encode’ <--[gcc] In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:101:3: /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:67:9: note: (17) argument 2 (‘utf16’) NULL where non-null expected <--[gcc] <built-in>: In function ‘g_obex_header_encode’: <built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c: In function ‘g_obex_header_create_list’: <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:534:34: warning: dereference of NULL ‘hdr’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:494:9: note: (1) entry to ‘g_obex_header_create_list’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:504:19: note: (2) following ‘true’ branch (when ‘id != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:26:39: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:511:25: note: in expansion of macro ‘G_OBEX_HDR_ENC’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:514:31: note: (4) calling ‘g_obex_header_new_unicode’ from ‘g_obex_header_create_list’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:375:14: note: (5) entry to ‘g_obex_header_new_unicode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:382:12: note: (6) following ‘true’ branch (when ‘id > 63’)... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:514:31: note: (8) returning to ‘g_obex_header_create_list’ from ‘g_obex_header_new_unicode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:534:34: note: (9) dereference of NULL ‘hdr’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:67:2: warning: Null pointer passed to 2nd parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-eir.o `test -f 'src/eir.c' || echo './'`src/eir.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/obexd-gobex-apparam.o `test -f 'gobex/gobex-apparam.c' || echo './'`gobex/gobex-apparam.c /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c: In function ‘tag_new’: <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:174:15: note: (1) entry to ‘g_obex_apparam_set_uint8’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:179:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint8’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: note: (6) allocated 3 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:182:15: note: (1) entry to ‘g_obex_apparam_set_uint16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:189:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: note: (6) allocated 4 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:192:15: note: (1) entry to ‘g_obex_apparam_set_uint32’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:199:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint32’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: note: (6) allocated 6 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-adv_monitor.o `test -f 'src/adv_monitor.c' || echo './'`src/adv_monitor.c /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c: In function ‘monitor_process’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:976:48: warning: dereference of possibly-NULL ‘*monitor.merged_pattern’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:36: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:88:21: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:975:35: note: in expansion of macro ‘malloc0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:976:48: note: (2) ‘calloc(56, 1)’ could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:976:48: warning: dereference of possibly-NULL ‘calloc(56, 1)’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1192:13: note: (1) entry to ‘monitor_proxy_added_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1202:12: note: (2) following ‘false’ branch (when the strings are equal)... <--[gcc] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:56, <--[gcc] from /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:20: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1203:44: note: (3) ...to here <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:180:30: note: in definition of macro ‘g_str_has_prefix’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1202:55: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1207:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1207:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1214:19: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1214:19: note: (8) calling ‘monitor_new’ from ‘monitor_proxy_added_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:687:28: note: (9) entry to ‘monitor_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:692:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:695:19: note: in expansion of macro ‘new0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1214:19: note: (12) returning to ‘monitor_proxy_added_cb’ from ‘monitor_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1215:12: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1222:14: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:1222:14: note: (15) calling ‘monitor_process’ from ‘monitor_proxy_added_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:969:13: note: (16) entry to ‘monitor_process’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:88:21: note: (17) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:975:35: note: in expansion of macro ‘malloc0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/adv_monitor.c:976:48: note: (18) ‘calloc(56, 1)’ could be NULL: unchecked value from (17) <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/obexd-gobex-transfer.o `test -f 'gobex/gobex-transfer.c' || echo './'`gobex/gobex-transfer.c /builddir/build/BUILD/bluez-5.75/gobex/gobex-transfer.c:423:7: warning: Use of memory after it is freed [unix.Malloc] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-manager.o `test -f 'obexd/client/manager.c' || echo './'`obexd/client/manager.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-advertising.o `test -f 'src/advertising.c' || echo './'`src/advertising.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-sync.o `test -f 'obexd/client/sync.c' || echo './'`obexd/client/sync.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-bluetooth.o `test -f 'obexd/client/bluetooth.c' || echo './'`obexd/client/bluetooth.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-ftp.o `test -f 'obexd/client/ftp.c' || echo './'`obexd/client/ftp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-opp.o `test -f 'obexd/client/opp.c' || echo './'`obexd/client/opp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-pbap.o `test -f 'obexd/client/pbap.c' || echo './'`obexd/client/pbap.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-map-event.o `test -f 'obexd/client/map-event.c' || echo './'`obexd/client/map-event.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-transport.o `test -f 'obexd/client/transport.c' || echo './'`obexd/client/transport.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-driver.o `test -f 'obexd/client/driver.c' || echo './'`obexd/client/driver.c /usr/bin/mkdir -p ell for f in ; do \ if [ ! -f $f ] ; then \ ln -s -t ell -f /builddir/build/BUILD/bluez-5.75/../ell/$f ; \ fi \ done > ell/internal gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/obexd-gobex.o `test -f 'gobex/gobex.c' || echo './'`gobex/gobex.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/mesh-io.o mesh/mesh-io.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/mesh-mgmt.o mesh/mesh-mgmt.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/mesh-io-unit.o mesh/mesh-io-unit.c /builddir/build/BUILD/bluez-5.75/mesh/mesh-io-unit.c: In function ‘unit_init’: <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/mesh-io-unit.c:238:12: warning: leak of file descriptor ‘*(struct mesh_io_private *)<unknown>.fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/mesh-io-unit.c:219:12: note: (1) following ‘false’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/ell/ell.h:1, <--[gcc] from /builddir/build/BUILD/bluez-5.75/mesh/mesh-io-unit.c:22: <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/util.h:273:23: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/mesh-io-unit.c:224:15: note: in expansion of macro ‘l_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/mesh-io-unit.c:230:19: note: (3) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/mesh-io-unit.c:231:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/mesh-io-unit.c:234:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/mesh-io-unit.c:238:12: note: (6) ‘*(struct mesh_io_private *)<unknown>.fd’ leaks here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o btio/obexd-btio.o `test -f 'btio/btio.c' || echo './'`btio/btio.c /builddir/build/BUILD/bluez-5.75/btio/btio.c: In function ‘server_cb.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:256:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:256:12: note: (1) ‘g_io_channel_unix_get_fd(io)’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c: In function ‘sco_connect’: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2043:21: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(create_io(0, &opts, gerr))’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2009:13: note: (1) entry to ‘bt_io_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2024:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2027:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2027:14: note: (4) calling ‘create_io’ from ‘bt_io_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:36: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:771:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:51: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1996:14: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2027:14: note: (19) returning to ‘bt_io_connect’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2028:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2031:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2043:9: note: (22) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2051:9: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2052:23: note: (24) calling ‘sco_connect’ from ‘bt_io_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:826:12: note: (25) entry to ‘sco_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:835:15: note: (26) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:835:15: note: (27) when ‘connect’ fails <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:836:12: note: (28) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/btio/btio.c:21: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:836:26: note: (29) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2043:21: note: (30) ‘g_io_channel_unix_get_fd(create_io(0, &opts, gerr))’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c: In function ‘bt_io_listen’: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:36: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:771:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:51: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1996:14: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2099:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:36: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:771:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:51: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1996:14: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2099:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/mesh-io-generic.o mesh/mesh-io-generic.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-map.o `test -f 'obexd/client/map.c' || echo './'`obexd/client/map.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-transfer.o `test -f 'obexd/client/transfer.c' || echo './'`obexd/client/transfer.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/appkey.o mesh/appkey.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/friend.o mesh/friend.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/mesh-io-mgmt.o mesh/mesh-io-mgmt.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/cfgmod-server.o mesh/cfgmod-server.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-session.o `test -f 'obexd/client/session.c' || echo './'`obexd/client/session.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/net-keys.o mesh/net-keys.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/dbus.o mesh/dbus.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-adapter.o `test -f 'src/adapter.c' || echo './'`src/adapter.c /builddir/build/BUILD/bluez-5.75/src/adapter.c: internal warning: child 7928 timed out after 30s <--[clang] cswrap: error: child 7928 (/usr/bin/clang) terminated by signal 15 (timed out) /builddir/build/BUILD/bluez-5.75/src/adapter.c: internal warning: child 7930 timed out after 30s <--[gcc] cswrap: error: child 7930 (/usr/bin/gcc) terminated by signal 15 (timed out) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/node.o mesh/node.c /builddir/build/BUILD/bluez-5.75/mesh/node.c: In function ‘check_req_node’: <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/node.c:1549:33: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/node.c:1549:12: note: (1) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/node.c:1549:33: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/node.c:1549:33: note: (3) argument 1 (‘node_get_comp(node, 0, & node_len)’) NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/ell/util.h:11, <--[gcc] from /builddir/build/BUILD/bluez-5.75/ell/ell.h:1, <--[gcc] from /builddir/build/BUILD/bluez-5.75/mesh/node.c:21: <--[gcc] /usr/include/string.h:64:12: note: argument 1 of ‘memcmp’ must be non-null <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/prov-acceptor.o mesh/prov-acceptor.c /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c: In function ‘acp_prov_rx’: <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:685:12: warning: check of ‘prov’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:437:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:437:37: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:437:37: note: (3) pointer ‘prov’ is dereferenced here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:437:29: note: (4) following ‘false’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/ell/ell.h:2, <--[gcc] from /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:15: <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:64:19: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:440:9: note: in expansion of macro ‘l_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:443:12: note: (6) following ‘false’ branch (when ‘type <= 9’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:449:18: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:449:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:452:24: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:452:19: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:459:37: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:459:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:466:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-acceptor.c:685:12: note: (14) pointer ‘prov’ is checked for NULL here but it was already dereferenced at (3) <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/prov-initiator.o mesh/prov-initiator.c /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c: In function ‘int_prov_rx’: <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:832:12: warning: check of ‘prov’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:661:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:661:37: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:661:37: note: (3) pointer ‘prov’ is dereferenced here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:661:29: note: (4) following ‘false’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/ell/ell.h:2, <--[gcc] from /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:15: <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:64:19: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:664:9: note: in expansion of macro ‘l_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:667:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:670:31: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:670:19: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:676:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:676:12: note: (10) following ‘false’ branch (when ‘type <= 9’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:677:65: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:676:53: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:684:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:684:9: note: (14) following ‘case 4:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:755:9: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:832:12: note: (16) pointer ‘prov’ is checked for NULL here but it was already dereferenced at (3) <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:832:12: warning: check of ‘prov’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1002:13: note: (1) entry to ‘remprv_cli_pkt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1012:12: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1013:22: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1018:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1022:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1022:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1026:21: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1026:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1029:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1034:9: note: (10) following ‘case 32863:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1073:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:1074:17: note: (12) calling ‘int_prov_rx’ from ‘remprv_cli_pkt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:653:13: note: (13) entry to ‘int_prov_rx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:661:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:661:37: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:661:37: note: (16) pointer ‘prov’ is dereferenced here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:661:29: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:64:19: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:664:9: note: in expansion of macro ‘l_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:667:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:670:31: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:670:19: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:676:12: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:676:12: note: (23) following ‘false’ branch (when ‘type <= 9’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:677:65: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:676:53: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:684:9: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:684:9: note: (27) following ‘case 4:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:755:9: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/prov-initiator.c:832:12: note: (29) pointer ‘prov’ is checked for NULL here but it was already dereferenced at (16) <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/manager.o mesh/manager.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/remprv-server.o mesh/remprv-server.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/pb-adv.o mesh/pb-adv.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/prvbeac-server.o mesh/prvbeac-server.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/agent.o mesh/agent.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hid2hci.o tools/hid2hci.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/main.o mesh/main.c /builddir/build/BUILD/bluez-5.75/mesh/main.c:161:3: warning: Value stored to 'optarg' is never read [deadcode.DeadStores] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/bluetoothd-device.o `test -f 'src/device.c' || echo './'`src/device.c /builddir/build/BUILD/bluez-5.75/src/device.c: In function ‘device_bonding_retry’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/device.c:6580:29: warning: dereference of NULL ‘data’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/device.c:6576:17: note: (1) entry to ‘device_bonding_retry’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/device.c:6579:39: note: (2) inlined call to ‘device_get_adapter’ from ‘device_bonding_retry’ <--[gcc] In function ‘device_get_adapter’, inlined from ‘device_bonding_retry’ at src/device.c:6579:32: /builddir/build/BUILD/bluez-5.75/src/device.c:6009:12: note: (3) following ‘true’ branch (when ‘data’ is NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/device.c: In function ‘device_bonding_retry’: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/device.c:6580:29: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/device.c:6580:29: note: (5) dereference of NULL ‘data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/device.c: internal warning: child 7994 timed out after 30s <--[clang] cswrap: error: child 7994 (/usr/bin/clang) terminated by signal 15 (timed out) /usr/bin/mkdir -p src/ && rst2man --strict --no-raw --no-generator --no-datestamp src/bluetoothd.rst src/bluetoothd.8 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.Adapter.rst doc/org.bluez.Adapter.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.Device.rst doc/org.bluez.Device.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.DeviceSet.rst doc/org.bluez.DeviceSet.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.AgentManager.rst doc/org.bluez.AgentManager.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.Agent.rst doc/org.bluez.Agent.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.ProfileManager.rst doc/org.bluez.ProfileManager.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.NetworkServer.rst doc/org.bluez.NetworkServer.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.Profile.rst doc/org.bluez.Profile.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.Input.rst doc/org.bluez.Input.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.Network.rst doc/org.bluez.Network.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.BatteryProviderManager.rst doc/org.bluez.BatteryProviderManager.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.BatteryProvider.rst doc/org.bluez.BatteryProvider.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.Battery.rst doc/org.bluez.Battery.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.AdminPolicySet.rst doc/org.bluez.AdminPolicySet.5 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/keyring.o mesh/keyring.c /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.AdminPolicyStatus.rst doc/org.bluez.AdminPolicyStatus.5 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/rpl.o mesh/rpl.c /builddir/build/BUILD/bluez-5.75/mesh/rpl.c: In function ‘rpl_put_entry’: <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/rpl.c:54:41: warning: ‘%s’ directive output may be truncated writing up to 4080 bytes into a region of size between 16 and 4096 [-Wformat-truncation=] <--[gcc] 54 | snprintf(src_file, PATH_MAX, "%s%s/%8.8x", node_path, rpl_dir, | ^~ In file included from /usr/include/stdio.h:980, <--[gcc] from /builddir/build/BUILD/bluez-5.75/mesh/rpl.c:18: <--[gcc] In function ‘snprintf’, inlined from ‘rpl_put_entry’ at mesh/rpl.c:54:2: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 10 and 8170 bytes into a destination of size 4096 <--[gcc] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/bluez-5.75/mesh/rpl.c: In function ‘rpl_del_entry’: <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/rpl.c:104:41: warning: ‘%s’ directive output may be truncated writing up to 4080 bytes into a region of size between 16 and 4096 [-Wformat-truncation=] <--[gcc] 104 | snprintf(rpl_path, PATH_MAX, "%s%s", node_path, rpl_dir); | ^~ In function ‘snprintf’, inlined from ‘rpl_del_entry’ at mesh/rpl.c:104:2: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 1 and 8161 bytes into a destination of size 4096 <--[gcc] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/bluez-5.75/mesh/rpl.c:277: error: legacyUninitvar(CWE-457): Uninitialized variable: val <--[cppcheck] /builddir/build/BUILD/bluez-5.75/mesh/rpl.c: In function ‘rpl_update’: <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/rpl.c:257:37: warning: ‘%s’ directive output may be truncated writing up to 4080 bytes into a region of size between 16 and 4096 [-Wformat-truncation=] <--[gcc] 257 | snprintf(path, PATH_MAX, "%s%s", node_path, rpl_dir); | ^~ In function ‘snprintf’, inlined from ‘rpl_update’ at mesh/rpl.c:257:2: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 1 and 8161 bytes into a destination of size 4096 <--[gcc] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/bluez-5.75/mesh/rpl.c: In function ‘rpl_init’: <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/rpl.c:295:37: warning: ‘%s’ directive output may be truncated writing up to 4080 bytes into a region of size between 16 and 4096 [-Wformat-truncation=] <--[gcc] 295 | snprintf(path, PATH_MAX, "%s%s", node_path, rpl_dir); | ^~ In function ‘snprintf’, inlined from ‘rpl_init’ at mesh/rpl.c:295:2: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 1 and 8161 bytes into a destination of size 4096 <--[gcc] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.Media.rst doc/org.bluez.Media.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.MediaControl.rst doc/org.bluez.MediaControl.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.MediaPlayer.rst doc/org.bluez.MediaPlayer.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.MediaItem.rst doc/org.bluez.MediaItem.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.MediaFolder.rst doc/org.bluez.MediaFolder.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.MediaEndpoint.rst doc/org.bluez.MediaEndpoint.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.MediaTransport.rst doc/org.bluez.MediaTransport.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.GattProfile.rst doc/org.bluez.GattProfile.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.GattManager.rst doc/org.bluez.GattManager.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.GattService.rst doc/org.bluez.GattService.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.GattDescriptor.rst doc/org.bluez.GattDescriptor.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.GattCharacteristic.rst doc/org.bluez.GattCharacteristic.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.LEAdvertisement.rst doc/org.bluez.LEAdvertisement.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.LEAdvertisingManager.rst doc/org.bluez.LEAdvertisingManager.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.AdvertisementMonitorManager.rst doc/org.bluez.AdvertisementMonitorManager.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.AdvertisementMonitor.rst doc/org.bluez.AdvertisementMonitor.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.Transfer.rst doc/org.bluez.obex.Transfer.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.Client.rst doc/org.bluez.obex.Client.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.Session.rst doc/org.bluez.obex.Session.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.ObjectPush.rst doc/org.bluez.obex.ObjectPush.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.FileTransfer.rst doc/org.bluez.obex.FileTransfer.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.Synchronization.rst doc/org.bluez.obex.Synchronization.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.PhonebookAccess.rst doc/org.bluez.obex.PhonebookAccess.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.MessageAccess.rst doc/org.bluez.obex.MessageAccess.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.Message.rst doc/org.bluez.obex.Message.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.AgentManager.rst doc/org.bluez.obex.AgentManager.5 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.Agent.rst doc/org.bluez.obex.Agent.5 /usr/bin/mkdir -p monitor/ && rst2man --strict --no-raw --no-generator --no-datestamp monitor/btmon.rst monitor/btmon.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/rctest.rst tools/rctest.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/l2ping.rst tools/l2ping.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/btattach.rst tools/btattach.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/isotest.rst tools/isotest.1 /usr/bin/mkdir -p client/ && rst2man --strict --no-raw --no-generator --no-datestamp client/bluetoothctl.rst client/bluetoothctl.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/btmgmt.rst tools/btmgmt.1 /usr/bin/mkdir -p client/ && rst2man --strict --no-raw --no-generator --no-datestamp client/bluetoothctl-mgmt.rst client/bluetoothctl-mgmt.1 /usr/bin/mkdir -p client/ && rst2man --strict --no-raw --no-generator --no-datestamp client/bluetoothctl-admin.rst client/bluetoothctl-admin.1 /usr/bin/mkdir -p client/ && rst2man --strict --no-raw --no-generator --no-datestamp client/bluetoothctl-monitor.rst client/bluetoothctl-monitor.1 /usr/bin/mkdir -p client/ && rst2man --strict --no-raw --no-generator --no-datestamp client/bluetoothctl-endpoint.rst client/bluetoothctl-endpoint.1 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/mesh-config-json.o mesh/mesh-config-json.c /usr/bin/mkdir -p client/ && rst2man --strict --no-raw --no-generator --no-datestamp client/bluetoothctl-advertise.rst client/bluetoothctl-advertise.1 /usr/bin/mkdir -p client/ && rst2man --strict --no-raw --no-generator --no-datestamp client/bluetoothctl-gatt.rst client/bluetoothctl-gatt.1 /usr/bin/mkdir -p client/ && rst2man --strict --no-raw --no-generator --no-datestamp client/bluetoothctl-player.rst client/bluetoothctl-player.1 /usr/bin/mkdir -p client/ && rst2man --strict --no-raw --no-generator --no-datestamp client/bluetoothctl-transport.rst client/bluetoothctl-transport.1 /usr/bin/mkdir -p client/ && rst2man --strict --no-raw --no-generator --no-datestamp client/bluetoothctl-scan.rst client/bluetoothctl-scan.1 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/model.o mesh/model.c /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/hciattach.rst tools/hciattach.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/hcitool.rst tools/hcitool.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/hciconfig.rst tools/hciconfig.1 /usr/bin/mkdir -p tools cp ./tools/hid2hci.rules tools/97-hid2hci.rules /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/hcidump.rst tools/hcidump.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/sdptool.rst tools/sdptool.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/rfcomm.rst tools/rfcomm.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/ciptool.rst tools/ciptool.1 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/hid2hci.rst tools/hid2hci.1 /usr/bin/mkdir -p mesh/ && rst2man --strict --no-raw --no-generator --no-datestamp mesh/bluetooth-meshd.rst mesh/bluetooth-meshd.8 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o client/display.o client/display.c /builddir/build/BUILD/bluez-5.75/client/display.c: In function ‘rl_printf’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:53:17: warning: use of uninitialized value ‘saved_line’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:34:15: note: (1) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:34:15: note: (2) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:39:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:47:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:51:12: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:52:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:53:17: note: (7) use of uninitialized value ‘saved_line’ here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:53:17: warning: use of uninitialized value ‘saved_line’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:60:6: note: (1) entry to ‘rl_hexdump’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:66:12: note: (2) following ‘false’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:69:16: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:77:20: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/client/display.c:86:12: note: (6) following ‘true’ branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.75/client/display.c:97:17: note: (8) calling ‘rl_printf’ from ‘rl_hexdump’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:30:6: note: (9) entry to ‘rl_printf’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:34:15: note: (10) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:34:15: note: (11) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:39:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:47:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:51:12: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:52:17: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/display.c:53:17: note: (16) use of uninitialized value ‘saved_line’ here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o client/agent.o client/agent.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o client/admin.o client/admin.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o client/print.o client/print.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o client/advertising.o client/advertising.c /builddir/build/BUILD/bluez-5.75/client/advertising.c: In function ‘ad_register’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/advertising.c:524:14: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/client/advertising.c:514:6: note: (1) entry to ‘ad_register’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/advertising.c:516:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/advertising.c:521:18: note: (3) ...to here <--[gcc] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:56, <--[gcc] from /builddir/build/BUILD/bluez-5.75/gdbus/gdbus.h:19, <--[gcc] from /builddir/build/BUILD/bluez-5.75/client/advertising.c:22: <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (4) inlined call to ‘g_strdup_inline’ from ‘ad_register’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/advertising.c:522:19: note: in expansion of macro ‘g_strdup’ <--[gcc] In function ‘g_strdup_inline’, inlined from ‘ad_register’ at client/advertising.c:522:12: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/advertising.c: In function ‘ad_register’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/advertising.c:522:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/advertising.c:522:17: note: (7) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/client/advertising.c:524:14: note: (8) argument 1 (‘<unknown>’) NULL where non-null expected <--[gcc] In file included from /usr/include/string.h:462, <--[gcc] from /builddir/build/BUILD/bluez-5.75/client/advertising.c:20: <--[gcc] /usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o client/adv_monitor.o client/adv_monitor.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o client/main.o client/main.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o lib/bluetooth.lo lib/bluetooth.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lib/bluetooth.c -fPIC -DPIC -o lib/.libs/bluetooth.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o lib/uuid.lo lib/uuid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lib/uuid.c -fPIC -DPIC -o lib/.libs/uuid.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gdbus/mainloop.lo gdbus/mainloop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c gdbus/mainloop.c -fPIC -DPIC -o gdbus/.libs/mainloop.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o lib/hci.lo lib/hci.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lib/hci.c -fPIC -DPIC -o lib/.libs/hci.o /builddir/build/BUILD/bluez-5.75/lib/hci.c:97:4: warning: Value stored to 'ptr' is never read [deadcode.DeadStores] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/net.o mesh/net.c /builddir/build/BUILD/bluez-5.75/mesh/net.c: In function ‘friend_packet_queue’: <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3804:13: note: (1) entry to ‘hb_pub_timeout_func’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3809:9: note: (2) calling ‘send_hb_publication’ from ‘hb_pub_timeout_func’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:261:13: note: (3) entry to ‘send_hb_publication’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:265:17: note: (4) capacity: 4 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:268:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:271:18: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:276:9: note: (7) calling ‘mesh_net_transport_send’ from ‘send_hb_publication’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3407:6: note: (8) entry to ‘mesh_net_transport_send’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3418:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3421:12: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3421:12: note: (11) following ‘true’ branch (when ‘src == 0’)... <--[gcc] cc1: note: (12) ...to here /builddir/build/BUILD/bluez-5.75/mesh/net.c:3424:12: note: (13) following ‘false’ branch (when ‘src != dst’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3427:12: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3431:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3438:12: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3438:12: note: (17) following ‘false’ branch (when ‘ttl != 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3442:12: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3442:12: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3442:62: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3446:21: note: (21) calling ‘friend_packet_queue’ from ‘mesh_net_transport_send’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1327:13: note: (22) entry to ‘friend_packet_queue’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1339:12: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1342:20: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1342:20: note: (25) calling ‘mesh_friend_msg_new’ from ‘friend_packet_queue’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1186:32: note: (26) entry to ‘mesh_friend_msg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1190:12: note: (27) following ‘false’ branch (when ‘seg_max == 0’)... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/ell/ell.h:1, <--[gcc] from /builddir/build/BUILD/bluez-5.75/mesh/net.c:19: <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/util.h:273:23: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1198:28: note: in expansion of macro ‘l_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1342:20: note: (29) returning to ‘friend_packet_queue’ from ‘mesh_friend_msg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1344:12: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1361:38: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1363:20: note: (32) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/mesh/net.c:26: <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.h:107:42: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1366:29: note: in expansion of macro ‘FRND_OPCODE’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1366:28: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1371:25: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3446:21: note: (36) returning to ‘mesh_net_transport_send’ from ‘friend_packet_queue’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3446:20: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3453:13: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3453:12: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3456:69: note: (40) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3454:26: note: (41) calling ‘ctl_received’ from ‘mesh_net_transport_send’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2086:13: note: (42) entry to ‘ctl_received’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2098:12: note: (43) following ‘true’ branch (when ‘ttl > 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2099:39: note: (44) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2102:21: note: (45) calling ‘friend_packet_queue’ from ‘ctl_received’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1327:13: note: (46) entry to ‘friend_packet_queue’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1339:12: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1342:20: note: (48) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1344:12: note: (49) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1345:54: note: (50) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1348:31: note: (51) following ‘true’ branch (when ‘i <= seg_max’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:50: note: (52) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: note: (53) out-of-bounds read from byte 4 till byte 12 but ‘msg’ ends at byte 4 <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: note: read of 9 bytes from after the end of ‘msg’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: note: valid subscripts for ‘msg’ are ‘[0]’ to ‘[3]’ <--[gcc] ┌───────────────────────────────────────────────────────────┐ │ read of 12 bytes │ └───────────────────────────────────────────────────────────┘ ^ ^ ^ │ │ │ │ │ │ ┌──────┬─────────────┬─────────┐ ┌────────────────────────────────────┐ │ [0] │ ... │ [3] │ │ │ ├──────┴─────────────┴─────────┤ │ after valid range │ │ ‘msg’ (type: ‘uint8_t[4]’) │ │ │ └──────────────────────────────┘ └────────────────────────────────────┘ ├──────────────┬───────────────┤ ├─────────────────┬──────────────────┤ │ │ ╭──────┴──────╮ ╭───────────┴───────────╮ │size: 4 bytes│ │⚠️ over-read of 9 bytes│ ╰─────────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2467:13: note: (1) entry to ‘net_rx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2487:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2490:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2501:19: note: (4) calling ‘key_id_to_net_idx’ from ‘net_rx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1807:17: note: (5) entry to ‘key_id_to_net_idx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1813:12: note: (6) following ‘false’ branch (when ‘net’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1816:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1816:12: note: (8) following ‘true’ branch (when ‘frnd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1817:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2501:19: note: (10) returning to ‘net_rx’ from ‘key_id_to_net_idx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2503:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2506:24: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2506:24: note: (13) calling ‘packet_received’ from ‘net_rx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2326:27: note: (14) entry to ‘packet_received’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2344:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2354:21: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2354:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2361:13: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2361:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2368:13: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2368:13: note: (21) calling ‘msg_in_cache’ from ‘packet_received’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1048:13: note: (22) entry to ‘msg_in_cache’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1060:12: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/util.h:273:23: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1066:15: note: in expansion of macro ‘l_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2368:13: note: (25) returning to ‘packet_received’ from ‘msg_in_cache’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2368:12: note: (26) following ‘false’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/ell/ell.h:2: <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:64:19: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2371:9: note: in expansion of macro ‘l_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2380:20: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2406:28: note: (29) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2406:27: note: (30) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2411:29: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2411:28: note: (32) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2412:57: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2411:57: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2417:45: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2417:36: note: (36) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2418:41: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2418:41: note: (38) calling ‘friend_seg_rxed’ from ‘packet_received’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1852:13: note: (39) entry to ‘friend_seg_rxed’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1870:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1873:27: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1873:12: note: (42) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1875:17: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1875:17: note: (44) calling ‘send_frnd_ack’ from ‘friend_seg_rxed’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1427:13: note: (45) entry to ‘send_frnd_ack’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1431:17: note: (46) capacity: 7 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1434:12: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1438:38: note: (48) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1458:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1463:17: note: (50) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1463:17: note: (51) calling ‘mesh_net_transport_send’ from ‘send_frnd_ack’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3407:6: note: (52) entry to ‘mesh_net_transport_send’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3418:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3421:12: note: (54) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3421:12: note: (55) following ‘true’ branch (when ‘src == 0’)... <--[gcc] cc1: note: (56) ...to here /builddir/build/BUILD/bluez-5.75/mesh/net.c:3424:12: note: (57) following ‘false’ branch (when ‘src != dst’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3427:12: note: (58) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3427:12: note: (59) following ‘true’ branch (when ‘ttl == 255’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3428:21: note: (60) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3431:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3438:12: note: (62) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3438:12: note: (63) following ‘false’ branch (when ‘ttl != 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3442:12: note: (64) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3442:12: note: (65) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3443:39: note: (66) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3446:21: note: (67) calling ‘friend_packet_queue’ from ‘mesh_net_transport_send’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1327:13: note: (68) entry to ‘friend_packet_queue’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1339:12: note: (69) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1342:20: note: (70) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1344:12: note: (71) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1345:54: note: (72) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1348:31: note: (73) following ‘true’ branch (when ‘i <= seg_max’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:50: note: (74) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: note: (75) out-of-bounds read from byte 7 till byte 12 but ‘msg’ ends at byte 7 <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: note: read of 6 bytes from after the end of ‘msg’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: note: valid subscripts for ‘msg’ are ‘[0]’ to ‘[6]’ <--[gcc] ┌───────────────────────────────────────────────────────────┐ │ read of 12 bytes │ └───────────────────────────────────────────────────────────┘ ^ ^ ^ │ │ │ │ │ │ ┌──────┬─────────────────────────┬─────────┐ ┌────────────────────────┐ │ [0] │ ... │ [6] │ │ │ ├──────┴─────────────────────────┴─────────┤ │ after valid range │ │ ‘msg’ (type: ‘uint8_t[7]’) │ │ │ └──────────────────────────────────────────┘ └────────────────────────┘ ├────────────────────┬─────────────────────┤ ├───────────┬────────────┤ │ │ ╭──────┴──────╮ ╭───────────┴───────────╮ │size: 7 bytes│ │⚠️ over-read of 6 bytes│ ╰─────────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2467:13: note: (1) entry to ‘net_rx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2487:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2490:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2501:19: note: (4) calling ‘key_id_to_net_idx’ from ‘net_rx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1807:17: note: (5) entry to ‘key_id_to_net_idx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1813:12: note: (6) following ‘false’ branch (when ‘net’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1816:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1816:12: note: (8) following ‘true’ branch (when ‘frnd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1817:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2501:19: note: (10) returning to ‘net_rx’ from ‘key_id_to_net_idx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2503:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2506:24: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2506:24: note: (13) calling ‘packet_received’ from ‘net_rx’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2326:27: note: (14) entry to ‘packet_received’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2344:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2354:21: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2354:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2361:13: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2361:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2368:13: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2368:13: note: (21) calling ‘msg_in_cache’ from ‘packet_received’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1048:13: note: (22) entry to ‘msg_in_cache’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1060:12: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/util.h:273:23: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1066:15: note: in expansion of macro ‘l_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2368:13: note: (25) returning to ‘packet_received’ from ‘msg_in_cache’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2368:12: note: (26) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:64:19: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2371:9: note: in expansion of macro ‘l_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2380:20: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2406:28: note: (29) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2406:27: note: (30) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2411:29: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2424:33: note: (32) calling ‘seg_rxed’ from ‘packet_received’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1950:13: note: (33) entry to ‘seg_rxed’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1973:12: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1973:30: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1973:20: note: (36) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1974:39: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1973:51: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1994:38: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1996:12: note: (40) following ‘true’ branch (when ‘sar_in’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:64:19: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1997:17: note: in expansion of macro ‘l_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2000:20: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2001:39: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2000:56: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2004:27: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2004:20: note: (46) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2006:25: note: (47) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:2006:25: note: (48) calling ‘send_net_ack’ from ‘seg_rxed’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1469:13: note: (49) entry to ‘send_net_ack’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1472:17: note: (50) capacity: 7 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1478:12: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1482:19: note: (52) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1491:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1498:9: note: (54) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1498:9: note: (55) calling ‘mesh_net_transport_send’ from ‘send_net_ack’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3407:6: note: (56) entry to ‘mesh_net_transport_send’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3418:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3421:12: note: (58) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3424:12: note: (59) following ‘false’ branch (when ‘src != dst’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3427:12: note: (60) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3427:12: note: (61) following ‘true’ branch (when ‘ttl == 255’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3428:21: note: (62) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3431:12: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3438:12: note: (64) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3438:12: note: (65) following ‘false’ branch (when ‘ttl != 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3442:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3442:12: note: (67) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3443:39: note: (68) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:3446:21: note: (69) calling ‘friend_packet_queue’ from ‘mesh_net_transport_send’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1327:13: note: (70) entry to ‘friend_packet_queue’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1339:12: note: (71) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1342:20: note: (72) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1344:12: note: (73) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1345:54: note: (74) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1348:31: note: (75) following ‘true’ branch (when ‘i <= seg_max’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:50: note: (76) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: note: (77) out-of-bounds read from byte 7 till byte 12 but ‘msg’ ends at byte 7 <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: note: read of 6 bytes from after the end of ‘msg’ <--[gcc] /builddir/build/BUILD/bluez-5.75/mesh/net.c:1349:25: note: valid subscripts for ‘msg’ are ‘[0]’ to ‘[6]’ <--[gcc] ┌───────────────────────────────────────────────────────────┐ │ read of 12 bytes │ └───────────────────────────────────────────────────────────┘ ^ ^ ^ │ │ │ │ │ │ ┌──────┬─────────────────────────┬─────────┐ ┌────────────────────────┐ │ [0] │ ... │ [6] │ │ │ ├──────┴─────────────────────────┴─────────┤ │ after valid range │ │ ‘msg’ (type: ‘uint8_t[7]’) │ │ │ └──────────────────────────────────────────┘ └────────────────────────┘ ├────────────────────┬─────────────────────┤ ├───────────┬────────────┤ │ │ ╭──────┴──────╮ ╭───────────┴───────────╮ │size: 7 bytes│ │⚠️ over-read of 6 bytes│ ╰─────────────╯ ╰───────────────────────╯ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gdbus/polkit.lo gdbus/polkit.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c gdbus/polkit.c -fPIC -DPIC -o gdbus/.libs/polkit.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-queue.lo `test -f 'src/shared/queue.c' || echo './'`src/shared/queue.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/queue.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-queue.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-util.lo `test -f 'src/shared/util.c' || echo './'`src/shared/util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/util.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-util.o In file included from /builddir/build/BUILD/bluez-5.75/src/shared/util.c:39: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c: In function 'util_iov_dup': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:83:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:342:15: note: (1) entry to 'util_iov_dup' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:347:12: note: (2) following 'false' branch (when 'iov' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (4) calling 'util_malloc' from 'util_iov_dup' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:41:7: note: (5) entry to 'util_malloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:43:12: note: (6) following 'false' branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (8) returning to 'util_iov_dup' from 'util_malloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:83:17: note: (9) argument 1 ('util_malloc(cnt * 16)') NULL where non-null expected <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/util.c: In function 'util_iov_memcpy.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:379:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:377:25: note: (1) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:377:23: note: (2) '*iov.iov_base' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:379:9: note: (3) argument 1 ('realloc(*iov.iov_base, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/util.c: In function 'strdelimit': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1828:16: warning: dereference of possibly-NULL 'dup' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1824:12: note: (1) following 'false' branch (when 'str' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1827:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1827:15: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.c:1828:16: note: (4) 'dup' could be NULL: unchecked value from (3) <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o client/mgmt.o client/mgmt.c /builddir/build/BUILD/bluez-5.75/client/mgmt.c: In function ‘parse_bytes’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:16: warning: leak of ‘adv_data’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4660:13: note: (1) entry to ‘cmd_add_adv’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4679:73: note: (2) following ‘true’ branch (when ‘opt != -1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4680:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4680:17: note: (4) following ‘case 100:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4717:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4718:28: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4723:30: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4723:30: note: (8) calling ‘parse_bytes’ from ‘cmd_add_adv’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4618:13: note: (9) entry to ‘parse_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4622:12: note: (10) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4627:16: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4629:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4634:14: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4635:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (16) allocated here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4641:12: note: (17) assuming ‘adv_data’ is non-NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4641:12: note: (18) following ‘false’ branch... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4646:23: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4723:30: note: (22) returning to ‘cmd_add_adv’ from ‘parse_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4723:28: note: (23) following ‘true’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4679:73: note: (25) following ‘true’ branch (when ‘opt != -1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4680:17: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4680:17: note: (27) following ‘case 100:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4717:17: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4718:28: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4723:30: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4723:30: note: (31) calling ‘parse_bytes’ from ‘cmd_add_adv’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4618:13: note: (32) entry to ‘parse_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4622:12: note: (33) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4627:16: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4629:12: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4634:14: note: (36) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4635:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:16: note: (39) ‘adv_data’ leaks here; was allocated at (16) <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:16: warning: leak of ‘adv_data’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5126:13: note: (1) entry to ‘cmd_add_ext_adv_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5143:66: note: (2) following ‘true’ branch (when ‘opt != -1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5144:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5144:17: note: (4) following ‘case 100:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5181:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5182:28: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5187:30: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5187:30: note: (8) calling ‘parse_bytes’ from ‘cmd_add_ext_adv_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4618:13: note: (9) entry to ‘parse_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4622:12: note: (10) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4627:16: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4629:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4634:14: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4635:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (16) allocated here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4641:12: note: (17) assuming ‘adv_data’ is non-NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4641:12: note: (18) following ‘false’ branch... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4646:23: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5187:30: note: (22) returning to ‘cmd_add_ext_adv_data’ from ‘parse_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5187:28: note: (23) following ‘true’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5143:66: note: (25) following ‘true’ branch (when ‘opt != -1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5144:17: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5144:17: note: (27) following ‘case 100:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5181:17: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5182:28: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5187:30: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5187:30: note: (31) calling ‘parse_bytes’ from ‘cmd_add_ext_adv_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4618:13: note: (32) entry to ‘parse_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4622:12: note: (33) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4627:16: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4629:12: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4634:14: note: (36) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4635:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:16: note: (39) ‘adv_data’ leaks here; was allocated at (16) <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c: In function ‘cmd_add_adv’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4819:17: warning: use of uninitialized value ‘adv_data’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4660:13: note: (1) entry to ‘cmd_add_adv’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4679:73: note: (2) following ‘true’ branch (when ‘opt != -1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4680:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4680:17: note: (4) following ‘case 100:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4717:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4718:28: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4723:30: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4723:30: note: (8) calling ‘parse_bytes’ from ‘cmd_add_adv’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4618:13: note: (9) entry to ‘parse_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4622:12: note: (10) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4627:16: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4629:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4634:14: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4635:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (16) region created on heap here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (17) capacity: ‘adv_len’ bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4641:12: note: (18) following ‘false’ branch... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4646:23: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4723:30: note: (22) returning to ‘cmd_add_adv’ from ‘parse_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4723:28: note: (23) following ‘true’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4679:73: note: (25) following ‘false’ branch (when ‘opt == -1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4782:14: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4786:12: note: (27) following ‘false’ branch (when ‘argc == 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4791:12: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4791:12: note: (29) following ‘false’ branch (when ‘uuid_bytes == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4794:20: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4802:12: note: (31) following ‘false’ branch (when ‘cp’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4805:22: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4812:12: note: (33) following ‘false’ branch (when ‘uuid_bytes == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4818:12: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4818:12: note: (35) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4819:17: note: (36) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4819:17: note: (37) use of uninitialized value ‘adv_data’ here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c: In function ‘cmd_add_ext_adv_data’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5243:17: warning: use of uninitialized value ‘adv_data’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5126:13: note: (1) entry to ‘cmd_add_ext_adv_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5143:66: note: (2) following ‘true’ branch (when ‘opt != -1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5144:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5144:17: note: (4) following ‘case 100:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5181:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5182:28: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5187:30: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5187:30: note: (8) calling ‘parse_bytes’ from ‘cmd_add_ext_adv_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4618:13: note: (9) entry to ‘parse_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4622:12: note: (10) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4627:16: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4629:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4634:14: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4635:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (16) region created on heap here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4640:18: note: (17) capacity: ‘adv_len’ bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4641:12: note: (18) following ‘false’ branch... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:4646:23: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5187:30: note: (22) returning to ‘cmd_add_ext_adv_data’ from ‘parse_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5187:28: note: (23) following ‘true’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5143:66: note: (25) following ‘false’ branch (when ‘opt == -1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5209:14: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5213:12: note: (27) following ‘false’ branch (when ‘argc == 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5218:12: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5218:12: note: (29) following ‘false’ branch (when ‘uuid_bytes == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5221:20: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5229:12: note: (31) following ‘false’ branch (when ‘cp’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5232:22: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5236:12: note: (33) following ‘false’ branch (when ‘uuid_bytes == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5242:12: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5242:12: note: (35) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5243:17: note: (36) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/mgmt.c:5243:17: note: (37) use of uninitialized value ‘adv_data’ here <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-mgmt.lo `test -f 'src/shared/mgmt.c' || echo './'`src/shared/mgmt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mgmt.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-mgmt.o gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o client/gatt.o client/gatt.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-ringbuf.lo `test -f 'src/shared/ringbuf.c' || echo './'`src/shared/ringbuf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ringbuf.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-ringbuf.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-crypto.lo `test -f 'src/shared/crypto.c' || echo './'`src/shared/crypto.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/crypto.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-crypto.o /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:724:6: note: (1) entry to 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:731:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (4) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (1) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (2) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (4) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:852:13: note: (1) entry to 'sef_k1' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:859:14: note: (2) calling 'aes_cmac_be' from 'sef_k1' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (3) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (6) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (7) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (10) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (11) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (12) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:897:6: note: (1) entry to 'bt_crypto_sef' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:907:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:911:14: note: (3) inlined call to 'sef_s1' from 'bt_crypto_sef' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:822:16: note: (4) inlined call to 'aes_cmac_zero' from 'sef_s1' <--[gcc] In function 'aes_cmac_zero', inlined from 'sef_s1' at src/shared/crypto.c:822:9, inlined from 'bt_crypto_sef' at src/shared/crypto.c:911:7: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:794:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:796:16: note: (6) calling 'aes_cmac_be' from 'bt_crypto_sef' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (7) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (8) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (10) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (11) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (14) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (15) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (16) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:935:6: note: (1) entry to 'bt_crypto_sirk' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:943:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:946:25: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:950:14: note: (4) calling 'bt_crypto_gatt_hash' from 'bt_crypto_sirk' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:724:6: note: (5) entry to 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:731:12: note: (6) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:734:14: note: (8) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (9) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (12) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (13) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (14) '*crypto.cmac_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.ecb_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:785:6: note: (1) entry to 'bt_crypto_sih' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:788:16: note: (2) calling 'bt_crypto_ah' from 'bt_crypto_sih' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:422:6: note: (3) entry to 'bt_crypto_ah' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:428:12: note: (4) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:432:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:436:14: note: (6) calling 'bt_crypto_e' from 'bt_crypto_ah' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:357:6: note: (7) entry to 'bt_crypto_e' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:363:12: note: (8) following 'false' branch (when 'crypto' is non-NULL)... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:367:9: note: (10) inlined call to 'swap_buf' from 'bt_crypto_e' <--[gcc] In function 'swap_buf', inlined from 'bt_crypto_e' at src/shared/crypto.c:367:2: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (11) following 'true' branch (when 'i != 16')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:259:39: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (13) following 'false' branch (when 'i == 16')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:369:14: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:369:14: note: (15) calling 'alg_new' from 'bt_crypto_e' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (16) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (17) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (19) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (20) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (21) '*crypto.ecb_aes' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:697:6: note: (1) entry to 'bt_crypto_g2' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:706:14: note: (2) calling 'aes_cmac' from 'bt_crypto_g2' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:619:13: note: (3) entry to 'aes_cmac' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:624:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:627:9: note: (6) inlined call to 'swap_buf' from 'aes_cmac' <--[gcc] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:627:2: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (7) following 'true' branch (when 'i != 16')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:259:39: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (9) following 'false' branch (when 'i == 16')... <--[gcc] In function 'alg_new': cc1: note: (10) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:628:9: note: (11) inlined call to 'swap_buf' from 'aes_cmac' <--[gcc] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:628:2: /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:258:23: note: (12) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:259:39: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c: In function 'alg_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:630:14: note: (14) calling 'aes_cmac_be' from 'aes_cmac' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:589:13: note: (15) entry to 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:595:12: note: (16) following 'false' branch (when 'msg_len <= 80')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:598:14: note: (18) calling 'alg_new' from 'aes_cmac_be' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:206:12: note: (19) entry to 'alg_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:208:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (22) stream socket marked as passive here via 'listen' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (23) when 'accept' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/crypto.c:212:16: note: (24) '*crypto.cmac_aes' leaks here <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-hci.lo `test -f 'src/shared/hci.c' || echo './'`src/shared/hci.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/hci.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-hci.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-hci-crypto.lo `test -f 'src/shared/hci-crypto.c' || echo './'`src/shared/hci-crypto.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/hci-crypto.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-hci-crypto.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gdbus/client.lo gdbus/client.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c gdbus/client.c -fPIC -DPIC -o gdbus/.libs/client.o In file included from /usr/include/glib-2.0/glib.h:52, <--[gcc] from /builddir/build/BUILD/bluez-5.75/gdbus/client.c:18: <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c: In function 'g_dbus_proxy_lookup': <--[gcc] /usr/include/glib-2.0/glib/ghash.h:175:30: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:453:21: note: in expansion of macro 'g_str_equal' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1089:13: note: (1) entry to 'parse_interfaces.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1099:54: note: (2) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1103:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1105:20: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1108:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1111:17: note: (6) calling 'parse_properties' from 'parse_interfaces.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1060:13: note: (7) entry to 'parse_properties' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1065:12: note: (8) following 'false' branch (when the strings are non-equal)... <--[gcc] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1068:13: note: in expansion of macro 'g_str_equal' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1068:12: note: (10) following 'false' branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1071:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:1071:17: note: (12) calling 'g_dbus_proxy_lookup' from 'parse_properties' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:437:13: note: (13) entry to 'g_dbus_proxy_lookup' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:442:12: note: (14) following 'false' branch (when 'interface' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:445:18: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:445:18: note: (16) following 'false' branch (when 'index' is NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:445:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:445:56: note: (18) following 'true' branch (when 'l' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:446:29: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:447:43: note: (20) calling 'g_dbus_proxy_get_interface' from 'g_dbus_proxy_lookup' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:691:13: note: (21) entry to 'g_dbus_proxy_get_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:693:12: note: (22) following 'true' branch (when 'proxy' is NULL)... <--[gcc] cc1: note: (23) ...to here /builddir/build/BUILD/bluez-5.75/gdbus/client.c:447:43: note: (24) returning to 'g_dbus_proxy_lookup' from 'g_dbus_proxy_get_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:448:42: note: (25) calling 'g_dbus_proxy_get_path' from 'g_dbus_proxy_lookup' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:683:13: note: (26) entry to 'g_dbus_proxy_get_path' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:685:12: note: (27) following 'true' branch (when 'proxy' is NULL)... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/bluez-5.75/gdbus/client.c:448:42: note: (29) returning to 'g_dbus_proxy_lookup' from 'g_dbus_proxy_get_path' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:450:20: note: (30) following 'false' branch (when 'index' is NULL)... <--[gcc] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:453:21: note: in expansion of macro 'g_str_equal' <--[gcc] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (32) argument 1 ('g_dbus_proxy_get_interface(proxy)') NULL where non-null expected <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/client.c:453:21: note: in expansion of macro 'g_str_equal' <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/gdbus/client.c:17: <--[gcc] /usr/include/string.h:156:12: note: argument 1 of 'strcmp' must be non-null <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-pcap.lo `test -f 'src/shared/pcap.c' || echo './'`src/shared/pcap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/pcap.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-pcap.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-uhid.lo `test -f 'src/shared/uhid.c' || echo './'`src/shared/uhid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/uhid.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-uhid.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gdbus/watch.lo gdbus/watch.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c gdbus/watch.c -fPIC -DPIC -o gdbus/.libs/watch.o /builddir/build/BUILD/bluez-5.75/gdbus/watch.c:204:3: warning: Attempt to free released memory [unix.Malloc] <--[clang] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-btsnoop.lo `test -f 'src/shared/btsnoop.c' || echo './'`src/shared/btsnoop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/btsnoop.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-btsnoop.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gdbus/object.lo gdbus/object.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c gdbus/object.c -fPIC -DPIC -o gdbus/.libs/object.o /builddir/build/BUILD/bluez-5.75/gdbus/object.c: In function 'invalidate_parent_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:696:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1832:10: note: (1) entry to 'g_dbus_detach_object_manager' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1834:14: note: (2) calling 'g_dbus_unregister_interface' from 'g_dbus_detach_object_manager' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1379:10: note: (3) entry to 'g_dbus_unregister_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1384:12: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1387:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1387:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1391:18: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1391:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1394:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1394:13: note: (10) calling 'remove_interface' from 'g_dbus_unregister_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:647:17: note: (11) entry to 'remove_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:651:17: note: (12) inlined call to 'find_interface' from 'remove_interface' <--[gcc] In function 'find_interface', inlined from 'remove_interface' at gdbus/object.c:651:10: /builddir/build/BUILD/bluez-5.75/gdbus/object.c:596:12: note: (13) following 'false' branch (when 'name' is non-NULL)... <--[gcc] In function 'invalidate_parent_data': cc1: note: (14) ...to here /builddir/build/BUILD/bluez-5.75/gdbus/object.c:651:17: note: (15) inlined call to 'find_interface' from 'remove_interface' <--[gcc] In function 'find_interface', inlined from 'remove_interface' at gdbus/object.c:651:10: cc1: note: (16) calling 'find_interface.part.0' from 'remove_interface' /builddir/build/BUILD/bluez-5.75/gdbus/object.c: In function 'invalidate_parent_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:591:31: note: (17) entry to 'find_interface.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:599:33: note: (18) following 'true' branch (when 'list' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:600:40: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:651:17: note: (20) inlined call to 'find_interface' from 'remove_interface' <--[gcc] In function 'find_interface', inlined from 'remove_interface' at gdbus/object.c:651:10: cc1: note: (21) returning to 'remove_interface' from 'find_interface.part.0' /builddir/build/BUILD/bluez-5.75/gdbus/object.c: In function 'invalidate_parent_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1394:13: note: (22) returning to 'g_dbus_unregister_interface' from 'remove_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1394:12: note: (23) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1397:20: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1400:9: note: (25) calling 'object_path_unref' from 'g_dbus_unregister_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1267:13: note: (26) entry to 'object_path_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1271:12: note: (27) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1275:18: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1275:12: note: (29) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1278:13: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1280:12: note: (31) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1283:9: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1283:9: note: (33) calling 'remove_interface' from 'object_path_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:647:17: note: (34) entry to 'remove_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:651:17: note: (35) inlined call to 'find_interface' from 'remove_interface' <--[gcc] In function 'find_interface', inlined from 'remove_interface' at gdbus/object.c:651:10: /builddir/build/BUILD/bluez-5.75/gdbus/object.c:596:12: note: (36) following 'false' branch (when 'name' is non-NULL)... <--[gcc] In function 'invalidate_parent_data': cc1: note: (37) ...to here /builddir/build/BUILD/bluez-5.75/gdbus/object.c:652:12: note: (38) following 'true' branch... <--[gcc] cc1: note: (39) ...to here /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1283:9: note: (40) returning to 'object_path_unref' from 'remove_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1284:9: note: (41) calling 'remove_interface' from 'object_path_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:647:17: note: (42) entry to 'remove_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:651:17: note: (43) inlined call to 'find_interface' from 'remove_interface' <--[gcc] In function 'find_interface', inlined from 'remove_interface' at gdbus/object.c:651:10: /builddir/build/BUILD/bluez-5.75/gdbus/object.c:596:12: note: (44) following 'false' branch (when 'name' is non-NULL)... <--[gcc] In function 'invalidate_parent_data': cc1: note: (45) ...to here /builddir/build/BUILD/bluez-5.75/gdbus/object.c:652:12: note: (46) following 'true' branch... <--[gcc] cc1: note: (47) ...to here /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1284:9: note: (48) returning to 'object_path_unref' from 'remove_interface' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:1286:9: note: (49) calling 'invalidate_parent_data' from 'object_path_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:689:29: note: (50) entry to 'invalidate_parent_data' <--[gcc] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:56, <--[gcc] from /builddir/build/BUILD/bluez-5.75/gdbus/object.c:18: <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (51) inlined call to 'g_strdup_inline' from 'invalidate_parent_data' <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:695:23: note: in expansion of macro 'g_strdup' <--[gcc] In function 'g_strdup_inline', inlined from 'invalidate_parent_data' at gdbus/object.c:695:16: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (52) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c: In function 'invalidate_parent_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:696:17: note: (53) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gdbus/object.c:696:17: note: (54) argument 1 ('<unknown>') NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/gdbus/object.c:16: <--[gcc] /usr/include/string.h:273:14: note: argument 1 of 'strrchr' must be non-null <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-gatt-helpers.lo `test -f 'src/shared/gatt-helpers.c' || echo './'`src/shared/gatt-helpers.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-helpers.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-gatt-helpers.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-hfp.lo `test -f 'src/shared/hfp.c' || echo './'`src/shared/hfp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/hfp.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-hfp.o gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o client/player.o client/player.c /builddir/build/BUILD/bluez-5.75/client/player.c: In function ‘transport_send_seq.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:4965:23: warning: ‘read’ on possibly invalid file descriptor ‘fd’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5087:13: note: (1) entry to ‘cmd_send_transport’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5096:23: note: (2) following ‘true’ branch (when ‘i < argc’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5097:67: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5099:20: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5104:29: note: (5) inlined call to ‘find_transport’ from ‘cmd_send_transport’ <--[gcc] In function ‘find_transport’, inlined from ‘cmd_send_transport’ at client/player.c:5104:15: /builddir/build/BUILD/bluez-5.75/client/player.c:4821:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c: In function ‘transport_send_seq.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5105:20: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5110:30: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5110:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5115:23: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5115:20: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5122:17: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5127:20: note: (13) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/client/player.c:20: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5130:66: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5131:31: note: (15) calling ‘transport_send’ from ‘cmd_send_transport’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5052:12: note: (16) entry to ‘transport_send’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5060:12: note: (17) following ‘true’ branch (when ‘qos’ is NULL)... <--[gcc] cc1: note: (18) ...to here /builddir/build/BUILD/bluez-5.75/client/player.c:5061:24: note: (19) inlined call to ‘transport_send_seq’ from ‘transport_send’ <--[gcc] In function ‘transport_send_seq’, inlined from ‘transport_send’ at client/player.c:5061:10: cc1: note: (20) calling ‘transport_send_seq.part.0’ from ‘transport_send’ /builddir/build/BUILD/bluez-5.75/client/player.c: In function ‘transport_send_seq.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:4948:12: note: (21) entry to ‘transport_send_seq.part.0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:4957:12: note: (22) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] cc1: note: (23) ...to here /builddir/build/BUILD/bluez-5.75/client/player.c:4960:23: note: (24) following ‘true’ branch (when ‘i < num’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:4962:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:4965:23: note: (26) ‘fd’ could be invalid <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c: In function ‘cmd_send_transport’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5101:32: warning: leak of file descriptor ‘fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5087:13: note: (1) entry to ‘cmd_send_transport’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5096:23: note: (2) following ‘true’ branch (when ‘i < argc’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5097:67: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5099:20: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5104:29: note: (5) inlined call to ‘find_transport’ from ‘cmd_send_transport’ <--[gcc] In function ‘find_transport’, inlined from ‘cmd_send_transport’ at client/player.c:5104:15: /builddir/build/BUILD/bluez-5.75/client/player.c:4821:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c: In function ‘cmd_send_transport’: <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5105:20: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5110:30: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5110:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5115:23: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5115:20: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5116:45: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5116:30: note: (13) calling ‘open_file’ from ‘cmd_send_transport’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:4901:12: note: (14) entry to ‘open_file’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:4907:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:4910:22: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:4910:22: note: (17) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5116:30: note: (18) returning to ‘cmd_send_transport’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5117:28: note: (19) assuming ‘open_file(*<unknown>, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5117:28: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5122:17: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5133:31: note: (22) calling ‘transport_send’ from ‘cmd_send_transport’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5052:12: note: (23) entry to ‘transport_send’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5060:12: note: (24) following ‘false’ branch (when ‘qos’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5063:22: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5133:31: note: (26) returning to ‘cmd_send_transport’ from ‘transport_send’ <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5135:20: note: (27) following ‘false’ branch (when ‘err >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5096:32: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/client/player.c:5101:32: note: (29) ‘fd’ leaks here; was opened at (17) <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-ecc.lo `test -f 'src/shared/ecc.c' || echo './'`src/shared/ecc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ecc.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-ecc.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-gap.lo `test -f 'src/shared/gap.c' || echo './'`src/shared/gap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gap.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-gap.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-log.lo `test -f 'src/shared/log.c' || echo './'`src/shared/log.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/log.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-log.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-bap-debug.lo `test -f 'src/shared/bap-debug.c' || echo './'`src/shared/bap-debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/bap-debug.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-bap-debug.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-gatt-server.lo `test -f 'src/shared/gatt-server.c' || echo './'`src/shared/gatt-server.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-server.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-gatt-server.o /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'read_by_grp_type_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:322:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:269:13: note: (1) entry to 'read_by_grp_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:275:19: note: (2) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:275:19: note: (3) capacity: 20 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:284:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:289:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:293:9: note: (6) calling 'get_uuid_le' from 'read_by_grp_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:168:13: note: (7) entry to 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:172:9: note: (8) following 'default:' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/att.h:11, <--[gcc] from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:19: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:175:24: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:293:9: note: (10) returning to 'read_by_grp_type_cb' from 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (11) calling 'gatt_log' from 'read_by_grp_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:295:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:257:13: note: (12) entry to 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:42: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (15) returning to 'read_by_grp_type_cb' from 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:295:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:297:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:304:12: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:304:12: note: (18) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:315:9: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:322:9: note: (20) use of uninitialized value 'type' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'read_by_type_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:531:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:494:13: note: (1) entry to 'read_by_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:500:19: note: (2) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:500:19: note: (3) capacity: 20 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:506:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:511:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:515:9: note: (6) calling 'get_uuid_le' from 'read_by_type_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:168:13: note: (7) entry to 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:172:9: note: (8) following 'default:' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:175:24: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:515:9: note: (10) returning to 'read_by_type_cb' from 'get_uuid_le' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:519:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:526:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:526:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:531:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:531:9: note: (15) use of uninitialized value 'type' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'prep_write_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1350:9: warning: use of possibly-NULL 'malloc((long unsigned int)length)' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1307:13: note: (1) entry to 'prep_write_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1318:12: note: (2) following 'false' branch (when 'length > 3')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1323:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1323:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1328:18: note: (5) inlined call to 'get_le16' from 'prep_write_cb' <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:26: <--[gcc] In function 'get_le16', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1328:11: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:26:27: note: in definition of macro 'le16_to_cpu' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:210:28: note: in expansion of macro 'get_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'prep_write_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1332:12: note: (7) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1337:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (9) calling 'gatt_log' from 'prep_write_cb' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1337:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:257:13: note: (10) entry to 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:261:42: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:46:9: note: (13) returning to 'prep_write_cb' from 'gatt_log' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1337:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1339:17: note: (14) inlined call to 'check_length' from 'prep_write_cb' <--[gcc] In function 'check_length', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1339:10: /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:812:12: note: (15) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:815:12: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:815:12: note: (17) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:818:20: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:818:12: note: (19) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c: In function 'prep_write_cb': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1343:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1344:12: note: (21) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1347:16: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1349:21: note: (23) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-server.c:1350:9: note: (24) argument 1 ('malloc((long unsigned int)length)') from (23) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-ad.lo `test -f 'src/shared/ad.c' || echo './'`src/shared/ad.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ad.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-ad.o /builddir/build/BUILD/bluez-5.75/src/shared/ad.c: In function 'ad_replace_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:394:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:366:9: note: (1) following 'default:' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:26: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:72:35: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:389:58: note: in expansion of macro 'UINT_TO_PTR' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:390:12: note: (3) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:391:29: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:393:34: note: (5) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:393:32: note: (6) '0' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:394:17: note: (7) argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/ad.c: In function 'bt_ad_add_manufacturer_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:847:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:835:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:838:22: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:838:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:72:35: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:842:49: note: in expansion of macro 'UINT_TO_PTR' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:843:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:844:29: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:846:34: note: (7) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:846:32: note: (8) '0' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:847:17: note: (9) argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/ad.c: In function 'bt_ad_add_service_data': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:983:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:972:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:975:22: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:975:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:978:20: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:979:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:980:29: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:982:34: note: (7) when 'realloc' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:982:32: note: (8) '0' is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ad.c:983:17: note: (9) argument 1 ('realloc(*<unknown>.data, len)') NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memcpy' must be non-null /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-att.lo `test -f 'src/shared/att.c' || echo './'`src/shared/att.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/att.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-att.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-mcp.lo `test -f 'src/shared/mcp.c' || echo './'`src/shared/mcp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mcp.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-mcp.o /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'mcp_send': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:586:17: warning: dereference of NULL 'mcp' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:578:21: note: (1) entry to 'mcp_send' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:580:30: note: (2) calling 'mcp_get_mcs' from 'mcp_send' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:580:30: note: (6) returning to 'mcp_send' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'mcp_send' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:111:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (11) returning to 'mcp_send' from 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:586:17: note: (12) dereference of NULL 'mcp' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_mp_name_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1008:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1003:13: note: (1) entry to 'bt_mcp_mp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1006:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_mp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1006:30: note: (6) returning to 'bt_mcp_mp_name_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1008:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_changed_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1026:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1021:13: note: (1) entry to 'bt_mcp_track_changed_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1024:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_changed_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1024:30: note: (6) returning to 'bt_mcp_track_changed_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1026:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_title_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1042:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1037:13: note: (1) entry to 'bt_mcp_track_title_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1040:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_title_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1040:30: note: (6) returning to 'bt_mcp_track_title_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1042:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_duration_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1060:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1055:13: note: (1) entry to 'bt_mcp_track_duration_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1058:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_duration_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1058:30: note: (6) returning to 'bt_mcp_track_duration_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1060:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_track_position_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1078:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1073:13: note: (1) entry to 'bt_mcp_track_position_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1076:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_position_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1076:30: note: (6) returning to 'bt_mcp_track_position_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1078:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_media_state_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1096:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1091:13: note: (1) entry to 'bt_mcp_media_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1094:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1094:30: note: (6) returning to 'bt_mcp_media_state_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1096:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_media_cp_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1114:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1109:13: note: (1) entry to 'bt_mcp_media_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1112:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1112:30: note: (6) returning to 'bt_mcp_media_cp_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1114:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_media_cp_op_supported_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1130:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1125:13: note: (1) entry to 'bt_mcp_media_cp_op_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1128:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_op_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1128:30: note: (6) returning to 'bt_mcp_media_cp_op_supported_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1130:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'bt_mcp_content_control_id_supported_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1149:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1144:13: note: (1) entry to 'bt_mcp_content_control_id_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1147:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_content_control_id_supported_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1147:30: note: (6) returning to 'bt_mcp_content_control_id_supported_attach' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1149:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c: In function 'foreach_mcs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1313:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1305:13: note: (1) entry to 'foreach_mcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1309:30: note: (2) calling 'mcp_get_mcs' from 'foreach_mcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1309:30: note: (6) returning to 'foreach_mcs_service' from 'mcp_get_mcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'foreach_mcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1311:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:111:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:33:9: note: (11) returning to 'foreach_mcs_service' from 'mcp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1311:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/mcp.c:1313:22: note: (12) dereference of NULL 'mcp_get_mcs(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-micp.lo `test -f 'src/shared/micp.c' || echo './'`src/shared/micp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/micp.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-micp.o /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'micp_get_session': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:271:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:258:24: note: (1) entry to 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:270:16: note: (2) calling 'bt_micp_new' from 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:583:17: note: (3) entry to 'bt_micp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:588:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:270:16: note: (6) returning to 'micp_get_session' from 'bt_micp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:271:19: note: (7) dereference of NULL 'bt_micp_new(db, 0)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_muted': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:339:21: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:323:16: note: (1) entry to 'mics_muted' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:331:15: note: (2) inlined call to 'micp_get_mdb' from 'mics_muted' <--[gcc] In function 'micp_get_mdb', inlined from 'mics_muted' at src/shared/micp.c:331:8: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:97:12: note: (3) following 'false' branch (when 'micp' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:100:17: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_muted': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:332:12: note: (5) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:337:22: note: (6) inlined call to 'mdb_get_mute_state' from 'mics_muted' <--[gcc] In function 'mdb_get_mute_state', inlined from 'mics_muted' at src/shared/micp.c:337:15: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:12: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_muted': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:339:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:339:21: note: (10) dereference of NULL '<unknown>' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:417:13: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:368:13: note: (1) entry to 'mics_mute_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:375:32: note: (2) calling 'micp_get_session' from 'mics_mute_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:258:24: note: (3) entry to 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:266:28: note: (4) calling 'bt_micp_get_att' from 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:205:16: note: (5) entry to 'bt_micp_get_att' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:207:12: note: (6) following 'false' branch (when 'micp' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:210:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:266:28: note: (8) returning to 'micp_get_session' from 'bt_micp_get_att' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:375:32: note: (9) returning to 'mics_mute_write' from 'micp_get_session' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:387:12: note: (10) following 'false' branch (when 'offset == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:393:12: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:393:12: note: (12) following 'false' branch (when 'len != 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:400:19: note: (13) inlined call to 'iov_pull_mem' from 'mics_mute_write' <--[gcc] In function 'iov_pull_mem', inlined from 'mics_mute_write' at src/shared/micp.c:400:12: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:84:15: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:86:12: note: (15) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:89:23: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:402:12: note: (17) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:410:15: note: (18) inlined call to 'micp_get_mdb' from 'mics_mute_write' <--[gcc] In function 'micp_get_mdb', inlined from 'mics_mute_write' at src/shared/micp.c:410:8: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:97:12: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:97:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:100:17: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:411:12: note: (22) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:416:22: note: (23) inlined call to 'mdb_get_mute_state' from 'mics_mute_write' <--[gcc] In function 'mdb_get_mute_state', inlined from 'mics_mute_write' at src/shared/micp.c:416:15: /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:17: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:108:12: note: (25) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'mics_mute_write': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:417:13: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:417:13: note: (27) dereference of NULL '<unknown>' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c: In function 'foreach_mics_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:782:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:776:13: note: (1) entry to 'foreach_mics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:780:32: note: (2) calling 'micp_get_mics' from 'foreach_mics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:114:17: note: (3) entry to 'micp_get_mics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:116:12: note: (4) following 'true' branch (when 'micp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:780:32: note: (6) returning to 'foreach_mics_service' from 'micp_get_mics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/micp.c:782:23: note: (7) dereference of NULL 'micp_get_mics(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-csip.lo `test -f 'src/shared/csip.c' || echo './'`src/shared/csip.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/csip.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-csip.o /builddir/build/BUILD/bluez-5.75/src/shared/csip.c: In function 'foreach_csis_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:605:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:599:13: note: (1) entry to 'foreach_csis_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:603:32: note: (2) calling 'csip_get_csis' from 'foreach_csis_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:444:24: note: (3) entry to 'csip_get_csis' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:446:12: note: (4) following 'true' branch (when 'csip' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:603:32: note: (6) returning to 'foreach_csis_service' from 'csip_get_csis' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/csip.c:605:23: note: (7) dereference of NULL 'csip_get_csis(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o lib/sdp.lo lib/sdp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lib/sdp.c -fPIC -DPIC -o lib/.libs/sdp.o In function 'sdp_connect_l2cap': cc1: warning: leak of file descriptor 'socket(31, sockflags, 0)' [CWE-775] [-Wanalyzer-fd-leak] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (2) when 'socket' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4696:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4698:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: note: (5) when 'connect' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4728:20: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:29: note: (9) ...to here <--[gcc] cc1: note: (10) 'socket(31, sockflags, 0)' leaks here cc1: warning: leak of file descriptor 'socket(31, sockflags, 0)' [CWE-775] [-Wanalyzer-fd-leak] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (2) when 'socket' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4696:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4698:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: note: (5) when 'connect' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4728:20: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:29: note: (9) ...to here <--[gcc] cc1: note: (10) 'socket(31, sockflags, 0)' leaks here cc1: warning: leak of file descriptor 'socket(31, sockflags, 0)' [CWE-775] [-Wanalyzer-fd-leak] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (2) when 'socket' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4696:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4698:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: note: (5) when 'connect' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4728:20: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:29: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4733:33: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4733:33: note: (11) ...to here <--[gcc] cc1: note: (12) 'socket(31, sockflags, 0)' leaks here cc1: warning: leak of file descriptor 'socket(31, sockflags, 0)' [CWE-775] [-Wanalyzer-fd-leak] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (2) when 'socket' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4696:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4698:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4707:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4708:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (7) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (8) when 'bind' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:20: note: (9) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4713:12: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4713:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4719:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4719:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4723:19: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: note: (15) when 'connect' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4728:20: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (18) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:29: note: (19) ...to here <--[gcc] cc1: note: (20) 'socket(31, sockflags, 0)' leaks here cc1: warning: leak of file descriptor 'socket(31, sockflags, 0)' [CWE-775] [-Wanalyzer-fd-leak] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (2) when 'socket' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4696:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4698:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4707:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4708:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (7) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (8) when 'bind' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:20: note: (9) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4713:12: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4713:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4719:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4719:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4723:19: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: note: (15) when 'connect' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4728:20: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (18) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:29: note: (19) ...to here <--[gcc] cc1: note: (20) 'socket(31, sockflags, 0)' leaks here cc1: warning: leak of file descriptor 'socket(31, sockflags, 0)' [CWE-775] [-Wanalyzer-fd-leak] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (2) when 'socket' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4696:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4698:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4707:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4708:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (7) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (8) when 'bind' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:20: note: (9) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4713:12: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4713:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4719:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4719:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4723:19: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: note: (15) when 'connect' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4728:20: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (18) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:29: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4733:33: note: (20) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4733:33: note: (21) ...to here <--[gcc] cc1: note: (22) 'socket(31, sockflags, 0)' leaks here /builddir/build/BUILD/bluez-5.75/lib/sdp.c: In function 'sdp_attr_add': <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:582:19: warning: dereference of NULL 'd' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4943:6: note: (1) entry to 'sdp_add_lang_attr' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4952:17: note: (2) calling 'sdp_list_append' from 'sdp_add_lang_attr' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:1727:13: note: (3) entry to 'sdp_list_append' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:1731:12: note: (4) following 'true' branch (when 'n' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4952:17: note: (6) returning to 'sdp_add_lang_attr' from 'sdp_list_append' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4953:9: note: (7) calling 'sdp_set_lang_attr' from 'sdp_add_lang_attr' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2424:5: note: (8) entry to 'sdp_set_lang_attr' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2427:41: note: (9) inlined call to 'sdp_list_len' from 'sdp_set_lang_attr' <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/lib/sdp.c:37: <--[gcc] In function 'sdp_list_len', inlined from 'sdp_set_lang_attr' at lib/sdp.c:2427:34: /builddir/build/BUILD/bluez-5.75/lib/sdp_lib.h:40:16: note: (10) following 'false' branch (when 'list' is NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c: In function 'sdp_attr_add': <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2431:25: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2432:12: note: (12) following 'false' branch (when 'dtds' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2435:18: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2436:12: note: (14) following 'false' branch (when 'values' is non-NULL)... <--[gcc] cc1: note: (15) ...to here /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2441:23: note: (16) following 'false' branch (when 'p' is NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2457:12: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2457:12: note: (18) following 'true' branch (when 'status == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2458:35: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2458:35: note: (20) calling 'sdp_seq_alloc' from 'sdp_set_lang_attr' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:530:13: note: (21) entry to 'sdp_seq_alloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:535:23: note: (22) following 'false' branch (when 'i >= len')... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:555:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:555:16: note: (24) calling 'sdp_data_alloc' from 'sdp_seq_alloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:467:13: note: (25) entry to 'sdp_data_alloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:471:9: note: (26) following 'default:' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:486:16: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:486:16: note: (28) calling 'sdp_data_alloc_with_length' from 'sdp_data_alloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:346:13: note: (29) entry to 'sdp_data_alloc_with_length' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:352:12: note: (30) following 'true' branch... <--[gcc] cc1: note: (31) ...to here /builddir/build/BUILD/bluez-5.75/lib/sdp.c:486:16: note: (32) returning to 'sdp_data_alloc' from 'sdp_data_alloc_with_length' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:555:16: note: (33) returning to 'sdp_seq_alloc' from 'sdp_data_alloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2458:35: note: (34) returning to 'sdp_set_lang_attr' from 'sdp_seq_alloc' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:2459:17: note: (35) calling 'sdp_attr_add' from 'sdp_set_lang_attr' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:575:5: note: (36) entry to 'sdp_attr_add' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:579:12: note: (37) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:582:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:582:19: note: (39) dereference of NULL 'd' <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c: In function 'sdp_connect_local': <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4661:16: warning: leak of file descriptor 'socket(1, 524289, 0)' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4653:25: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4653:25: note: (2) when 'socket' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4654:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4656:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4661:16: note: (5) when 'connect' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4661:16: note: (6) 'socket(1, 524289, 0)' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c: In function 'sdp_connect_l2cap': <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:20: warning: leak of file descriptor 'socket(31, sockflags, 0)' [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (2) when 'socket' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4696:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4698:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4707:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4708:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (7) when 'bind' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:20: note: (8) 'socket(31, sockflags, 0)' leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: warning: 'connect' on file descriptor '*session.sock' in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (2) when 'socket' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4696:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4698:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4707:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4708:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (7) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (8) when 'bind' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:20: note: (9) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4713:12: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4713:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4719:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4719:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4723:19: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: note: (15) 'connect' expects a new socket file descriptor but '*session.sock' is bound <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: warning: 'connect' on file descriptor 'socket(31, sockflags, 0)' in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4695:25: note: (2) when 'socket' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4696:12: note: (3) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4698:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4707:12: note: (5) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4708:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (7) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:21: note: (8) when 'bind' succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4709:20: note: (9) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4713:12: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4713:12: note: (11) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4719:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4719:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4723:19: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: note: (15) when 'connect' fails <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4728:20: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:20: note: (18) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4730:29: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4733:33: note: (20) following 'true' branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.75/lib/sdp.c:4727:27: note: (22) 'connect' expects a new socket file descriptor but 'socket(31, sockflags, 0)' is bound <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/sdp.c: internal warning: child 9217 timed out after 30s <--[clang] cswrap: error: child 9217 (/usr/bin/clang) terminated by signal 15 (timed out) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-ccp.lo `test -f 'src/shared/ccp.c' || echo './'`src/shared/ccp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/ccp.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-ccp.o /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_incom_call_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:661:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:654:13: note: (1) entry to 'bt_ccp_incom_call_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:657:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_incom_call_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:657:30: note: (6) returning to 'bt_ccp_incom_call_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_incom_call_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_incom_call_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:661:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_call_state_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:683:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:676:13: note: (1) entry to 'bt_ccp_call_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:679:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:679:30: note: (6) returning to 'bt_ccp_call_state_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_state_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_state_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:683:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_call_list_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:705:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:698:13: note: (1) entry to 'bt_ccp_call_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:701:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:701:30: note: (6) returning to 'bt_ccp_call_list_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_list_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:705:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_name_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:727:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:720:13: note: (1) entry to 'bt_ccp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:723:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:723:30: note: (6) returning to 'bt_ccp_name_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_name_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:727:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_term_reason_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:749:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:742:13: note: (1) entry to 'bt_ccp_term_reason_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:745:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_term_reason_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:745:30: note: (6) returning to 'bt_ccp_term_reason_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_term_reason_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_term_reason_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:749:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_status_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:770:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:763:13: note: (1) entry to 'bt_ccp_status_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:766:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_status_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:766:30: note: (6) returning to 'bt_ccp_status_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_status_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_status_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:770:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_uci_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:792:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:785:13: note: (1) entry to 'bt_ccp_uci_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:788:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uci_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:788:30: note: (6) returning to 'bt_ccp_uci_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uci_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uci_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:792:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_technology_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:813:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:806:13: note: (1) entry to 'bt_ccp_technology_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:809:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_technology_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:809:30: note: (6) returning to 'bt_ccp_technology_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_technology_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_technology_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:813:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_strength_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:833:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:826:13: note: (1) entry to 'bt_ccp_strength_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:829:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_strength_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:829:30: note: (6) returning to 'bt_ccp_strength_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_strength_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_strength_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:833:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_ccid_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:853:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:846:13: note: (1) entry to 'bt_ccp_ccid_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:849:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ccid_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:849:30: note: (6) returning to 'bt_ccp_ccid_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ccid_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ccid_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:853:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_tar_uri_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:872:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:865:13: note: (1) entry to 'bt_ccp_tar_uri_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:868:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_tar_uri_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:868:30: note: (6) returning to 'bt_ccp_tar_uri_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_tar_uri_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_tar_uri_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:872:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_ctrl_point_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:893:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:886:13: note: (1) entry to 'bt_ccp_ctrl_point_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:889:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_point_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:889:30: note: (6) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_point_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:893:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_ctrl_opcode_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:913:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:906:13: note: (1) entry to 'bt_ccp_ctrl_opcode_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:909:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_opcode_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:909:30: note: (6) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_opcode_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:913:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_friendly_name_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:933:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:926:13: note: (1) entry to 'bt_ccp_friendly_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:929:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_friendly_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:929:30: note: (6) returning to 'bt_ccp_friendly_name_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_friendly_name_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_friendly_name_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:933:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_signal_intrvl_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:953:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:946:13: note: (1) entry to 'bt_ccp_signal_intrvl_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:949:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_signal_intrvl_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:949:30: note: (6) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_signal_intrvl_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:953:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'bt_ccp_uri_list_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:973:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:966:13: note: (1) entry to 'bt_ccp_uri_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:969:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uri_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:969:30: note: (6) returning to 'bt_ccp_uri_list_attach' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uri_list_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:121:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uri_list_attach' from 'ccp_debug' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:973:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c: In function 'foreach_ccs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1129:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1123:13: note: (1) entry to 'foreach_ccs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1127:30: note: (2) calling 'ccp_get_ccs' from 'foreach_ccs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1127:30: note: (6) returning to 'foreach_ccs_service' from 'ccp_get_ccs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/ccp.c:1129:22: note: (7) dereference of NULL 'ccp_get_ccs(user_data)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-gatt-db.lo `test -f 'src/shared/gatt-db.c' || echo './'`src/shared/gatt-db.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-db.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-gatt-db.o In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:20: <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:319:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:311:9: note: (1) following 'case 10240 ... 10243:' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:312:9: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:318:24: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:319:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:319:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:331:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:311:9: note: (1) following 'case 10497 ... 10501:' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:323:9: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:330:24: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:331:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[gcc] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:331:3: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:259:9: note: in expansion of macro 'put_unaligned' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c: In function 'read_ext_prop_value': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1831:37: warning: dereference of NULL 'value' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1834:13: note: (1) entry to 'read_ext_prop.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1849:9: note: (2) calling 'gatt_db_attribute_read' from 'read_ext_prop.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2031:6: note: (3) entry to 'gatt_db_attribute_read' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2037:12: note: (4) following 'false' branch... <--[gcc] cc1: note: (5) ...to here cc1: note: (6) calling 'gatt_db_attribute_read.part.0' from 'gatt_db_attribute_read' /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2031:6: note: (7) entry to 'gatt_db_attribute_read.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2046:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2072:52: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2072:52: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2074:38: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:2074:9: note: (12) calling 'read_ext_prop_value' from 'gatt_db_attribute_read.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1822:13: note: (13) entry to 'read_ext_prop_value' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1828:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1831:37: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-db.c:1831:37: note: (16) dereference of NULL 'value' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-io-glib.lo `test -f 'src/shared/io-glib.c' || echo './'`src/shared/io-glib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/io-glib.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-io-glib.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-timeout-glib.lo `test -f 'src/shared/timeout-glib.c' || echo './'`src/shared/timeout-glib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/timeout-glib.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-timeout-glib.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-mainloop-glib.lo `test -f 'src/shared/mainloop-glib.c' || echo './'`src/shared/mainloop-glib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mainloop-glib.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-mainloop-glib.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-mainloop-notify.lo `test -f 'src/shared/mainloop-notify.c' || echo './'`src/shared/mainloop-notify.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/mainloop-notify.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-mainloop-notify.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-bass.lo `test -f 'src/shared/bass.c' || echo './'`src/shared/bass.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/bass.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-bass.o /builddir/build/BUILD/bluez-5.75/src/shared/bass.c: In function 'bass_build_bcast_src': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:294:17: warning: dereference of NULL 'bad_code' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1295:13: note: (1) entry to 'read_bcast_recv_state.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1314:13: note: (2) calling 'bass_build_bcast_src' from 'read_bcast_recv_state.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:135:12: note: (3) entry to 'bass_build_bcast_src' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:158:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:163:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:163:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:168:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:169:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:174:14: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:174:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:179:14: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:179:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:184:14: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:184:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:189:14: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:189:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:194:17: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:194:12: note: (18) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:203:14: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:203:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:208:27: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:208:12: note: (22) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:209:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:278:12: note: (24) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:285:23: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:293:12: note: (26) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:294:17: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:294:17: note: (28) dereference of NULL 'bad_code' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c: In function 'bass_get_session.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:755:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:741:24: note: (1) entry to 'bass_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:754:16: note: (2) calling 'bt_bass_new' from 'bass_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1640:17: note: (3) entry to 'bt_bass_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:1646:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:754:16: note: (6) returning to 'bass_get_session.part.0' from 'bt_bass_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bass.c:755:19: note: (7) dereference of NULL 'bt_bass_new(db, 0, adapter_bdaddr)' <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-vcp.lo `test -f 'src/shared/vcp.c' || echo './'`src/shared/vcp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/vcp.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-vcp.o /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'vcp_get_session.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:501:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:488:23: note: (1) entry to 'vcp_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:500:15: note: (2) calling 'bt_vcp_new' from 'vcp_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1909:16: note: (3) entry to 'bt_vcp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1914:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:500:15: note: (6) returning to 'vcp_get_session.part.0' from 'bt_vcp_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:501:18: note: (7) dereference of NULL 'bt_vcp_new(db, 0)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'aics_new': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1721:9: warning: use of possibly-NULL 'ip_descr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1713:12: note: (1) following 'false' branch (when 'db' is non-NULL)... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:22: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1716:16: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1720:20: note: (3) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1721:9: note: (4) argument 1 ('ip_descr') from (3) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'vcp_audio_loc_notify': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1969:27: warning: dereference of possibly-NULL 'vocs_audio_loc_n' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1968:38: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:1969:27: note: (2) 'vocs_audio_loc_n' could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'read_vocs_audio_descriptor.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2131:9: warning: use of possibly-NULL 'vocs_ao_dec_r' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2130:25: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2131:9: note: (2) argument 1 ('vocs_ao_dec_r') from (1) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'read_aics_audio_ip_description.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2535:9: warning: use of possibly-NULL 'ip_descrptn' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2534:23: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2535:9: note: (2) argument 1 ('ip_descrptn') from (1) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'aics_audio_ip_desr_notify': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2555:9: warning: use of possibly-NULL 'aud_ip_desr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2554:23: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2555:9: note: (2) argument 1 ('aud_ip_desr') from (1) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'foreach_vcs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2691:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2685:13: note: (1) entry to 'foreach_vcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2689:30: note: (2) calling 'vcp_get_vcs' from 'foreach_vcs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:329:23: note: (3) entry to 'vcp_get_vcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:331:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2689:30: note: (6) returning to 'foreach_vcs_service' from 'vcp_get_vcs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2691:22: note: (7) dereference of NULL 'vcp_get_vcs(user_data)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'foreach_vocs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2704:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2698:13: note: (1) entry to 'foreach_vocs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2702:32: note: (2) calling 'vcp_get_vocs' from 'foreach_vocs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:343:24: note: (3) entry to 'vcp_get_vocs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:345:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2702:32: note: (6) returning to 'foreach_vocs_service' from 'vcp_get_vocs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2704:23: note: (7) dereference of NULL 'vcp_get_vocs(user_data)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c: In function 'foreach_aics_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2717:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2711:13: note: (1) entry to 'foreach_aics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2715:32: note: (2) calling 'vcp_get_aics' from 'foreach_aics_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:357:24: note: (3) entry to 'vcp_get_aics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:359:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2715:32: note: (6) returning to 'foreach_aics_service' from 'vcp_get_aics' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/vcp.c:2717:23: note: (7) dereference of NULL 'vcp_get_aics(user_data)' <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/display.o monitor/display.c /builddir/build/BUILD/bluez-5.75/monitor/display.c: In function ‘open_pager’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:164:1: warning: leak of file descriptor ‘fd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:100:6: note: (1) entry to ‘open_pager’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:106:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:109:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:115:15: note: (4) when ‘isatty’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:115:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:118:9: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:13: note: (7) opened here as read-write <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:13: note: (8) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:125:22: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:128:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:134:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:134:12: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:13: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:163:9: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:163:9: note: (17) calling ‘close_pipe’ from ‘open_pager’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:75:13: note: (18) entry to ‘close_pipe’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:77:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:79:14: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:79:12: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:81:1: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:163:9: note: (23) returning to ‘open_pager’ from ‘close_pipe’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:164:1: note: (24) ‘fd[0]’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:164:1: warning: leak of file descriptor ‘fd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:100:6: note: (1) entry to ‘open_pager’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:106:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:109:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:115:15: note: (4) when ‘isatty’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:115:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:118:9: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:13: note: (7) opened here as read-write <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:13: note: (8) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:125:22: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:128:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:134:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:134:12: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:13: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:163:9: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:163:9: note: (17) calling ‘close_pipe’ from ‘open_pager’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:75:13: note: (18) entry to ‘close_pipe’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:77:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:79:14: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:79:12: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:81:1: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:163:9: note: (23) returning to ‘open_pager’ from ‘close_pipe’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:164:1: note: (24) ‘fd[1]’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:107:17: warning: leak of file descriptor ‘fd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:106:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:109:17: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:115:15: note: (3) when ‘isatty’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:115:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:118:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:125:22: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:134:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:12: note: (12) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:159:17: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:107:17: note: (14) ‘fd[0]’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:107:17: warning: leak of file descriptor ‘fd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:106:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:109:17: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:115:15: note: (3) when ‘isatty’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:115:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:118:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:125:22: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:134:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:12: note: (12) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:159:17: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:107:17: note: (14) ‘fd[1]’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:12: warning: leak of file descriptor ‘dup2(fd[1], 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:106:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:109:17: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:115:15: note: (3) when ‘isatty’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:115:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:118:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:13: note: (6) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:120:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:125:22: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:128:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:134:12: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:134:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:13: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:13: note: (13) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.c:158:12: note: (14) ‘dup2(fd[1], 1)’ leaks here; was opened at (13) <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-tester.lo `test -f 'src/shared/tester.c' || echo './'`src/shared/tester.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/tester.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-tester.o /builddir/build/BUILD/bluez-5.75/src/shared/tester.c: In function 'tester_setup_io': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1009:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:997:12: note: (1) entry to 'tester_setup_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:999:34: note: (2) inlined call to 'tester_get_test' from 'tester_setup_io' <--[gcc] In function 'tester_get_test', inlined from 'tester_setup_io' at src/shared/tester.c:999:27: /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:355:12: note: (3) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c: In function 'tester_setup_io': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1001:17: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1009:19: note: (5) dereference of NULL '<unknown>' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c: In function 'tester_io_send': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1019:17: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1015:6: note: (1) entry to 'tester_io_send' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1017:34: note: (2) inlined call to 'tester_get_test' from 'tester_io_send' <--[gcc] In function 'tester_get_test', inlined from 'tester_io_send' at src/shared/tester.c:1017:27: /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:355:12: note: (3) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c: In function 'tester_io_send': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1019:17: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1019:17: note: (5) dereference of NULL '<unknown>' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c: In function 'tester_io_set_complete_func': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1027:32: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1023:6: note: (1) entry to 'tester_io_set_complete_func' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1025:34: note: (2) inlined call to 'tester_get_test' from 'tester_io_set_complete_func' <--[gcc] In function 'tester_get_test', inlined from 'tester_io_set_complete_func' at src/shared/tester.c:1025:27: /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:355:12: note: (3) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c: In function 'tester_io_set_complete_func': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1027:32: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/tester.c:1027:32: note: (5) dereference of NULL '<unknown>' <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/ellisys.o monitor/ellisys.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/vendor.o monitor/vendor.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/hcidump.o monitor/hcidump.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/crc.o monitor/crc.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/main.o monitor/main.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/lmp.o monitor/lmp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/sdp.o monitor/sdp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/control.o monitor/control.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-gatt-client.lo `test -f 'src/shared/gatt-client.c' || echo './'`src/shared/gatt-client.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/gatt-client.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-gatt-client.o /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'request_unref': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:199:32: warning: use after 'free' of 'data' [CWE-416] [-Wanalyzer-use-after-free] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3243:13: note: (1) entry to 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3253:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3202:13: note: (5) entry to 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:9: note: (6) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3290:13: note: (7) entry to 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3301:12: note: (8) following 'false' branch (when 'success == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3304:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3312:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3315:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3315:9: note: (12) calling 'request_unref' from 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:196:13: note: (13) entry to 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:201:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:204:16: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:213:9: note: (16) freed here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3315:9: note: (17) returning to 'complete_write_long_op' from 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:9: note: (18) returning to 'handle_next_prep_write' from 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (19) returning to 'start_next_long_write.part.0' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3262:9: note: (20) calling 'request_unref' from 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:196:13: note: (21) entry to 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:199:32: note: (22) use after 'free' of 'data'; freed at (16) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'bt_gatt_client_write_value': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3154:9: warning: use of uninitialized value 'value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3749:6: note: (1) entry to 'bt_gatt_client_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3754:12: note: (2) following 'false' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:19: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:72:35: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3758:57: note: in expansion of macro 'UINT_TO_PTR' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3759:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3763:33: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3769:9: note: (6) calling 'complete_unregister_notify' from 'bt_gatt_client_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2190:13: note: (7) entry to 'complete_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2198:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2204:46: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2204:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2205:61: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2204:71: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2208:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2208:9: note: (14) calling 'notify_data_write_ccc' from 'complete_unregister_notify' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1665:13: note: (15) entry to 'notify_data_write_ccc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1669:18: note: (16) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1669:18: note: (17) capacity: 2 bytes <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:24: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1672:9: note: (18) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1674:12: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1674:12: note: (20) following 'false' branch (when 'enable == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1690:49: note: (21) inlined call to 'notify_data_ref' from 'notify_data_write_ccc' <--[gcc] In function 'notify_data_ref', inlined from 'notify_data_write_ccc' at src/shared/gatt-client.c:1690:7: /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:247:30: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'bt_gatt_client_write_value': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1686:18: note: (23) calling 'bt_gatt_client_write_value' from 'notify_data_write_ccc' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3124:14: note: (24) entry to 'bt_gatt_client_write_value' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3135:12: note: (25) following 'false' branch (when 'client' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3138:14: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3140:15: note: (27) calling 'request_create' from 'bt_gatt_client_write_value' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:138:24: note: (28) entry to 'request_create' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:142:12: note: (29) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:82:23: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:145:15: note: in expansion of macro 'new0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3140:15: note: (31) returning to 'bt_gatt_client_write_value' from 'request_create' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3141:12: note: (32) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3146:22: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3154:9: note: (34) use of uninitialized value 'value' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c: In function 'complete_write_long_op': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3293:31: warning: use after 'free' of 'req' [CWE-416] [-Wanalyzer-use-after-free] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3243:13: note: (1) entry to 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3253:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3256:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3202:13: note: (5) entry to 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3210:12: note: (6) following 'false' branch (when 'pdu' is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3215:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3225:12: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3226:17: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3226:17: note: (10) calling 'request_unref' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:196:13: note: (11) entry to 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:201:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:204:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:213:9: note: (14) freed here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3226:17: note: (15) returning to 'handle_next_prep_write' from 'request_unref' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3236:12: note: (16) following 'false' branch (when 'success == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3239:1: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:9: note: (18) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3290:13: note: (19) entry to 'complete_write_long_op' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3293:31: note: (20) use after 'free' of 'req'; freed at (14) <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:451:21: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:696:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:996:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1102:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1294:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1359:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1634:6: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:1639:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2143:6: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:2151:8: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3240:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/gatt-client.c:3262:2: warning: Use of memory after it is freed [unix.Malloc] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/ll.o monitor/ll.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/rfcomm.o monitor/rfcomm.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/bnep.o monitor/bnep.c /builddir/build/BUILD/bluez-5.75/monitor/bnep.c: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:62:66: warning: use of uninitialized value ‘addr[5]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:212:13: note: (1) entry to ‘filter_multaddr_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:219:14: note: (2) calling ‘l2cap_frame_get_be16’ from ‘filter_multaddr_req’ <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:30: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:103:20: note: (3) entry to ‘l2cap_frame_get_be16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:109:12: note: (4) following ‘true’ branch (when ‘value’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:110:26: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:112:9: note: (6) calling ‘l2cap_frame_pull’ from ‘l2cap_frame_get_be16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:58:21: note: (7) entry to ‘l2cap_frame_pull’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:63:9: note: (8) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[gcc] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:55:9: note: (9) calling ‘l2cap_frame_clone_size’ from ‘l2cap_frame_pull’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:34:20: note: (10) entry to ‘l2cap_frame_clone_size’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:38:12: note: (11) following ‘false’ branch (when ‘frame == source’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:50:1: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:63:9: note: (13) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[gcc] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:55:9: note: (14) returning to ‘l2cap_frame_pull’ from ‘l2cap_frame_clone_size’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:112:9: note: (15) returning to ‘l2cap_frame_get_be16’ from ‘l2cap_frame_pull’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:219:14: note: (16) returning to ‘filter_multaddr_req’ from ‘l2cap_frame_get_be16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:219:12: note: (17) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:29: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.h:49:17: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/display.h:56:17: note: in expansion of macro ‘print_indent’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:222:9: note: in expansion of macro ‘print_field’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:224:23: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:226:22: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:226:22: note: (21) calling ‘get_macaddr’ from ‘filter_multaddr_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:51:13: note: (22) entry to ‘get_macaddr’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:53:17: note: (23) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:57:23: note: (24) following ‘true’ branch (when ‘i != 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:58:22: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:58:22: note: (26) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[gcc] In function ‘l2cap_frame_get_u8’, inlined from ‘get_macaddr’ at monitor/bnep.c:58:8: /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:77:12: note: (27) following ‘false’ branch... <--[gcc] In function ‘get_macaddr’: cc1: note: (28) ...to here /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:58:22: note: (29) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[gcc] In function ‘l2cap_frame_get_u8’, inlined from ‘get_macaddr’ at monitor/bnep.c:58:8: cc1: note: (30) calling ‘l2cap_frame_get_u8.part.0’ from ‘get_macaddr’ /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:75:20: note: (31) entry to ‘l2cap_frame_get_u8.part.0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:80:12: note: (32) following ‘true’ branch (when ‘value’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:81:45: note: (33) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:83:9: note: (34) calling ‘l2cap_frame_pull’ from ‘l2cap_frame_get_u8.part.0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:58:21: note: (35) entry to ‘l2cap_frame_pull’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:63:9: note: (36) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[gcc] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:55:9: note: (37) calling ‘l2cap_frame_clone_size’ from ‘l2cap_frame_pull’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:34:20: note: (38) entry to ‘l2cap_frame_clone_size’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:38:12: note: (39) following ‘false’ branch (when ‘frame == source’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:50:1: note: (40) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:63:9: note: (41) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[gcc] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:55:9: note: (42) returning to ‘l2cap_frame_pull’ from ‘l2cap_frame_clone_size’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:65:12: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:68:14: note: (44) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:83:9: note: (45) returning to ‘l2cap_frame_get_u8.part.0’ from ‘l2cap_frame_pull’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:58:22: note: (46) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[gcc] In function ‘l2cap_frame_get_u8’, inlined from ‘get_macaddr’ at monitor/bnep.c:58:8: cc1: note: (47) returning to ‘get_macaddr’ from ‘l2cap_frame_get_u8.part.0’ /builddir/build/BUILD/bluez-5.75/monitor/bnep.c: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:58:20: note: (48) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:57:29: note: (49) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:57:23: note: (50) following ‘true’ branch (when ‘i != 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:58:22: note: (51) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:58:22: note: (52) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[gcc] In function ‘l2cap_frame_get_u8’, inlined from ‘get_macaddr’ at monitor/bnep.c:58:8: /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:77:12: note: (53) following ‘false’ branch... <--[gcc] In function ‘get_macaddr’: cc1: note: (54) ...to here /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:58:22: note: (55) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[gcc] In function ‘l2cap_frame_get_u8’, inlined from ‘get_macaddr’ at monitor/bnep.c:58:8: cc1: note: (56) calling ‘l2cap_frame_get_u8.part.0’ from ‘get_macaddr’ /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:75:20: note: (57) entry to ‘l2cap_frame_get_u8.part.0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:80:12: note: (58) following ‘true’ branch (when ‘value’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:81:45: note: (59) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:83:9: note: (60) calling ‘l2cap_frame_pull’ from ‘l2cap_frame_get_u8.part.0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:58:21: note: (61) entry to ‘l2cap_frame_pull’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:63:9: note: (62) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[gcc] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:55:9: note: (63) calling ‘l2cap_frame_clone_size’ from ‘l2cap_frame_pull’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:34:20: note: (64) entry to ‘l2cap_frame_clone_size’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:38:12: note: (65) following ‘false’ branch (when ‘frame == source’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:50:1: note: (66) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:63:9: note: (67) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[gcc] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:55:9: note: (68) returning to ‘l2cap_frame_pull’ from ‘l2cap_frame_clone_size’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/l2cap.h:83:9: note: (69) returning to ‘l2cap_frame_get_u8.part.0’ from ‘l2cap_frame_pull’ <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:58:22: note: (70) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[gcc] In function ‘l2cap_frame_get_u8’, inlined from ‘get_macaddr’ at monitor/bnep.c:58:8: cc1: note: (71) returning to ‘get_macaddr’ from ‘l2cap_frame_get_u8.part.0’ /builddir/build/BUILD/bluez-5.75/monitor/bnep.c: In function ‘get_macaddr’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:58:20: note: (72) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:57:29: note: (73) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/bnep.c:62:66: note: (74) use of uninitialized value ‘addr[5]’ here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/hwdb.o monitor/hwdb.c /builddir/build/BUILD/bluez-5.75/monitor/hwdb.c:59:2: warning: Value stored to 'hwdb' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/monitor/hwdb.c:64:2: warning: Value stored to 'udev' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/monitor/hwdb.c:106:2: warning: Value stored to 'hwdb' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/monitor/hwdb.c:111:2: warning: Value stored to 'udev' is never read [deadcode.DeadStores] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/keys.o monitor/keys.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-shell.lo `test -f 'src/shared/shell.c' || echo './'`src/shared/shell.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/shell.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-shell.o /builddir/build/BUILD/bluez-5.75/src/shared/shell.c: In function 'bt_shell_printf': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (1) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (2) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (3) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (4) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (5) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (8) following 'false' branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:29: <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (10) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (12) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (14) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (16) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:353:13: note: (1) entry to 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:361:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1473:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:734:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:738:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:741:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:745:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (11) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (12) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (13) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (18) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (20) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (22) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (24) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1536:6: note: (1) entry to 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1541:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1544:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1551:12: note: (4) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:20: note: (6) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1553:25: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1553:25: note: (8) calling 'bt_shell_noninteractive_quit' from 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1473:6: note: (9) entry to 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1475:24: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (12) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:734:13: note: (13) entry to 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:738:12: note: (14) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:741:9: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:745:12: note: (16) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (18) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (19) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (20) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (21) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (22) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1536:6: note: (1) entry to 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1541:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1544:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1551:12: note: (4) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1552:21: note: (6) calling 'shell_exec' from 'bt_shell_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:623:12: note: (7) entry to 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:627:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (10) calling 'menu_exec' from 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:574:12: note: (11) entry to 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:577:16: note: (12) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:21: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:20: note: (14) following 'false' branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:582:25: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:586:44: note: (16) following 'false' branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (18) calling 'cmd_exec' from 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:470:12: note: (19) entry to 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:489:12: note: (20) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (22) following 'false' branch (when 'argc <= 1')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:494:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:561:12: note: (24) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (26) calling 'cmd_back' from 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (27) entry to 'cmd_back' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:231:12: note: (28) following 'true' branch... <--[gcc] cc1: note: (29) ...to here cc1: note: (30) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (31) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (32) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (33) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (34) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (35) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (36) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (38) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (40) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (42) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (44) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (46) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1395:5: note: (1) entry to 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1427:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (4) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:623:12: note: (5) entry to 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:627:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (8) calling 'menu_exec' from 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:574:12: note: (9) entry to 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:577:16: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:20: note: (12) following 'false' branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:582:25: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:586:44: note: (14) following 'false' branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (16) calling 'cmd_exec' from 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:470:12: note: (17) entry to 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:489:12: note: (18) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (20) following 'false' branch (when 'argc <= 1')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:494:17: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:561:12: note: (22) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (24) calling 'cmd_back' from 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (25) entry to 'cmd_back' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:231:12: note: (26) following 'true' branch... <--[gcc] cc1: note: (27) ...to here cc1: note: (28) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (29) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (30) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (31) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (32) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (33) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (34) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (36) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (38) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (40) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (42) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (44) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:353:13: note: (1) entry to 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:361:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1473:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1476:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:734:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:738:12: note: (6) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:741:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:745:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (11) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (12) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (13) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:748:9: note: (14) returning to 'bt_shell_dequeue_exec' from 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:763:15: note: (15) calling 'bt_shell_exec' from 'bt_shell_dequeue_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1395:5: note: (16) entry to 'bt_shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1401:12: note: (17) following 'false' branch (when 'input' is non-NULL)... <--[gcc] cc1: note: (18) ...to here cc1: note: (19) calling 'bt_shell_exec.part.0' from 'bt_shell_exec' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1395:5: note: (20) entry to 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1427:12: note: (21) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1432:15: note: (23) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:623:12: note: (24) entry to 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:627:12: note: (25) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:630:16: note: (27) calling 'menu_exec' from 'shell_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:574:12: note: (28) entry to 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:577:16: note: (29) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:21: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:578:20: note: (31) following 'false' branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:582:25: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:586:44: note: (33) following 'false' branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:589:24: note: (35) calling 'cmd_exec' from 'menu_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:470:12: note: (36) entry to 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:489:12: note: (37) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:490:20: note: (39) following 'false' branch (when 'argc <= 1')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:494:17: note: (40) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:561:12: note: (41) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (42) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:562:17: note: (43) calling 'cmd_back' from 'cmd_exec' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (44) entry to 'cmd_back' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:231:12: note: (45) following 'true' branch... <--[gcc] cc1: note: (46) ...to here cc1: note: (47) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:229:13: note: (48) entry to 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:232:17: note: (49) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:647:6: note: (50) entry to 'bt_shell_printf' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (51) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:651:15: note: (52) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:654:12: note: (53) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:17: note: (54) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:657:12: note: (55) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:664:23: note: (56) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:666:12: note: (57) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:675:9: note: (58) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:679:12: note: (59) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (60) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:685:12: note: (61) following 'true' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:686:26: note: (62) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:688:17: note: (63) use of uninitialized value 'saved_line' here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/shell.c:1331:13: warning: Access to field 'options' results in a dereference of a null pointer (loaded from variable 'opt') [core.NullDereference] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/a2dp.o monitor/a2dp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/broadcom.o monitor/broadcom.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/intel.o monitor/intel.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/msft.o monitor/msft.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/analyze.o monitor/analyze.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/jlink.o monitor/jlink.c /builddir/build/BUILD/bluez-5.75/monitor/jlink.c: In function ‘jlink_start_rtt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/jlink.c:206:13: warning: dereference of NULL ‘tok’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/jlink.c:202:12: note: (1) following ‘false’ branch (when ‘cfg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/jlink.c:205:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/jlink.c:205:15: note: (3) when ‘strtok’ on non-NULL string returns NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/monitor/jlink.c:206:13: note: (4) dereference of NULL ‘tok’ <--[gcc] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/shared/libshared_glib_la-bap.lo `test -f 'src/shared/bap.c' || echo './'`src/shared/bap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/shared/bap.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-bap.o /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'bap_get_session.part.0': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:639:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:626:23: note: (1) entry to 'bap_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:638:15: note: (2) calling 'bt_bap_new' from 'bap_get_session.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:3728:16: note: (3) entry to 'bt_bap_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:3733:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:638:15: note: (6) returning to 'bap_get_session.part.0' from 'bt_bap_new' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:639:18: note: (7) dereference of NULL 'bt_bap_new(db, 0)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'bap_stream_io_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: warning: dereference of NULL 'stream' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:5666:6: note: (1) entry to 'bt_bap_stream_set_io.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:5671:9: note: (2) calling 'bap_stream_set_io' from 'bt_bap_stream_set_io.part.0' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2183:13: note: (3) entry to 'bap_stream_set_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2189:12: note: (4) following 'true' branch (when 'fd >= 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2190:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2190:23: note: (6) calling 'bap_stream_io_attach' from 'bap_stream_set_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2150:13: note: (7) entry to 'bap_stream_io_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2155:14: note: (8) calling 'stream_get_io' from 'bap_stream_io_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2134:33: note: (9) entry to 'stream_get_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2136:12: note: (10) following 'true' branch (when 'stream' is NULL)... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2155:14: note: (12) returning to 'bap_stream_io_attach' from 'stream_get_io' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2156:12: note: (13) following 'false' branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: note: (15) following 'false' branch (when 'connecting == 0')... <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:40:9: note: (17) dereference of NULL 'stream' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:2169:9: note: in expansion of macro 'DBG' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'bap_cp_attach': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4549:50: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4544:13: note: (1) entry to 'bap_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4547:32: note: (2) calling 'bap_get_ascs' from 'bap_cp_attach' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1382:24: note: (3) entry to 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1384:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4547:32: note: (6) returning to 'bap_cp_attach' from 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4549:50: note: (7) dereference of NULL 'bap_get_ascs(bap)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: In function 'foreach_ascs_service': <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4614:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4608:13: note: (1) entry to 'foreach_ascs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4612:32: note: (2) calling 'bap_get_ascs' from 'foreach_ascs_service' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1382:24: note: (3) entry to 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:1384:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4612:32: note: (6) returning to 'foreach_ascs_service' from 'bap_get_ascs' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c:4614:23: note: (7) dereference of NULL 'bap_get_ascs(user_data)' <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/bap.c: internal warning: child 10654 timed out after 30s <--[clang] cswrap: error: child 10654 (/usr/bin/clang) terminated by signal 15 (timed out) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/log.o src/log.c /builddir/build/BUILD/bluez-5.75/src/log.c:159: error: comparePointers(CWE-570): Comparing pointers that point to different objects <--[cppcheck] /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o src/libshared-mainloop.la src/shared/libshared_mainloop_la-queue.lo src/shared/libshared_mainloop_la-util.lo src/shared/libshared_mainloop_la-mgmt.lo src/shared/libshared_mainloop_la-crypto.lo src/shared/libshared_mainloop_la-ecc.lo src/shared/libshared_mainloop_la-ringbuf.lo src/shared/libshared_mainloop_la-hci.lo src/shared/libshared_mainloop_la-hci-crypto.lo src/shared/libshared_mainloop_la-hfp.lo src/shared/libshared_mainloop_la-uhid.lo src/shared/libshared_mainloop_la-pcap.lo src/shared/libshared_mainloop_la-btsnoop.lo src/shared/libshared_mainloop_la-ad.lo src/shared/libshared_mainloop_la-att.lo src/shared/libshared_mainloop_la-gatt-helpers.lo src/shared/libshared_mainloop_la-gatt-client.lo src/shared/libshared_mainloop_la-gatt-server.lo src/shared/libshared_mainloop_la-gatt-db.lo src/shared/libshared_mainloop_la-gap.lo src/shared/libshared_mainloop_la-log.lo src/shared/libshared_mainloop_la-bap.lo src/shared/libshared_mainloop_la-bap-debug.lo src/shared/libshared_mainloop_la-mcp.lo src/shared/libshared_mainloop_la-vcp.lo src/shared/libshared_mainloop_la-micp.lo src/shared/libshared_mainloop_la-csip.lo src/shared/libshared_mainloop_la-bass.lo src/shared/libshared_mainloop_la-ccp.lo src/shared/libshared_mainloop_la-shell.lo src/shared/libshared_mainloop_la-io-mainloop.lo src/shared/libshared_mainloop_la-timeout-mainloop.lo src/shared/libshared_mainloop_la-mainloop.lo src/shared/libshared_mainloop_la-mainloop-notify.lo libtool: link: ar cr src/.libs/libshared-mainloop.a src/shared/.libs/libshared_mainloop_la-queue.o src/shared/.libs/libshared_mainloop_la-util.o src/shared/.libs/libshared_mainloop_la-mgmt.o src/shared/.libs/libshared_mainloop_la-crypto.o src/shared/.libs/libshared_mainloop_la-ecc.o src/shared/.libs/libshared_mainloop_la-ringbuf.o src/shared/.libs/libshared_mainloop_la-hci.o src/shared/.libs/libshared_mainloop_la-hci-crypto.o src/shared/.libs/libshared_mainloop_la-hfp.o src/shared/.libs/libshared_mainloop_la-uhid.o src/shared/.libs/libshared_mainloop_la-pcap.o src/shared/.libs/libshared_mainloop_la-btsnoop.o src/shared/.libs/libshared_mainloop_la-ad.o src/shared/.libs/libshared_mainloop_la-att.o src/shared/.libs/libshared_mainloop_la-gatt-helpers.o src/shared/.libs/libshared_mainloop_la-gatt-client.o src/shared/.libs/libshared_mainloop_la-gatt-server.o src/shared/.libs/libshared_mainloop_la-gatt-db.o src/shared/.libs/libshared_mainloop_la-gap.o src/shared/.libs/libshared_mainloop_la-log.o src/shared/.libs/libshared_mainloop_la-bap.o src/shared/.libs/libshared_mainloop_la-bap-debug.o src/shared/.libs/libshared_mainloop_la-mcp.o src/shared/.libs/libshared_mainloop_la-vcp.o src/shared/.libs/libshared_mainloop_la-micp.o src/shared/.libs/libshared_mainloop_la-csip.o src/shared/.libs/libshared_mainloop_la-bass.o src/shared/.libs/libshared_mainloop_la-ccp.o src/shared/.libs/libshared_mainloop_la-shell.o src/shared/.libs/libshared_mainloop_la-io-mainloop.o src/shared/.libs/libshared_mainloop_la-timeout-mainloop.o src/shared/.libs/libshared_mainloop_la-mainloop.o src/shared/.libs/libshared_mainloop_la-mainloop-notify.o libtool: link: ranlib src/.libs/libshared-mainloop.a libtool: link: ( cd "src/.libs" && rm -f "libshared-mainloop.la" && ln -s "../libshared-mainloop.la" "libshared-mainloop.la" ) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/avdtp.o monitor/avdtp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/settings.o src/settings.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o src/textfile.o src/textfile.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/rctest.o tools/rctest.c /builddir/build/BUILD/bluez-5.75/tools/rctest.c: In function ‘do_listen’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:436:9: warning: double ‘close’ of file descriptor ‘sk’ [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:693:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:837:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:842:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:852:9: note: (4) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:853:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:854:25: note: (6) calling ‘do_listen’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:266:13: note: (7) entry to ‘do_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:275:14: note: (8) stream socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:275:14: note: (9) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:276:12: note: (10) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:283:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:288:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:295:13: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:314:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:322:13: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:322:13: note: (16) stream socket marked as passive here via ‘listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:322:13: note: (17) when ‘listen’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:322:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:329:9: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:332:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:338:23: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:347:20: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:352:21: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:358:17: note: (24) first ‘close’ here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:371:20: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:379:24: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:380:20: note: (27) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/tools/rctest.c:18: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:382:74: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/rctest.c:436:9: note: (29) second ‘close’ here; first ‘close’ was at (24) <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/l2ping.o tools/l2ping.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/hex2hcd.o tools/hex2hcd.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/packet.o monitor/packet.c /builddir/build/BUILD/bluez-5.75/monitor/packet.c: internal warning: child 11394 timed out after 30s <--[gcc] cswrap: error: child 11394 (/usr/bin/gcc) terminated by signal 15 (timed out) /builddir/build/BUILD/bluez-5.75/monitor/packet.c: internal warning: child 11393 timed out after 30s <--[clang] cswrap: error: child 11393 (/usr/bin/clang) terminated by signal 15 (timed out) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/bluemoon.o tools/bluemoon.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mpris-proxy.o tools/mpris-proxy.c In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:56, <--[gcc] from /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:26: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c: In function ‘mpris_busname’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1863:33: warning: dereference of NULL ‘name’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:71:29: note: in definition of macro ‘g_ascii_isdigit’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1941:13: note: (1) entry to ‘register_player’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1949:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1952:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1955:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1958:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1958:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1961:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1963:12: note: (8) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1967:27: note: in expansion of macro ‘g_strdup’ <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (10) inlined call to ‘g_strdup_inline’ from ‘register_player’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1967:27: note: in expansion of macro ‘g_strdup’ <--[gcc] In function ‘g_strdup_inline’, inlined from ‘register_player’ at tools/mpris-proxy.c:1967:13: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (11) following ‘true’ branch... <--[gcc] In file included from /usr/include/glib-2.0/glib/glist.h:34, <--[gcc] from /usr/include/glib-2.0/glib/ghash.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:52: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c: In function ‘mpris_busname’: <--[gcc] /usr/include/glib-2.0/glib/gmem.h:268:19: note: (12) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1969:18: note: in expansion of macro ‘g_new0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1970:28: note: (13) calling ‘mpris_busname’ from ‘register_player’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1861:14: note: (14) entry to ‘mpris_busname’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mpris-proxy.c:1863:33: note: (15) dereference of NULL ‘name’ <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:71:29: note: in definition of macro ‘g_ascii_isdigit’ <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/l2cap.o monitor/l2cap.c /builddir/build/BUILD/bluez-5.75/monitor/l2cap.c: internal warning: child 11466 timed out after 30s <--[clang] cswrap: error: child 11466 (/usr/bin/clang) terminated by signal 15 (timed out) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh/agent.o tools/mesh/agent.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/btattach.o tools/btattach.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-gatt/gatt.o tools/mesh-gatt/gatt.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/isotest.o tools/isotest.c /builddir/build/BUILD/bluez-5.75/tools/isotest.c: In function ‘do_listen’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:516:26: warning: dereference of possibly-NULL ‘addr’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1196:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1414:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1419:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1426:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1427:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1427:17: note: (6) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1428:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1429:25: note: (8) calling ‘do_listen’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:482:13: note: (9) entry to ‘do_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:492:12: note: (10) following ‘false’ branch (when ‘filename’ is NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:501:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:501:9: note: (12) calling ‘mgmt_set_experimental’ from ‘do_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:222:12: note: (13) entry to ‘mgmt_set_experimental’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:226:14: note: (14) calling ‘mgmt_open’ from ‘mgmt_set_experimental’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:162:12: note: (15) entry to ‘mgmt_open’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:170:14: note: (16) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:172:12: note: (17) following ‘true’ branch (when ‘fd < 0’)... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/tools/isotest.c:17: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:174:74: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:226:14: note: (19) returning to ‘mgmt_set_experimental’ from ‘mgmt_open’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:227:12: note: (20) following ‘true’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.75/tools/isotest.c:501:9: note: (22) returning to ‘do_listen’ from ‘mgmt_set_experimental’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:504:14: note: (23) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:505:12: note: (24) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:514:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:514:16: note: (26) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:516:26: note: (27) ‘addr’ could be NULL: unchecked value from (26) <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1208:18: warning: dereference of possibly-NULL ‘iso_qos’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1206:19: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/isotest.c:1208:18: note: (2) ‘malloc(60)’ could be NULL: unchecked value from (1) <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-gatt/prov.o tools/mesh-gatt/prov.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/meshctl.o tools/meshctl.c /builddir/build/BUILD/bluez-5.75/tools/meshctl.c:762: warning: uninitvar(CWE-457): Uninitialized variable: addr <--[cppcheck] /builddir/build/BUILD/bluez-5.75/tools/meshctl.c:326:19: warning: Access to field 'mesh_devices' results in a dereference of a null pointer (loaded from variable 'default_ctrl') [core.NullDereference] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/meshctl.c:762:2: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/meshctl.c:1957:2: warning: Value stored to 'len' is never read [deadcode.DeadStores] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-gatt/crypto.o tools/mesh-gatt/crypto.c In file included from /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:32: <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:9: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] In file included from /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:32: <--[clang] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:249:9: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] In file included from /builddir/build/BUILD/bluez-5.75/src/shared/util.h:17, <--[gcc] from /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:32: <--[gcc] In function ‘get_be32’, inlined from ‘mesh_crypto_aes_ccm_decrypt’ at tools/mesh-gatt/crypto.c:540:28: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: warning: use of uninitialized value ‘*(struct <anonymous> *)(&mic[0]).__v’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:16: note: in expansion of macro ‘be32_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1054:6: note: (1) entry to ‘mesh_crypto_packet_decode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1065:12: note: (2) following ‘false’ branch (when ‘packet_len > 13’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1068:9: note: (3) inlined call to ‘put_be32’ from ‘mesh_crypto_packet_decode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:36:26: note: (4) inlined call to ‘__bswap_32’ from ‘put_be32’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:21: note: in definition of macro ‘put_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:286:23: note: in expansion of macro ‘cpu_to_be32’ <--[gcc] In file included from /usr/include/endian.h:35, <--[gcc] from /usr/include/sys/types.h:176, <--[gcc] from /usr/include/bits/socket.h:29, <--[gcc] from /usr/include/sys/socket.h:33, <--[gcc] from /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:18: <--[gcc] In function ‘__bswap_32’, inlined from ‘put_be32’ at ./src/shared/util.h:286:2, inlined from ‘mesh_crypto_packet_decode’ at tools/mesh-gatt/crypto.c:1068:2: /usr/include/bits/byteswap.h:52:10: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1071:14: note: (6) calling ‘aes_ecb_one’ from ‘mesh_crypto_packet_decode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:131:13: note: (7) entry to ‘aes_ecb_one’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:137:14: note: (8) calling ‘aes_ecb_setup’ from ‘aes_ecb_one’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:95:12: note: (9) entry to ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:100:14: note: (10) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:101:12: note: (11) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:104:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:109:13: note: (13) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:109:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (16) calling ‘alg_new’ from ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:37:12: note: (17) entry to ‘alg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:40:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:45:12: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:45:12: note: (20) following ‘false’ branch (when ‘mic_size == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:53:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:53:16: note: (22) when ‘accept’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (23) returning to ‘aes_ecb_setup’ from ‘alg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:137:14: note: (24) returning to ‘aes_ecb_one’ from ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:138:12: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:141:18: note: (26) inlined call to ‘aes_ecb’ from ‘aes_ecb_one’ <--[gcc] In function ‘aes_ecb’, inlined from ‘aes_ecb_one’ at tools/mesh-gatt/crypto.c:141:11: /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:123:16: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1071:14: note: (28) returning to ‘mesh_crypto_packet_decode’ from ‘aes_ecb_one’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1071:12: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1074:9: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1075:23: note: (31) following ‘true’ branch (when ‘i != 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1076:20: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1075:23: note: (33) following ‘true’ branch (when ‘i != 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1076:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1081:12: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1085:17: note: (36) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1108:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1124:22: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1124:22: note: (39) calling ‘mesh_crypto_aes_ccm_decrypt’ from ‘mesh_crypto_packet_decode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:397:6: note: (40) entry to ‘mesh_crypto_aes_ccm_decrypt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:404:17: note: (41) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:411:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:414:14: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:414:14: note: (44) calling ‘aes_ecb_setup’ from ‘mesh_crypto_aes_ccm_decrypt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:95:12: note: (45) entry to ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:100:14: note: (46) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:101:12: note: (47) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:104:9: note: (48) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:109:13: note: (49) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:109:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (51) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (52) calling ‘alg_new’ from ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:37:12: note: (53) entry to ‘alg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:40:12: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:45:12: note: (55) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:45:12: note: (56) following ‘false’ branch (when ‘mic_size == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:53:16: note: (57) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:53:16: note: (58) when ‘accept’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (59) returning to ‘aes_ecb_setup’ from ‘alg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:414:14: note: (60) returning to ‘mesh_crypto_aes_ccm_decrypt’ from ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:415:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:419:17: note: (62) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:424:12: note: (63) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:428:12: note: (64) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:428:12: note: (65) following ‘false’ branch (when ‘mic_size != 8’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:431:25: note: (66) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:431:25: note: (67) following ‘false’ branch (when ‘aad_len == 0’)... <--[gcc] cc1: note: (68) ...to here /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:437:12: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:441:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:441:12: note: (71) following ‘false’ branch (when ‘aad_len == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:474:18: note: (72) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:479:23: note: (73) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:537:9: note: (74) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:537:9: note: (75) following ‘case 4:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:538:17: note: (76) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:539:28: note: (77) following ‘true’ branch (when ‘out_mic’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:540:56: note: (78) inlined call to ‘get_be32’ from ‘mesh_crypto_aes_ccm_decrypt’ <--[gcc] In function ‘get_be32’, inlined from ‘mesh_crypto_aes_ccm_decrypt’ at tools/mesh-gatt/crypto.c:540:28: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (79) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:16: note: in expansion of macro ‘be32_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (80) use of uninitialized value ‘*(struct <anonymous> *)(&mic[0]).__v’ here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:16: note: in expansion of macro ‘be32_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:239:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] In function ‘get_be64’, inlined from ‘mesh_crypto_aes_ccm_decrypt’ at tools/mesh-gatt/crypto.c:548:28: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: warning: use of uninitialized value ‘*(struct <anonymous> *)(&mic[0]).__v’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:249:16: note: in expansion of macro ‘be64_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:249:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1054:6: note: (1) entry to ‘mesh_crypto_packet_decode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1065:12: note: (2) following ‘false’ branch (when ‘packet_len > 13’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1068:9: note: (3) inlined call to ‘put_be32’ from ‘mesh_crypto_packet_decode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:36:26: note: (4) inlined call to ‘__bswap_32’ from ‘put_be32’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:68:21: note: in definition of macro ‘put_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:286:23: note: in expansion of macro ‘cpu_to_be32’ <--[gcc] In function ‘__bswap_32’, inlined from ‘put_be32’ at ./src/shared/util.h:286:2, inlined from ‘mesh_crypto_packet_decode’ at tools/mesh-gatt/crypto.c:1068:2: /usr/include/bits/byteswap.h:52:10: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1071:14: note: (6) calling ‘aes_ecb_one’ from ‘mesh_crypto_packet_decode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:131:13: note: (7) entry to ‘aes_ecb_one’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:137:14: note: (8) calling ‘aes_ecb_setup’ from ‘aes_ecb_one’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:95:12: note: (9) entry to ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:100:14: note: (10) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:101:12: note: (11) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:104:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:109:13: note: (13) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:109:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (16) calling ‘alg_new’ from ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:37:12: note: (17) entry to ‘alg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:40:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:45:12: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:45:12: note: (20) following ‘false’ branch (when ‘mic_size == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:53:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:53:16: note: (22) when ‘accept’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (23) returning to ‘aes_ecb_setup’ from ‘alg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:137:14: note: (24) returning to ‘aes_ecb_one’ from ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:138:12: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:141:18: note: (26) inlined call to ‘aes_ecb’ from ‘aes_ecb_one’ <--[gcc] In function ‘aes_ecb’, inlined from ‘aes_ecb_one’ at tools/mesh-gatt/crypto.c:141:11: /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:123:16: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1071:14: note: (28) returning to ‘mesh_crypto_packet_decode’ from ‘aes_ecb_one’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1071:12: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1074:9: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1075:23: note: (31) following ‘true’ branch (when ‘i != 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1076:20: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1075:23: note: (33) following ‘true’ branch (when ‘i != 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1076:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1081:12: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1085:17: note: (36) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1108:12: note: (37) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1111:22: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1111:22: note: (39) calling ‘mesh_crypto_aes_ccm_decrypt’ from ‘mesh_crypto_packet_decode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:397:6: note: (40) entry to ‘mesh_crypto_aes_ccm_decrypt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:404:17: note: (41) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:411:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:414:14: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:414:14: note: (44) calling ‘aes_ecb_setup’ from ‘mesh_crypto_aes_ccm_decrypt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:95:12: note: (45) entry to ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:100:14: note: (46) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:101:12: note: (47) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:104:9: note: (48) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:109:13: note: (49) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:109:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (51) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (52) calling ‘alg_new’ from ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:37:12: note: (53) entry to ‘alg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:40:12: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:45:12: note: (55) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:45:12: note: (56) following ‘false’ branch (when ‘mic_size == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:53:16: note: (57) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:53:16: note: (58) when ‘accept’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (59) returning to ‘aes_ecb_setup’ from ‘alg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:414:14: note: (60) returning to ‘mesh_crypto_aes_ccm_decrypt’ from ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:415:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:419:17: note: (62) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:424:12: note: (63) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:428:12: note: (64) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:428:12: note: (65) following ‘true’ branch (when ‘mic_size == 8’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:429:25: note: (66) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:429:25: note: (67) following ‘false’ branch (when ‘aad_len == 0’)... <--[gcc] cc1: note: (68) ...to here /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:437:12: note: (69) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:441:12: note: (70) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:441:12: note: (71) following ‘false’ branch (when ‘aad_len == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:474:18: note: (72) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:479:23: note: (73) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:537:9: note: (74) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:537:9: note: (75) following ‘case 8:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:546:17: note: (76) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:547:28: note: (77) following ‘true’ branch (when ‘out_mic’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:548:56: note: (78) inlined call to ‘get_be64’ from ‘mesh_crypto_aes_ccm_decrypt’ <--[gcc] In function ‘get_be64’, inlined from ‘mesh_crypto_aes_ccm_decrypt’ at tools/mesh-gatt/crypto.c:548:28: /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (79) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:249:16: note: in expansion of macro ‘be64_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:249:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:60:12: note: (80) use of uninitialized value ‘*(struct <anonymous> *)(&mic[0]).__v’ here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:249:16: note: in expansion of macro ‘be64_to_cpu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:249:28: note: in expansion of macro ‘get_unaligned’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_encrypt’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:376:17: warning: use of uninitialized value ‘&mic’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:994:6: note: (1) entry to ‘mesh_crypto_packet_encode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1005:31: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1009:34: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1028:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1029:22: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:1029:22: note: (6) calling ‘mesh_crypto_aes_ccm_encrypt’ from ‘mesh_crypto_packet_encode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:232:6: note: (7) entry to ‘mesh_crypto_aes_ccm_encrypt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:239:17: note: (8) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:239:17: note: (9) capacity: 16 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:245:12: note: (10) following ‘false’ branch (when ‘aad_len <= 65279’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:250:14: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:250:14: note: (12) calling ‘aes_ecb_setup’ from ‘mesh_crypto_aes_ccm_encrypt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:95:12: note: (13) entry to ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:100:14: note: (14) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:101:12: note: (15) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:104:9: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:109:13: note: (17) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:109:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (20) calling ‘alg_new’ from ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:37:12: note: (21) entry to ‘alg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:40:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:45:12: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:45:12: note: (24) following ‘false’ branch (when ‘mic_size == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:53:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:53:16: note: (26) when ‘accept’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:114:15: note: (27) returning to ‘aes_ecb_setup’ from ‘alg_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:250:14: note: (28) returning to ‘mesh_crypto_aes_ccm_encrypt’ from ‘aes_ecb_setup’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:251:12: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:255:17: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:260:12: note: (31) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:264:12: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:264:12: note: (33) following ‘true’ branch (when ‘mic_size == 8’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:265:25: note: (34) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:265:25: note: (35) following ‘false’ branch (when ‘aad_len == 0’)... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:273:12: note: (37) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:277:12: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:277:12: note: (39) following ‘false’ branch (when ‘aad_len == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:310:18: note: (40) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:315:23: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:375:12: note: (42) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:375:12: note: (43) following ‘true’ branch (when ‘out_msg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:376:17: note: (44) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/crypto.c:376:17: note: (45) use of uninitialized value ‘&mic’ here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-gatt/util.o tools/mesh-gatt/util.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/avctp.o monitor/avctp.c /builddir/build/BUILD/bluez-5.75/monitor/avctp.c: internal warning: child 11495 timed out after 30s <--[clang] cswrap: error: child 11495 (/usr/bin/clang) terminated by signal 15 (timed out) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-gatt/config-client.o tools/mesh-gatt/config-client.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/l2test.o tools/l2test.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-gatt/node.o tools/mesh-gatt/node.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-gatt/onoff-model.o tools/mesh-gatt/onoff-model.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-gatt/config-server.o tools/mesh-gatt/config-server.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/util.o mesh/util.c /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o src/libshared-ell.la src/shared/libshared_ell_la-queue.lo src/shared/libshared_ell_la-util.lo src/shared/libshared_ell_la-mgmt.lo src/shared/libshared_ell_la-crypto.lo src/shared/libshared_ell_la-ecc.lo src/shared/libshared_ell_la-ringbuf.lo src/shared/libshared_ell_la-hci.lo src/shared/libshared_ell_la-hci-crypto.lo src/shared/libshared_ell_la-hfp.lo src/shared/libshared_ell_la-uhid.lo src/shared/libshared_ell_la-pcap.lo src/shared/libshared_ell_la-btsnoop.lo src/shared/libshared_ell_la-ad.lo src/shared/libshared_ell_la-att.lo src/shared/libshared_ell_la-gatt-helpers.lo src/shared/libshared_ell_la-gatt-client.lo src/shared/libshared_ell_la-gatt-server.lo src/shared/libshared_ell_la-gatt-db.lo src/shared/libshared_ell_la-gap.lo src/shared/libshared_ell_la-log.lo src/shared/libshared_ell_la-bap.lo src/shared/libshared_ell_la-bap-debug.lo src/shared/libshared_ell_la-mcp.lo src/shared/libshared_ell_la-vcp.lo src/shared/libshared_ell_la-micp.lo src/shared/libshared_ell_la-csip.lo src/shared/libshared_ell_la-bass.lo src/shared/libshared_ell_la-ccp.lo src/shared/libshared_ell_la-shell.lo src/shared/libshared_ell_la-io-ell.lo src/shared/libshared_ell_la-timeout-ell.lo src/shared/libshared_ell_la-mainloop-ell.lo libtool: link: ar cr src/.libs/libshared-ell.a src/shared/.libs/libshared_ell_la-queue.o src/shared/.libs/libshared_ell_la-util.o src/shared/.libs/libshared_ell_la-mgmt.o src/shared/.libs/libshared_ell_la-crypto.o src/shared/.libs/libshared_ell_la-ecc.o src/shared/.libs/libshared_ell_la-ringbuf.o src/shared/.libs/libshared_ell_la-hci.o src/shared/.libs/libshared_ell_la-hci-crypto.o src/shared/.libs/libshared_ell_la-hfp.o src/shared/.libs/libshared_ell_la-uhid.o src/shared/.libs/libshared_ell_la-pcap.o src/shared/.libs/libshared_ell_la-btsnoop.o src/shared/.libs/libshared_ell_la-ad.o src/shared/.libs/libshared_ell_la-att.o src/shared/.libs/libshared_ell_la-gatt-helpers.o src/shared/.libs/libshared_ell_la-gatt-client.o src/shared/.libs/libshared_ell_la-gatt-server.o src/shared/.libs/libshared_ell_la-gatt-db.o src/shared/.libs/libshared_ell_la-gap.o src/shared/.libs/libshared_ell_la-log.o src/shared/.libs/libshared_ell_la-bap.o src/shared/.libs/libshared_ell_la-bap-debug.o src/shared/.libs/libshared_ell_la-mcp.o src/shared/.libs/libshared_ell_la-vcp.o src/shared/.libs/libshared_ell_la-micp.o src/shared/.libs/libshared_ell_la-csip.o src/shared/.libs/libshared_ell_la-bass.o src/shared/.libs/libshared_ell_la-ccp.o src/shared/.libs/libshared_ell_la-shell.o src/shared/.libs/libshared_ell_la-io-ell.o src/shared/.libs/libshared_ell_la-timeout-ell.o src/shared/.libs/libshared_ell_la-mainloop-ell.o libtool: link: ranlib src/.libs/libshared-ell.a libtool: link: ( cd "src/.libs" && rm -f "libshared-ell.la" && ln -s "../libshared-ell.la" "libshared-ell.la" ) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/crypto.o mesh/crypto.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/lmp.o tools/parser/lmp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/amp.o tools/parser/amp.c In file included from /builddir/build/BUILD/bluez-5.75/tools/parser/amp.c:15: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h: In function ‘p_indent’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:129:33: warning: dereference of NULL ‘f’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/amp.c:58:6: note: (1) entry to ‘amp_assoc_dump’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/amp.c:62:9: note: (2) calling ‘p_indent’ from ‘amp_assoc_dump’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:110:20: note: (3) entry to ‘p_indent’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:112:12: note: (4) following ‘false’ branch (when ‘level >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:117:20: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:117:12: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:118:27: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:129:33: note: (8) dereference of NULL ‘f’ <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/tools/parser/amp.c:15: <--[clang] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:121:16: warning: Dereference of null pointer [core.NullDereference] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:127:27: warning: Dereference of null pointer [core.NullDereference] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:129:18: warning: Access to field 'in' results in a dereference of a null pointer (loaded from variable 'f') [core.NullDereference] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-gatt/net.o tools/mesh-gatt/net.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/mesh-gatt/prov-db.o tools/mesh-gatt/prov-db.c /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/prov-db.c: In function ‘prov_file_read’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/prov-db.c:56:12: warning: leak of file descriptor ‘open(filename, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/prov-db.c:1472:13: note: (1) entry to ‘read_json_db’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/prov-db.c:1489:15: note: (2) calling ‘prov_file_read’ from ‘read_json_db’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/prov-db.c:45:14: note: (3) entry to ‘prov_file_read’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/prov-db.c:52:12: note: (4) following ‘false’ branch (when ‘filename’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/prov-db.c:55:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/prov-db.c:55:14: note: (6) opened here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/mesh-gatt/prov-db.c:56:12: note: (7) ‘open(filename, 0)’ leaks here; was opened at (6) <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/parser.o tools/parser/parser.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/l2cap.o tools/parser/l2cap.c In file included from /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:24: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h: In function ‘p_indent’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:129:33: warning: dereference of NULL ‘f’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1538:6: note: (1) entry to ‘l2cap_dump’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1548:20: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1554:20: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1554:20: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1556:25: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1556:25: note: (6) calling ‘l2cap_parse’ from ‘l2cap_dump’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1202:13: note: (7) entry to ‘l2cap_parse’ <--[gcc] cc1: note: (8) following ‘case 1:’ branch... cc1: note: (9) ...to here /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1215:33: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1216:40: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1226:25: note: (12) following ‘case 4:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1239:25: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:1240:33: note: (14) calling ‘conf_req’ from ‘l2cap_parse’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:731:20: note: (15) entry to ‘conf_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:737:12: note: (16) following ‘false’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:19: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:741:38: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/lib/bluetooth.h:250:20: note: in definition of macro ‘btohs’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:743:12: note: (18) following ‘true’ branch (when ‘clen > 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:744:64: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:744:17: note: (20) calling ‘conf_opt’ from ‘conf_req’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:624:13: note: (21) entry to ‘conf_opt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/l2cap.c:628:9: note: (22) calling ‘p_indent’ from ‘conf_opt’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:110:20: note: (23) entry to ‘p_indent’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:112:12: note: (24) following ‘false’ branch (when ‘level >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:117:20: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:117:12: note: (26) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:118:27: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:129:33: note: (28) dereference of NULL ‘f’ <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/hci.o tools/parser/hci.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/smp.o tools/parser/smp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/hidp.o tools/parser/hidp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monitor/att.o monitor/att.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/hcrp.o tools/parser/hcrp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/rfcomm.o tools/parser/rfcomm.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/avctp.o tools/parser/avctp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/att.o tools/parser/att.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/sdp.o tools/parser/sdp.c In file included from /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:24: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h: In function ‘p_indent’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:129:33: warning: dereference of NULL ‘f’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:659:6: note: (1) entry to ‘sdp_dump’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:673:9: note: (2) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:739:25: note: (3) inlined call to ‘p_get_u16’ from ‘sdp_dump’ <--[gcc] In function ‘p_get_u16’, inlined from ‘sdp_dump’ at tools/parser/sdp.c:739:11: /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:161:19: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c: In function ‘p_indent’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:746:20: note: (5) following ‘true’ branch (when ‘cont == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:748:25: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:748:25: note: (7) calling ‘frame_get’ from ‘sdp_dump’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:646:22: note: (8) entry to ‘frame_get’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:650:15: note: (9) calling ‘frame_add’ from ‘frame_get’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:594:12: note: (10) entry to ‘frame_add’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:600:23: note: (11) following ‘true’ branch (when ‘i != 10’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:601:35: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:650:15: note: (13) returning to ‘frame_get’ from ‘frame_add’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:748:25: note: (14) returning to ‘sdp_dump’ from ‘frame_get’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:748:25: note: (15) calling ‘print_attr_list’ from ‘sdp_dump’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:499:20: note: (16) entry to ‘print_attr_list’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:505:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:506:26: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:507:50: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:509:29: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:509:28: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:511:43: note: (22) inlined call to ‘p_get_u16’ from ‘print_attr_list’ <--[gcc] In function ‘p_get_u16’, inlined from ‘print_attr_list’ at tools/parser/sdp.c:511:15: /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:161:19: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c: In function ‘p_indent’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:512:33: note: (24) calling ‘p_indent’ from ‘print_attr_list’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:110:20: note: (25) entry to ‘p_indent’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:112:12: note: (26) following ‘true’ branch (when ‘level < 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:113:30: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:512:33: note: (28) returning to ‘print_attr_list’ from ‘p_indent’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:513:40: note: (29) inlined call to ‘get_attr_id_name’ from ‘print_attr_list’ <--[gcc] In function ‘get_attr_id_name’, inlined from ‘print_attr_list’ at tools/parser/sdp.c:513:12: /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:223:23: note: (30) following ‘true’ branch (when ‘i != 33’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:224:52: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c: In function ‘p_indent’: <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:522:33: note: (32) calling ‘p_indent’ from ‘print_attr_list’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:110:20: note: (33) entry to ‘p_indent’ <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:112:12: note: (34) following ‘false’ branch (when ‘level >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:117:20: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:117:12: note: (36) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:118:27: note: (37) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:129:33: note: (38) dereference of NULL ‘f’ <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/tools/parser/sdp.c:24: <--[clang] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:121:16: warning: Dereference of null pointer [core.NullDereference] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:127:27: warning: Dereference of null pointer [core.NullDereference] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:129:18: warning: Access to field 'in' results in a dereference of a null pointer (loaded from variable 'f') [core.NullDereference] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/bnep.o tools/parser/bnep.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/cmtp.o tools/parser/cmtp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/tcpip.o tools/parser/tcpip.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/ericsson.o tools/parser/ericsson.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/bpa.o tools/parser/bpa.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/capi.o tools/parser/capi.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/obex.o tools/parser/obex.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/cups/sdp.o profiles/cups/sdp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/sap.o tools/parser/sap.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/cups/spp.o profiles/cups/spp.c /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c: In function ‘spp_print’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c:59:13: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c:34:19: note: (1) stream socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c:34:19: note: (2) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c:34:12: note: (3) following ‘false’ branch (when ‘sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c:42:24: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c:46:13: note: (5) stream socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c:46:13: note: (6) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c:46:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c:55:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/spp.c:59:13: note: (9) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/serial.o emulator/serial.c /builddir/build/BUILD/bluez-5.75/emulator/serial.c:150: error: legacyUninitvar(CWE-457): Uninitialized variable: type <--[cppcheck] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:213: error: legacyUninitvar(CWE-457): Uninitialized variable: dev_type <--[cppcheck] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:150:2: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:150:36: warning: Value stored to 'type' during its initialization is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:213:2: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:213:36: warning: Value stored to 'dev_type' during its initialization is never read [deadcode.DeadStores] <--[clang] In file included from /usr/include/features.h:511, <--[gcc] from /usr/include/bits/libc-header-start.h:33, <--[gcc] from /usr/include/stdio.h:28, <--[gcc] from /builddir/build/BUILD/bluez-5.75/emulator/serial.c:17: <--[gcc] In function ‘read’, inlined from ‘serial_read_callback’ at emulator/serial.c:89:8: /usr/include/bits/unistd.h:32:10: warning: ‘*read’ specified size between 18446744073709490177 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] <--[gcc] 32 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/bluez-5.75/emulator/serial.c: In function ‘serial_read_callback’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:77:24: note: destination object allocated here <--[gcc] 77 | static uint8_t buf[4096]; | ^~~ /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘*read’ declared with attribute ‘access (write_only, 2, 3)’ <--[gcc] 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/bluez-5.75/emulator/serial.c: In function ‘serial_read_callback.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:129:25: warning: use of possibly-NULL ‘*(struct serial *)user_data.pkt_data + (sizetype)*(struct serial *)user_data.pkt_len’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:97:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:100:23: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:102:22: note: (3) following ‘true’ branch (when ‘count != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:105:28: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:105:20: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:106:47: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:108:25: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:109:25: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:110:36: note: (9) following ‘false’ branch (when ‘count > 3’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:116:64: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:117:52: note: (11) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:128:20: note: (12) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:129:25: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:129:25: note: (14) argument 1 (‘*(struct serial *)user_data.pkt_data + (sizetype)*(struct serial *)user_data.pkt_len’) from (11) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.75/emulator/serial.c:140:25: warning: use of possibly-NULL ‘*(struct serial *)user_data.pkt_data + (sizetype)*(struct serial *)user_data.pkt_len’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:97:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:100:23: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:102:22: note: (3) following ‘true’ branch (when ‘count != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:105:28: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:105:20: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:106:47: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:108:25: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:109:25: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:110:36: note: (9) following ‘false’ branch (when ‘count > 3’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:116:64: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:117:52: note: (11) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:128:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:140:25: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:140:25: note: (14) argument 1 (‘*(struct serial *)user_data.pkt_data + (sizetype)*(struct serial *)user_data.pkt_len’) from (11) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.75/emulator/serial.c: In function ‘open_pty’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:191:25: warning: use of uninitialized value ‘type’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:150:43: note: (1) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:35:30: note: in definition of macro ‘uninitialized_var’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:150:43: note: (2) capacity: 4 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:35:30: note: in definition of macro ‘uninitialized_var’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:153:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:158:13: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:158:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:165:13: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:165:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:172:37: note: (8) ...to here <--[gcc] cc1: note: (9) following ‘false’ branch... /builddir/build/BUILD/bluez-5.75/emulator/serial.c:191:50: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:191:25: note: (11) use of uninitialized value ‘type’ here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:191:25: warning: use of uninitialized value ‘type’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:74:13: note: (1) entry to ‘serial_read_callback’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:82:12: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:83:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:84:17: note: (4) calling ‘open_pty’ from ‘serial_read_callback’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:148:13: note: (5) entry to ‘open_pty’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:150:43: note: (6) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:35:30: note: in definition of macro ‘uninitialized_var’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:150:43: note: (7) capacity: 4 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:35:30: note: in definition of macro ‘uninitialized_var’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:153:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:158:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:158:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:165:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:165:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:172:37: note: (13) ...to here <--[gcc] cc1: note: (14) following ‘false’ branch... /builddir/build/BUILD/bluez-5.75/emulator/serial.c:191:50: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:191:25: note: (16) use of uninitialized value ‘type’ here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:191:25: warning: use of uninitialized value ‘type’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:210:16: note: (1) entry to ‘serial_open’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:216:12: note: (2) following ‘false’ branch (when ‘serial’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:219:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:223:9: note: (4) calling ‘open_pty’ from ‘serial_open’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:148:13: note: (5) entry to ‘open_pty’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:150:43: note: (6) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:35:30: note: in definition of macro ‘uninitialized_var’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:150:43: note: (7) capacity: 4 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:35:30: note: in definition of macro ‘uninitialized_var’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:153:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:158:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:158:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:165:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:165:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:172:37: note: (13) ...to here <--[gcc] cc1: note: (14) following ‘false’ branch... /builddir/build/BUILD/bluez-5.75/emulator/serial.c:191:50: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/serial.c:191:25: note: (16) use of uninitialized value ‘type’ here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/avrcp.o tools/parser/avrcp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/main.o emulator/main.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/vhci.o emulator/vhci.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/server.o emulator/server.c /builddir/build/BUILD/bluez-5.75/emulator/server.c:200: error: legacyUninitvar(CWE-457): Uninitialized variable: type <--[cppcheck] /builddir/build/BUILD/bluez-5.75/emulator/server.c:200:2: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] /builddir/build/BUILD/bluez-5.75/emulator/server.c:200:36: warning: Value stored to 'type' during its initialization is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/emulator/server.c: In function ‘client_read_callback.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:152:25: warning: use of possibly-NULL ‘*(struct client *)user_data.pkt_data + (sizetype)*(struct client *)user_data.pkt_len’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:113:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:116:23: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:118:22: note: (3) following ‘true’ branch (when ‘count != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:122:28: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:122:20: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:123:47: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:140:52: note: (7) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:151:20: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:152:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:152:25: note: (10) argument 1 (‘*(struct client *)user_data.pkt_data + (sizetype)*(struct client *)user_data.pkt_len’) from (7) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.75/emulator/server.c:163:25: warning: use of possibly-NULL ‘*(struct client *)user_data.pkt_data + (sizetype)*(struct client *)user_data.pkt_len’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:113:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:116:23: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:118:22: note: (3) following ‘true’ branch (when ‘count != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:122:28: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:122:20: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:123:47: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:140:52: note: (7) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:151:20: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:163:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:163:25: note: (10) argument 1 (‘*(struct client *)user_data.pkt_data + (sizetype)*(struct client *)user_data.pkt_len’) from (7) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.75/emulator/server.c: In function ‘accept_client’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:182:24: warning: leak of file descriptor ‘*(struct server *)user_data.fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:196:13: note: (1) entry to ‘server_accept_callback’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:202:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:207:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:208:12: note: (4) following ‘false’ branch (when ‘client’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:211:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:213:22: note: (6) calling ‘accept_client’ from ‘server_accept_callback’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:171:12: note: (7) entry to ‘accept_client’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:180:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:185:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:187:15: note: (10) stream socket marked as passive here via ‘listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:187:15: note: (11) when ‘accept’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:188:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:182:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/server.c:182:24: note: (14) ‘*(struct server *)user_data.fd’ leaks here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/ppp.o tools/parser/ppp.c In file included from /builddir/build/BUILD/bluez-5.75/tools/parser/ppp.c:22: <--[clang] /builddir/build/BUILD/bluez-5.75/tools/parser/parser.h:156:2: warning: Undefined or garbage value returned to caller [core.uninitialized.UndefReturn] <--[clang] /builddir/build/BUILD/bluez-5.75/tools/parser/ppp.c:108:30: warning: The left operand of '&' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/phy.o emulator/phy.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/avdtp.o tools/parser/avdtp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tools/parser/csr.o tools/parser/csr.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/amp.o emulator/amp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/smp.o emulator/smp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/hfp.o emulator/hfp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/b1ee.o emulator/b1ee.c /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c: In function ‘server_read_callback.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:153:25: warning: use of possibly-NULL ‘server_pkt_data’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:124:22: note: (1) following ‘true’ branch (when ‘count != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:127:21: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:127:20: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:128:46: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:130:25: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:131:25: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:132:36: note: (7) following ‘false’ branch (when ‘count > 2’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:138:64: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:139:51: note: (9) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:150:20: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:153:25: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:153:25: note: (12) argument 1 (‘server_pkt_data + (sizetype)server_pkt_len’) from (9) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:166:25: warning: use of possibly-NULL ‘server_pkt_data’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:124:22: note: (1) following ‘true’ branch (when ‘count != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:127:21: note: (2) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:127:20: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:128:46: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:130:25: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:131:25: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:132:36: note: (7) following ‘false’ branch (when ‘count > 2’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:138:64: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:139:51: note: (9) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:150:20: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:166:25: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:166:25: note: (12) argument 1 (‘server_pkt_data + (sizetype)server_pkt_len’) from (9) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:267:28: warning: leak of ‘server_port’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:249:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:261:20: note: (2) following ‘false’ branch (when ‘opt >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:264:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:264:17: note: (4) following ‘case 112:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:265:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:266:39: note: (6) calling ‘set_port’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:61:14: note: (7) entry to ‘set_port’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:65:12: note: (8) following ‘false’ branch... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:69:20: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:68:36: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:72:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:75:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:75:16: note: (14) allocated here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:266:39: note: (15) returning to ‘main’ from ‘set_port’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:267:28: note: (16) assuming ‘set_port(optarg)’ is non-NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:267:28: note: (17) following ‘false’ branch... <--[gcc] cc1: note: (18) ...to here /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:261:20: note: (19) following ‘false’ branch (when ‘opt >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:264:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:264:17: note: (21) following ‘case 112:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:265:17: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:266:39: note: (23) calling ‘set_port’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:61:14: note: (24) entry to ‘set_port’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:65:12: note: (25) following ‘false’ branch... <--[gcc] cc1: note: (26) ...to here /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:69:20: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:68:36: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:72:12: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:75:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:266:39: note: (31) returning to ‘main’ from ‘set_port’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:267:28: note: (32) following ‘false’ branch... <--[gcc] cc1: note: (33) ...to here /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:267:28: note: (34) ‘server_port’ leaks here; was allocated at (14) <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:300:19: warning: ‘write’ on possibly invalid file descriptor ‘-1’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:249:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:261:20: note: (2) following ‘true’ branch (when ‘opt < 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:289:21: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:293:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:296:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:296:21: note: (6) following ‘false’ branch (when ‘server_port’ is NULL)... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:296:21: note: (8) calling ‘do_connect’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:201:12: note: (9) entry to ‘do_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:212:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:217:19: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:243:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:246:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:296:21: note: (14) returning to ‘main’ from ‘do_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:297:22: note: (15) following ‘false’ branch (when ‘sniffer_port’ is NULL)... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:297:22: note: (17) calling ‘do_connect’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:201:12: note: (18) entry to ‘do_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:212:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:217:19: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:217:26: note: (21) following ‘true’ branch (when ‘info’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:220:48: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:223:22: note: (23) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:225:20: note: (24) following ‘true’ branch (when ‘fd < 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:225:20: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:243:12: note: (26) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:246:16: note: (27) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:297:22: note: (28) returning to ‘main’ from ‘do_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:300:19: note: (29) ‘-1’ could be invalid <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:300:19: warning: ‘write’ on closed file descriptor ‘sniffer_fd’ [-Wanalyzer-fd-use-after-close] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:249:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:261:20: note: (2) following ‘true’ branch (when ‘opt < 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:289:21: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:293:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:296:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:296:21: note: (6) following ‘false’ branch (when ‘server_port’ is NULL)... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:296:21: note: (8) calling ‘do_connect’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:201:12: note: (9) entry to ‘do_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:212:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:217:19: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:243:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:246:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:296:21: note: (14) returning to ‘main’ from ‘do_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:297:22: note: (15) following ‘false’ branch (when ‘sniffer_port’ is NULL)... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:297:22: note: (17) calling ‘do_connect’ from ‘main’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:201:12: note: (18) entry to ‘do_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:212:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:217:19: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:217:26: note: (21) following ‘true’ branch (when ‘info’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:220:48: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:223:22: note: (23) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:223:22: note: (24) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:225:20: note: (25) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:228:17: note: (26) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:230:20: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:231:25: note: (28) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:232:25: note: (29) closed here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:243:12: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:246:16: note: (31) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:297:22: note: (32) returning to ‘main’ from ‘do_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:300:19: note: (33) ‘write’ on closed file descriptor ‘sniffer_fd’; ‘close’ was at (29) <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:289:2: warning: Value stored to 'argc' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:322:2: warning: Potential leak of memory pointed to by 'server_port' [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/emulator/b1ee.c:322:2: warning: Potential leak of memory pointed to by 'sniffer_port' [unix.Malloc] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o peripheral/main.o peripheral/main.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/cups/main.o profiles/cups/main.c /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:768:56: warning: use of uninitialized value ‘b[5]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:696:26: note: (1) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:718:12: note: (2) following ‘false’ branch (when ‘argc != 1’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:723:19: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:734:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:741:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:741:12: note: (6) following ‘false’ branch (when ‘argc != 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:745:27: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:745:20: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:749:26: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:756:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:761:19: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:762:23: note: (12) following ‘true’ branch (when ‘i != 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:763:17: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:763:17: note: (14) when ‘strncpy’ copies the full source string <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:762:23: note: (15) following ‘false’ branch (when ‘i == 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:768:56: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/main.c:768:56: note: (17) use of uninitialized value ‘b[5]’ here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o peripheral/log.o peripheral/log.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/cups/hcrp.o profiles/cups/hcrp.c /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c: In function ‘hcrp_print’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c:213:13: warning: ‘connect’ on file descriptor ‘ctrl_sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c:187:24: note: (1) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c:187:24: note: (2) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c:187:12: note: (3) following ‘false’ branch (when ‘ctrl_sk >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c:195:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c:199:13: note: (5) socket bound here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c:199:13: note: (6) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c:199:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c:208:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/cups/hcrp.c:213:13: note: (9) ‘connect’ expects a new socket file descriptor but ‘ctrl_sk’ is bound <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o peripheral/efivars.o peripheral/efivars.c /builddir/build/BUILD/bluez-5.75/peripheral/efivars.c:82: error: uninitvar(CWE-457): Uninitialized variable: attr <--[cppcheck] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o peripheral/attach.o peripheral/attach.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o peripheral/gatt.o peripheral/gatt.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o peripheral/gap.o peripheral/gap.c /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hcisecfilter tools/hcisecfilter.o libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hcisecfilter tools/hcisecfilter.o /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btconfig tools/btconfig.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btconfig tools/btconfig.o src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/3dsp tools/3dsp.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/3dsp tools/3dsp.o src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btinfo tools/btinfo.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btinfo tools/btinfo.o src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btsnoop tools/btsnoop.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btsnoop tools/btsnoop.o src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/seq2bseq tools/seq2bseq.o libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/seq2bseq tools/seq2bseq.o /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btproxy tools/btproxy.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btproxy tools/btproxy.o src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/nokfw tools/nokfw.o libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/nokfw tools/nokfw.o /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/rtlfw tools/rtlfw.o libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/rtlfw tools/rtlfw.o gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/le.o emulator/le.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/network/bnep.o profiles/network/bnep.c /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bcmfw tools/bcmfw.o libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bcmfw tools/bcmfw.o /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/create-image tools/create-image.o libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/create-image tools/create-image.o /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/eddystone tools/eddystone.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/eddystone tools/eddystone.o src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/check-selftest tools/check-selftest.o libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/check-selftest tools/check-selftest.o /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/test-runner tools/test-runner.o libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/test-runner tools/test-runner.o /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/ibeacon tools/ibeacon.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/ibeacon tools/ibeacon.o src/.libs/libshared-mainloop.a gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/iap/main.o profiles/iap/main.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/gobex-defs.o gobex/gobex-defs.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/gobex-packet.o gobex/gobex-packet.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/gobex-apparam.o gobex/gobex-apparam.c /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c: In function ‘tag_new’: <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:174:15: note: (1) entry to ‘g_obex_apparam_set_uint8’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:179:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint8’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: note: (6) allocated 3 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:182:15: note: (1) entry to ‘g_obex_apparam_set_uint16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:189:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: note: (6) allocated 4 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:192:15: note: (1) entry to ‘g_obex_apparam_set_uint32’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:199:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint32’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-apparam.c:43:15: note: (6) allocated 6 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o attrib/gatttool.o attrib/gatttool.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o attrib/att.o attrib/att.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/bthost.o emulator/bthost.c /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (1) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (2) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (3) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (4) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (7) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (8) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (9) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (11) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (13) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (15) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: (19) out-of-bounds read from byte 48 till byte 55 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘void *’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌──────────────┬─────────────┬─────────────┐┌──────────────────────────┐ │ [0] │ ... │ [2] ││ │ ├──────────────┴─────────────┴─────────────┤│ after valid range │ │ ‘iov’ (type: ‘struct iovec[3]’) ││ │ └──────────────────────────────────────────┘└──────────────────────────┘ ├────────────────────┬─────────────────────┤├────────────┬─────────────┤ │ │ ╭───────┴──────╮ ╭───────────┴───────────╮ │size: 48 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (1) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (2) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (3) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (4) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (7) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (8) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (9) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (11) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (13) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (15) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (19) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: (21) out-of-bounds read from byte 64 till byte 71 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘void *’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌─────────┬─────────┬───────────┐ ┌──────────────────────────┐ │ [0] │ ... │ [2] │ │ │ ├─────────┴─────────┴───────────┤ │ after valid range │ │‘iov’ (type: ‘struct iovec[3]’)│ │ │ └───────────────────────────────┘ └──────────────────────────┘ ├───────────────┬───────────────┤├────┬────┤├────────────┬─────────────┤ │ │ │ ╭───────┴──────╮ ╭────┴───╮ ╭───────────┴───────────╮ │size: 48 bytes│ │16 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3332:6: note: (1) entry to ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3346:9: note: (2) inlined call to ‘bthost_set_pa_data’ from ‘bthost_set_base’ <--[gcc] In function ‘bthost_set_pa_data’, inlined from ‘bthost_set_base’ at emulator/bthost.c:3346:2: /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3329:9: note: (3) calling ‘set_pa_data’ from ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (4) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3299:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3307:36: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3309:20: note: (7) following ‘true’ branch (when ‘offset == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3310:39: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (9) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (10) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (11) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (14) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (15) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (16) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (18) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (20) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (22) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (24) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: (26) out-of-bounds read from byte 48 till byte 55 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘void *’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌──────────────┬─────────────┬─────────────┐┌──────────────────────────┐ │ [0] │ ... │ [2] ││ │ ├──────────────┴─────────────┴─────────────┤│ after valid range │ │ ‘iov’ (type: ‘struct iovec[3]’) ││ │ └──────────────────────────────────────────┘└──────────────────────────┘ ├────────────────────┬─────────────────────┤├────────────┬─────────────┤ │ │ ╭───────┴──────╮ ╭───────────┴───────────╮ │size: 48 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3326:6: note: (1) entry to ‘bthost_set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3329:9: note: (2) calling ‘set_pa_data’ from ‘bthost_set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (3) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3309:20: note: (4) following ‘true’ branch (when ‘offset == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3310:39: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (6) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (7) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (8) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (11) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (12) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (13) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (15) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (19) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (21) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: (23) out-of-bounds read from byte 48 till byte 55 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘void *’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌──────────────┬─────────────┬─────────────┐┌──────────────────────────┐ │ [0] │ ... │ [2] ││ │ ├──────────────┴─────────────┴─────────────┤│ after valid range │ │ ‘iov’ (type: ‘struct iovec[3]’) ││ │ └──────────────────────────────────────────┘└──────────────────────────┘ ├────────────────────┬─────────────────────┤├────────────┬─────────────┤ │ │ ╭───────┴──────╮ ╭───────────┴───────────╮ │size: 48 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3326:6: note: (1) entry to ‘bthost_set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3329:9: note: (2) calling ‘set_pa_data’ from ‘bthost_set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (3) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3309:20: note: (4) following ‘true’ branch (when ‘offset == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3310:39: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (6) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (7) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (8) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (11) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (12) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (13) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (15) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (19) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (21) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (23) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: (25) out-of-bounds read from byte 64 till byte 71 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘void *’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌─────────┬─────────┬───────────┐ ┌──────────────────────────┐ │ [0] │ ... │ [2] │ │ │ ├─────────┴─────────┴───────────┤ │ after valid range │ │‘iov’ (type: ‘struct iovec[3]’)│ │ │ └───────────────────────────────┘ └──────────────────────────┘ ├───────────────┬───────────────┤├────┬────┤├────────────┬─────────────┤ │ │ │ ╭───────┴──────╮ ╭────┴───╮ ╭───────────┴───────────╮ │size: 48 bytes│ │16 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3332:6: note: (1) entry to ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3346:9: note: (2) inlined call to ‘bthost_set_pa_data’ from ‘bthost_set_base’ <--[gcc] In function ‘bthost_set_pa_data’, inlined from ‘bthost_set_base’ at emulator/bthost.c:3346:2: /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3329:9: note: (3) calling ‘set_pa_data’ from ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (4) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3299:12: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3300:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3302:20: note: (7) following ‘true’ branch (when ‘offset == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3303:39: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (9) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (10) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (11) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:901:12: note: (12) following ‘true’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:902:33: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:907:17: note: (14) following ‘true’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:907:17: note: (15) inlined call to ‘send_packet’ from ‘send_command’ <--[gcc] In function ‘send_packet’, inlined from ‘send_command’ at emulator/bthost.c:907:3: /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:589:20: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:589:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:908:23: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (19) returning to ‘set_pa_data’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3320:12: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3321:29: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3322:17: note: (22) calling ‘set_pa_data’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (23) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3302:20: note: (24) following ‘false’ branch (when ‘offset != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3315:43: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (26) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (27) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (28) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:890:9: note: (29) calling ‘bthost_debug’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:992:6: note: (30) entry to ‘bthost_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:996:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:996:38: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:890:9: note: (33) returning to ‘send_command’ from ‘bthost_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (36) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (37) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (38) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (40) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (42) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (44) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (46) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (47) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: (48) out-of-bounds read from byte 48 till byte 55 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘void *’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌──────────────┬─────────────┬─────────────┐┌──────────────────────────┐ │ [0] │ ... │ [2] ││ │ ├──────────────┴─────────────┴─────────────┤│ after valid range │ │ ‘iov’ (type: ‘struct iovec[3]’) ││ │ └──────────────────────────────────────────┘└──────────────────────────┘ ├────────────────────┬─────────────────────┤├────────────┬─────────────┤ │ │ ╭───────┴──────╮ ╭───────────┴───────────╮ │size: 48 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3332:6: note: (1) entry to ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3346:9: note: (2) inlined call to ‘bthost_set_pa_data’ from ‘bthost_set_base’ <--[gcc] In function ‘bthost_set_pa_data’, inlined from ‘bthost_set_base’ at emulator/bthost.c:3346:2: /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3329:9: note: (3) calling ‘set_pa_data’ from ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (4) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3299:12: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3300:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3302:20: note: (7) following ‘true’ branch (when ‘offset == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3303:39: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (9) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (10) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (11) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:901:12: note: (12) following ‘true’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:902:33: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:907:17: note: (14) following ‘true’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:907:17: note: (15) inlined call to ‘send_packet’ from ‘send_command’ <--[gcc] In function ‘send_packet’, inlined from ‘send_command’ at emulator/bthost.c:907:3: /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:589:20: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:589:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:908:23: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (19) returning to ‘set_pa_data’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3320:12: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3321:29: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3322:17: note: (22) calling ‘set_pa_data’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (23) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3302:20: note: (24) following ‘false’ branch (when ‘offset != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3315:43: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (26) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (27) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (28) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:890:9: note: (29) calling ‘bthost_debug’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:992:6: note: (30) entry to ‘bthost_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:996:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:996:38: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:890:9: note: (33) returning to ‘send_command’ from ‘bthost_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (36) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (37) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (38) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (40) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (42) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (44) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (46) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (47) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (48) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (49) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: (50) out-of-bounds read from byte 64 till byte 71 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:52: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘void *’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌─────────┬─────────┬───────────┐ ┌──────────────────────────┐ │ [0] │ ... │ [2] │ │ │ ├─────────┴─────────┴───────────┤ │ after valid range │ │‘iov’ (type: ‘struct iovec[3]’)│ │ │ └───────────────────────────────┘ └──────────────────────────┘ ├───────────────┬───────────────┤├────┬────┤├────────────┬─────────────┤ │ │ │ ╭───────┴──────╮ ╭────┴───╮ ╭───────────┴───────────╮ │size: 48 bytes│ │16 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (1) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (2) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (3) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (4) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (7) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (8) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (9) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (11) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (13) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (15) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: (19) out-of-bounds read from byte 56 till byte 63 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘size_t’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌───────────┬───────────┬───────────┐ ┌──────────────────────────┐ │ [0] │ ... │ [2] │ │ │ ├───────────┴───────────┴───────────┤ │ after valid range │ │ ‘iov’ (type: ‘struct iovec[3]’) │ │ │ └───────────────────────────────────┘ └──────────────────────────┘ ├─────────────────┬─────────────────┤├──┬──┤├────────────┬─────────────┤ │ │ │ │ │ ╭───────────┴───────────╮ │ │ │⚠️ over-read of 8 bytes│ │ │ ╰───────────────────────╯ ╭───────┴──────╮ ╭───┴───╮ │size: 48 bytes│ │8 bytes│ ╰──────────────╯ ╰───────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (1) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (2) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (3) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (4) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (7) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (8) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (9) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (11) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (13) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (15) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (19) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: (21) out-of-bounds read from byte 72 till byte 79 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘size_t’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌─────────┬─────────┬───────────┐ ┌──────────────────────────┐ │ [0] │ ... │ [2] │ │ │ ├─────────┴─────────┴───────────┤ │ after valid range │ │‘iov’ (type: ‘struct iovec[3]’)│ │ │ └───────────────────────────────┘ └──────────────────────────┘ ├───────────────┬───────────────┤├────┬────┤├────────────┬─────────────┤ │ │ │ ╭───────┴──────╮ ╭────┴───╮ ╭───────────┴───────────╮ │size: 48 bytes│ │24 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3326:6: note: (1) entry to ‘bthost_set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3329:9: note: (2) calling ‘set_pa_data’ from ‘bthost_set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (3) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3309:20: note: (4) following ‘true’ branch (when ‘offset == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3310:39: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (6) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (7) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (8) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (11) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (12) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (13) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (15) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (19) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (21) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: (23) out-of-bounds read from byte 56 till byte 63 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘size_t’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌───────────┬───────────┬───────────┐ ┌──────────────────────────┐ │ [0] │ ... │ [2] │ │ │ ├───────────┴───────────┴───────────┤ │ after valid range │ │ ‘iov’ (type: ‘struct iovec[3]’) │ │ │ └───────────────────────────────────┘ └──────────────────────────┘ ├─────────────────┬─────────────────┤├──┬──┤├────────────┬─────────────┤ │ │ │ │ │ ╭───────────┴───────────╮ │ │ │⚠️ over-read of 8 bytes│ │ │ ╰───────────────────────╯ ╭───────┴──────╮ ╭───┴───╮ │size: 48 bytes│ │8 bytes│ ╰──────────────╯ ╰───────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3332:6: note: (1) entry to ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3346:9: note: (2) inlined call to ‘bthost_set_pa_data’ from ‘bthost_set_base’ <--[gcc] In function ‘bthost_set_pa_data’, inlined from ‘bthost_set_base’ at emulator/bthost.c:3346:2: /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3329:9: note: (3) calling ‘set_pa_data’ from ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (4) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3299:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3307:36: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3309:20: note: (7) following ‘true’ branch (when ‘offset == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3310:39: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (9) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (10) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (11) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (14) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (15) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (16) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (17) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (18) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (19) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (20) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (22) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (24) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: (26) out-of-bounds read from byte 56 till byte 63 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘size_t’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌───────────┬───────────┬───────────┐ ┌──────────────────────────┐ │ [0] │ ... │ [2] │ │ │ ├───────────┴───────────┴───────────┤ │ after valid range │ │ ‘iov’ (type: ‘struct iovec[3]’) │ │ │ └───────────────────────────────────┘ └──────────────────────────┘ ├─────────────────┬─────────────────┤├──┬──┤├────────────┬─────────────┤ │ │ │ │ │ ╭───────────┴───────────╮ │ │ │⚠️ over-read of 8 bytes│ │ │ ╰───────────────────────╯ ╭───────┴──────╮ ╭───┴───╮ │size: 48 bytes│ │8 bytes│ ╰──────────────╯ ╰───────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3326:6: note: (1) entry to ‘bthost_set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3329:9: note: (2) calling ‘set_pa_data’ from ‘bthost_set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (3) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3309:20: note: (4) following ‘true’ branch (when ‘offset == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3310:39: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (6) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (7) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (8) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (11) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (12) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (13) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (15) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (19) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (20) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (21) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (22) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (23) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (24) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: (25) out-of-bounds read from byte 72 till byte 79 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘size_t’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌─────────┬─────────┬───────────┐ ┌──────────────────────────┐ │ [0] │ ... │ [2] │ │ │ ├─────────┴─────────┴───────────┤ │ after valid range │ │‘iov’ (type: ‘struct iovec[3]’)│ │ │ └───────────────────────────────┘ └──────────────────────────┘ ├───────────────┬───────────────┤├────┬────┤├────────────┬─────────────┤ │ │ │ ╭───────┴──────╮ ╭────┴───╮ ╭───────────┴───────────╮ │size: 48 bytes│ │24 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3332:6: note: (1) entry to ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3346:9: note: (2) inlined call to ‘bthost_set_pa_data’ from ‘bthost_set_base’ <--[gcc] In function ‘bthost_set_pa_data’, inlined from ‘bthost_set_base’ at emulator/bthost.c:3346:2: /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3329:9: note: (3) calling ‘set_pa_data’ from ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (4) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3299:12: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3300:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3302:20: note: (7) following ‘true’ branch (when ‘offset == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3303:39: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (9) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (10) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (11) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:901:12: note: (12) following ‘true’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:902:33: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:907:17: note: (14) following ‘true’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:907:17: note: (15) inlined call to ‘send_packet’ from ‘send_command’ <--[gcc] In function ‘send_packet’, inlined from ‘send_command’ at emulator/bthost.c:907:3: /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:589:20: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:589:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:908:23: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (19) returning to ‘set_pa_data’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3320:12: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3321:29: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3322:17: note: (22) calling ‘set_pa_data’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (23) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3302:20: note: (24) following ‘false’ branch (when ‘offset != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3315:43: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (26) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (27) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (28) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:890:9: note: (29) calling ‘bthost_debug’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:992:6: note: (30) entry to ‘bthost_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:996:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:996:38: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:890:9: note: (33) returning to ‘send_command’ from ‘bthost_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (36) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (37) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (38) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (40) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (42) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (44) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (46) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (47) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: (48) out-of-bounds read from byte 56 till byte 63 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘size_t’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌───────────┬───────────┬───────────┐ ┌──────────────────────────┐ │ [0] │ ... │ [2] │ │ │ ├───────────┴───────────┴───────────┤ │ after valid range │ │ ‘iov’ (type: ‘struct iovec[3]’) │ │ │ └───────────────────────────────────┘ └──────────────────────────┘ ├─────────────────┬─────────────────┤├──┬──┤├────────────┬─────────────┤ │ │ │ │ │ ╭───────────┴───────────╮ │ │ │⚠️ over-read of 8 bytes│ │ │ ╰───────────────────────╯ ╭───────┴──────╮ ╭───┴───╮ │size: 48 bytes│ │8 bytes│ ╰──────────────╯ ╰───────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3332:6: note: (1) entry to ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3346:9: note: (2) inlined call to ‘bthost_set_pa_data’ from ‘bthost_set_base’ <--[gcc] In function ‘bthost_set_pa_data’, inlined from ‘bthost_set_base’ at emulator/bthost.c:3346:2: /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3329:9: note: (3) calling ‘set_pa_data’ from ‘bthost_set_base’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (4) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3299:12: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3300:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3302:20: note: (7) following ‘true’ branch (when ‘offset == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3303:39: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (9) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (10) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (11) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:901:12: note: (12) following ‘true’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:902:33: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:907:17: note: (14) following ‘true’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:907:17: note: (15) inlined call to ‘send_packet’ from ‘send_command’ <--[gcc] In function ‘send_packet’, inlined from ‘send_command’ at emulator/bthost.c:907:3: /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:589:20: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:589:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘queue_command’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:908:23: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (19) returning to ‘set_pa_data’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3320:12: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3321:29: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3322:17: note: (22) calling ‘set_pa_data’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3286:13: note: (23) entry to ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3302:20: note: (24) following ‘false’ branch (when ‘offset != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3315:43: note: (25) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3317:9: note: (26) calling ‘send_command’ from ‘set_pa_data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:883:13: note: (27) entry to ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:888:22: note: (28) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:890:9: note: (29) calling ‘bthost_debug’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:992:6: note: (30) entry to ‘bthost_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:996:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:996:38: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:890:9: note: (33) returning to ‘send_command’ from ‘bthost_debug’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:906:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:910:17: note: (36) calling ‘queue_command’ from ‘send_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:557:13: note: (37) entry to ‘queue_command’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:565:12: note: (38) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:568:9: note: (39) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (40) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (41) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (42) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (43) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (44) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (45) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (46) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (47) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:570:23: note: (48) following ‘true’ branch (when ‘i < iovlen’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:66: note: (49) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: (50) out-of-bounds read from byte 72 till byte 79 but ‘iov’ ends at byte 48 <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: read of 8 bytes from after the end of ‘iov’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:571:69: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[gcc] ┌──────────────────────────┐ │read of ‘size_t’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌─────────┬─────────┬───────────┐ ┌──────────────────────────┐ │ [0] │ ... │ [2] │ │ │ ├─────────┴─────────┴───────────┤ │ after valid range │ │‘iov’ (type: ‘struct iovec[3]’)│ │ │ └───────────────────────────────┘ └──────────────────────────┘ ├───────────────┬───────────────┤├────┬────┤├────────────┬─────────────┤ │ │ │ ╭───────┴──────╮ ╭────┴───╮ ╭───────────┴───────────╮ │size: 48 bytes│ │24 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰────────╯ ╰───────────────────────╯ /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘bthost_set_cig_params’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3405:20: warning: dereference of possibly-NULL ‘cp’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3403:14: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3405:20: note: (2) ‘cp’ could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c: In function ‘bthost_create_cis’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3437:21: warning: dereference of possibly-NULL ‘cp’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3435:14: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/bthost.c:3437:21: note: (2) ‘cp’ could be NULL: unchecked value from (1) <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/gobex-header.o gobex/gobex-header.c In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:101:3: /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:67:9: warning: use of NULL ‘utf16’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c: In function ‘g_obex_header_encode’: <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:77:8: note: (1) entry to ‘g_obex_header_encode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:88:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:91:15: note: (3) inlined call to ‘put_bytes’ from ‘g_obex_header_encode’ <--[gcc] In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:91:8: /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:67:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c: In function ‘g_obex_header_encode’: <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:93:9: note: (5) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:94:9: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:95:29: note: (7) calling ‘utf8_to_utf16’ from ‘g_obex_header_encode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:42:14: note: (8) entry to ‘utf8_to_utf16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:46:12: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:47:24: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:47:24: note: (11) ‘utf16’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:95:29: note: (12) returning to ‘g_obex_header_encode’ from ‘utf8_to_utf16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:96:20: note: (13) following ‘false’ branch... <--[gcc] In file included from /usr/include/glib-2.0/glib.h:89, <--[gcc] from /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.h:13, <--[gcc] from /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:16: <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:98:44: note: (14) ...to here <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:60:62: note: in definition of macro ‘g_assert_cmpuint’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:101:17: note: (15) ‘utf16’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:101:17: note: (16) inlined call to ‘put_bytes’ from ‘g_obex_header_encode’ <--[gcc] In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:101:3: /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:67:9: note: (17) argument 2 (‘utf16’) NULL where non-null expected <--[gcc] <built-in>: In function ‘g_obex_header_encode’: <built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c: In function ‘g_obex_header_create_list’: <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:534:34: warning: dereference of NULL ‘hdr’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:494:9: note: (1) entry to ‘g_obex_header_create_list’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:504:19: note: (2) following ‘true’ branch (when ‘id != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:26:39: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:511:25: note: in expansion of macro ‘G_OBEX_HDR_ENC’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:514:31: note: (4) calling ‘g_obex_header_new_unicode’ from ‘g_obex_header_create_list’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:375:14: note: (5) entry to ‘g_obex_header_new_unicode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:382:12: note: (6) following ‘true’ branch (when ‘id > 63’)... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:514:31: note: (8) returning to ‘g_obex_header_create_list’ from ‘g_obex_header_new_unicode’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:534:34: note: (9) dereference of NULL ‘hdr’ <--[gcc] /builddir/build/BUILD/bluez-5.75/gobex/gobex-header.c:67:2: warning: Null pointer passed to 2nd parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/gobex-transfer.o gobex/gobex-transfer.c /builddir/build/BUILD/bluez-5.75/gobex/gobex-transfer.c:423:7: warning: Use of memory after it is freed [unix.Malloc] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o attrib/gatt.o attrib/gatt.c /builddir/build/BUILD/bluez-5.75/attrib/gatt.c:970:2: warning: Potential leak of memory pointed to by 'long_write' [unix.Malloc] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o attrib/gattrib.o attrib/gattrib.c /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c: In function ‘construct_full_pdu’: <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:207:17: warning: use of uninitialized value ‘pdu’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:348:13: note: (1) entry to ‘client_notify_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:351:24: note: (2) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:351:24: note: (3) capacity: ‘(int)length + 2’ bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:355:12: note: (4) following ‘false’ branch (when ‘length == 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:358:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:358:9: note: (6) calling ‘attrib_callback_notify’ from ‘client_notify_cb’ <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:240:13: note: (7) entry to ‘attrib_callback_notify’ <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:247:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:250:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:257:15: note: (10) calling ‘construct_full_pdu’ from ‘attrib_callback_notify’ <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:196:17: note: (11) entry to ‘construct_full_pdu’ <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:201:12: note: (12) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:204:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:206:12: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:207:17: note: (15) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/attrib/gattrib.c:207:17: note: (16) use of uninitialized value ‘pdu’ here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o plugins/bluetoothd-hostname.o `test -f 'plugins/hostname.c' || echo './'`plugins/hostname.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o plugins/bluetoothd-wiimote.o `test -f 'plugins/wiimote.c' || echo './'`plugins/wiimote.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o attrib/utils.o attrib/utils.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o plugins/bluetoothd-autopair.o `test -f 'plugins/autopair.c' || echo './'`plugins/autopair.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o attrib/interactive.o attrib/interactive.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o plugins/bluetoothd-policy.o `test -f 'plugins/policy.c' || echo './'`plugins/policy.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-source.o `test -f 'profiles/audio/source.c' || echo './'`profiles/audio/source.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-sink.o `test -f 'profiles/audio/sink.c' || echo './'`profiles/audio/sink.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gobex/gobex.o gobex/gobex.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o btio/btio.o btio/btio.c /builddir/build/BUILD/bluez-5.75/btio/btio.c: In function ‘server_cb.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:256:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:256:12: note: (1) ‘g_io_channel_unix_get_fd(io)’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c: In function ‘sco_connect’: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2043:21: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(create_io(0, &opts, gerr))’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2009:13: note: (1) entry to ‘bt_io_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2024:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2027:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2027:14: note: (4) calling ‘create_io’ from ‘bt_io_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:36: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:771:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:51: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1996:14: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2027:14: note: (19) returning to ‘bt_io_connect’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2028:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2031:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2043:9: note: (22) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2051:9: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2052:23: note: (24) calling ‘sco_connect’ from ‘bt_io_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:826:12: note: (25) entry to ‘sco_connect’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:835:15: note: (26) socket created here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:835:15: note: (27) when ‘connect’ fails <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:836:12: note: (28) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/btio/btio.c:21: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:836:26: note: (29) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2043:21: note: (30) ‘g_io_channel_unix_get_fd(create_io(0, &opts, gerr))’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c: In function ‘bt_io_listen’: <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:36: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:771:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:51: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1996:14: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2099:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:36: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:771:24: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:51: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:1996:14: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2099:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-control.o `test -f 'profiles/audio/control.c' || echo './'`profiles/audio/control.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-transport.o `test -f 'profiles/audio/transport.c' || echo './'`profiles/audio/transport.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o plugins/bluetoothd-neard.o `test -f 'plugins/neard.c' || echo './'`plugins/neard.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/health/mcap.o profiles/health/mcap.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/input/bluetoothd-manager.o `test -f 'profiles/input/manager.c' || echo './'`profiles/input/manager.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/input/bluetoothd-server.o `test -f 'profiles/input/server.c' || echo './'`profiles/input/server.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o emulator/btdev.o emulator/btdev.c /builddir/build/BUILD/bluez-5.75/emulator/btdev.c: In function ‘le_meta_event’: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:3740:17: warning: use of uninitialized value ‘data’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6393:12: note: (1) entry to ‘cmd_big_create_sync_complete’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6400:11: note: (2) region created on stack here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6400:11: note: (3) capacity: 20 bytes <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6406:18: note: (4) calling ‘find_btdev_by_bdaddr_type’ from ‘cmd_big_create_sync_complete’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:356:29: note: (5) entry to ‘find_btdev_by_bdaddr_type’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:361:23: note: (6) following ‘true’ branch (when ‘i != 16’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:362:31: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6406:18: note: (8) returning to ‘cmd_big_create_sync_complete’ from ‘find_btdev_by_bdaddr_type’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6408:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6411:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6413:23: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6414:24: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6414:24: note: (13) calling ‘conn_link_bis’ from ‘cmd_big_create_sync_complete’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1210:27: note: (14) entry to ‘conn_link_bis’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1216:15: note: (15) calling ‘find_bis_index’ from ‘conn_link_bis’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1187:27: note: (16) entry to ‘find_bis_index’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1193:56: note: (17) following ‘true’ branch (when ‘entry’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1195:22: note: (18) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1201:20: note: (19) following ‘true’ branch (when ‘index == 0’)... <--[gcc] cc1: note: (20) ...to here /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1216:15: note: (21) returning to ‘conn_link_bis’ from ‘find_bis_index’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1217:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1220:49: note: (23) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1220:16: note: (24) calling ‘conn_add_bis’ from ‘conn_link_bis’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1173:27: note: (25) entry to ‘conn_add_bis’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1178:16: note: (26) calling ‘conn_new’ from ‘conn_add_bis’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1096:27: note: (27) entry to ‘conn_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1110:12: note: (28) following ‘true’ branch... <--[gcc] cc1: note: (29) ...to here /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1178:16: note: (30) returning to ‘conn_add_bis’ from ‘conn_new’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1179:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1182:22: note: (32) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1220:16: note: (33) returning to ‘conn_link_bis’ from ‘conn_add_bis’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1221:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:1224:19: note: (35) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6414:24: note: (36) returning to ‘cmd_big_create_sync_complete’ from ‘conn_link_bis’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6415:20: note: (37) following ‘false’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:31: <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6418:46: note: (38) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/src/shared/util.h:29:27: note: in definition of macro ‘cpu_to_le16’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6413:23: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6421:21: note: (40) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6421:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6428:30: note: (42) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6431:12: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6438:23: note: (44) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:6448:9: note: (45) calling ‘le_meta_event’ from ‘cmd_big_create_sync_complete’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:3725:13: note: (46) entry to ‘le_meta_event’ <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:3739:12: note: (47) following ‘true’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:3740:17: note: (48) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c:3740:17: note: (49) use of uninitialized value ‘data’ here <--[gcc] /builddir/build/BUILD/bluez-5.75/emulator/btdev.c: internal warning: child 12692 timed out after 30s <--[clang] cswrap: error: child 12692 (/usr/bin/clang) terminated by signal 15 (timed out) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/input/bluetoothd-hog.o `test -f 'profiles/input/hog.c' || echo './'`profiles/input/hog.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-avctp.o `test -f 'profiles/audio/avctp.c' || echo './'`profiles/audio/avctp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/deviceinfo/bluetoothd-dis.o `test -f 'profiles/deviceinfo/dis.c' || echo './'`profiles/deviceinfo/dis.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/battery/bluetoothd-bas.o `test -f 'profiles/battery/bas.c' || echo './'`profiles/battery/bas.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/scanparam/bluetoothd-scpp.o `test -f 'profiles/scanparam/scpp.c' || echo './'`profiles/scanparam/scpp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-player.o `test -f 'profiles/audio/player.c' || echo './'`profiles/audio/player.c /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c: In function ‘media_player_set_setting’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1359:13: warning: use of NULL ‘value’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1328:6: note: (1) entry to ‘media_player_set_setting’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1336:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1346:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1347:12: note: (4) following ‘false’ branch... <--[gcc] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:56, <--[gcc] from /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:25: <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (5) inlined call to ‘g_strdup_inline’ from ‘media_player_set_setting’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1350:59: note: in expansion of macro ‘g_strdup’ <--[gcc] In function ‘g_strdup_inline’, inlined from ‘media_player_set_setting’ at profiles/audio/player.c:1350:52: /usr/include/glib-2.0/glib/gstrfuncs.h:311:7: note: (6) ...to here <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c: In function ‘media_player_set_setting’: <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (8) inlined call to ‘g_strdup_inline’ from ‘media_player_set_setting’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1350:44: note: in expansion of macro ‘g_strdup’ <--[gcc] In function ‘g_strdup_inline’, inlined from ‘media_player_set_setting’ at profiles/audio/player.c:1350:37: /usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c: In function ‘media_player_set_setting’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1355:13: note: (10) calling ‘find_pending’ from ‘media_player_set_setting’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:110:28: note: (11) entry to ‘find_pending’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:115:31: note: (12) following ‘true’ branch (when ‘l’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:116:37: note: (13) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1355:13: note: (14) returning to ‘media_player_set_setting’ from ‘find_pending’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1356:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1359:13: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:1359:13: note: (17) argument 1 (‘value’) NULL where non-null expected <--[gcc] In file included from /usr/include/string.h:462, <--[gcc] from /builddir/build/BUILD/bluez-5.75/profiles/audio/player.c:23: <--[gcc] /usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null <--[gcc] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/gap/bluetoothd-gas.o `test -f 'profiles/gap/gas.c' || echo './'`profiles/gap/gas.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-bluetooth.o `test -f 'obexd/plugins/bluetooth.c' || echo './'`obexd/plugins/bluetooth.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-filesystem.o `test -f 'obexd/plugins/filesystem.c' || echo './'`obexd/plugins/filesystem.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-pcsuite.o `test -f 'obexd/plugins/pcsuite.c' || echo './'`obexd/plugins/pcsuite.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-opp.o `test -f 'obexd/plugins/opp.c' || echo './'`obexd/plugins/opp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-ftp.o `test -f 'obexd/plugins/ftp.c' || echo './'`obexd/plugins/ftp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-irmc.o `test -f 'obexd/plugins/irmc.c' || echo './'`obexd/plugins/irmc.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-media.o `test -f 'profiles/audio/media.c' || echo './'`profiles/audio/media.c /builddir/build/BUILD/bluez-5.75/profiles/audio/media.c:1046:7: warning: Use of memory after it is freed [unix.Malloc] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/input/bluetoothd-device.o `test -f 'profiles/input/device.c' || echo './'`profiles/input/device.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-pbap.o `test -f 'obexd/plugins/pbap.c' || echo './'`obexd/plugins/pbap.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-avdtp.o `test -f 'profiles/audio/avdtp.c' || echo './'`profiles/audio/avdtp.c /builddir/build/BUILD/bluez-5.75/profiles/audio/avdtp.c:639:19: warning: Access to field 'open_acp' results in a dereference of a null pointer (loaded from variable 'stream') [core.NullDereference] <--[clang] /builddir/build/BUILD/bluez-5.75/profiles/audio/avdtp.c:895:25: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/profiles/audio/avdtp.c:902:24: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/bluez-5.75/profiles/audio/avdtp.c:1716:29: warning: Access to field 'rseid' results in a dereference of a null pointer (loaded from variable 'stream') [core.NullDereference] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/client/obexd-mns.o `test -f 'obexd/client/mns.c' || echo './'`obexd/client/mns.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-mas.o `test -f 'obexd/plugins/mas.c' || echo './'`obexd/plugins/mas.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/src/obexd-main.o `test -f 'obexd/src/main.c' || echo './'`obexd/src/main.c /builddir/build/BUILD/bluez-5.75/obexd/src/main.c:278:6: warning: Array access (from variable 'option_root') results in a null pointer dereference [core.NullDereference] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-phonebook-dummy.o `test -f 'obexd/plugins/phonebook-dummy.c' || echo './'`obexd/plugins/phonebook-dummy.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/src/obexd-plugin.o `test -f 'obexd/src/plugin.c' || echo './'`obexd/src/plugin.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/src/obexd-log.o `test -f 'obexd/src/log.c' || echo './'`obexd/src/log.c /builddir/build/BUILD/bluez-5.75/obexd/src/log.c:85: error: comparePointers(CWE-570): Comparing pointers that point to different objects <--[cppcheck] /builddir/build/BUILD/bluez-5.75/obexd/src/log.c:98: error: comparePointers(CWE-570): Comparing pointers that point to different objects <--[cppcheck] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-vcard.o `test -f 'obexd/plugins/vcard.c' || echo './'`obexd/plugins/vcard.c /builddir/build/BUILD/bluez-5.75/obexd/plugins/vcard.c:701:6: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/obexd/plugins/vcard.c:701:6: warning: 3rd function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/obexd/plugins/vcard.c:701:6: warning: 4th function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/bluez-5.75/obexd/plugins/vcard.c:701:6: warning: 5th function call argument is an uninitialized value [core.CallAndMessage] <--[clang] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/src/obexd-manager.o `test -f 'obexd/src/manager.c' || echo './'`obexd/src/manager.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-a2dp.o `test -f 'profiles/audio/a2dp.c' || echo './'`profiles/audio/a2dp.c /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c: In function ‘a2dp_find_eps’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2852:25: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2822:22: note: (1) entry to ‘a2dp_find_eps’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2825:37: note: (2) calling ‘find_channel’ from ‘a2dp_find_eps’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:173:29: note: (3) entry to ‘find_channel’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:177:27: note: (4) following ‘false’ branch (when ‘l’ is NULL)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2825:37: note: (6) returning to ‘a2dp_find_eps’ from ‘find_channel’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2828:16: note: (7) following ‘true’ branch (when ‘list’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2829:34: note: (8) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2845:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2848:20: note: (10) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2848:20: note: (11) following ‘true’ branch (when ‘seps’ is NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2849:32: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c:2852:25: note: (13) dereference of NULL ‘find_channel(session)’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/a2dp.c: internal warning: child 14389 timed out after 30s <--[clang] cswrap: error: child 14389 (/usr/bin/clang) terminated by signal 15 (timed out) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/src/obexd-service.o `test -f 'obexd/src/service.c' || echo './'`obexd/src/service.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/src/obexd-transport.o `test -f 'obexd/src/transport.c' || echo './'`obexd/src/transport.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/src/obexd-mimetype.o `test -f 'obexd/src/mimetype.c' || echo './'`obexd/src/mimetype.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mesh/mesh.o mesh/mesh.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/plugins/obexd-messages-dummy.o `test -f 'obexd/plugins/messages-dummy.c' || echo './'`obexd/plugins/messages-dummy.c /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c: In function ‘return_folder_listing’: <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:163:21: warning: dereference of NULL ‘cur’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:174:17: note: (1) entry to ‘get_folder_listing’ <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:178:17: note: (2) ‘list’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:180:13: note: (3) calling ‘get_subdirs’ from ‘get_folder_listing’ <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:121:16: note: (4) entry to ‘get_subdirs’ <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:130:12: note: (5) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:18: <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:131:28: note: (6) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:180:13: note: (7) returning to ‘get_folder_listing’ from ‘get_subdirs’ <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:182:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:187:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:187:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:192:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:192:9: note: (12) ‘list’ is NULL <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:192:9: note: (13) calling ‘return_folder_listing’ from ‘get_folder_listing’ <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:155:13: note: (14) entry to ‘return_folder_listing’ <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:162:31: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:163:21: note: (16) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:163:21: note: (17) dereference of NULL ‘cur’ <--[gcc] /builddir/build/BUILD/bluez-5.75/obexd/plugins/messages-dummy.c:163:9: warning: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'cur') [core.NullDereference] <--[clang] /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hid2hci tools/hid2hci.o -ludev libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hid2hci tools/hid2hci.o -ludev /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gdbus/libgdbus-internal.la gdbus/mainloop.lo gdbus/watch.lo gdbus/object.lo gdbus/client.lo gdbus/polkit.lo libtool: link: ar cr gdbus/.libs/libgdbus-internal.a gdbus/.libs/mainloop.o gdbus/.libs/watch.o gdbus/.libs/object.o gdbus/.libs/client.o gdbus/.libs/polkit.o libtool: link: ranlib gdbus/.libs/libgdbus-internal.a libtool: link: ( cd "gdbus/.libs" && rm -f "libgdbus-internal.la" && ln -s "../libgdbus-internal.la" "libgdbus-internal.la" ) /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o lib/libbluetooth-internal.la lib/bluetooth.lo lib/hci.lo lib/sdp.lo lib/uuid.lo libtool: link: ar cr lib/.libs/libbluetooth-internal.a lib/.libs/bluetooth.o lib/.libs/hci.o lib/.libs/sdp.o lib/.libs/uuid.o libtool: link: ranlib lib/.libs/libbluetooth-internal.a libtool: link: ( cd "lib/.libs" && rm -f "libbluetooth-internal.la" && ln -s "../libbluetooth-internal.la" "libbluetooth-internal.la" ) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/src/obexd-server.o `test -f 'obexd/src/server.c' || echo './'`obexd/src/server.c /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o src/libshared-glib.la src/shared/libshared_glib_la-queue.lo src/shared/libshared_glib_la-util.lo src/shared/libshared_glib_la-mgmt.lo src/shared/libshared_glib_la-crypto.lo src/shared/libshared_glib_la-ecc.lo src/shared/libshared_glib_la-ringbuf.lo src/shared/libshared_glib_la-hci.lo src/shared/libshared_glib_la-hci-crypto.lo src/shared/libshared_glib_la-hfp.lo src/shared/libshared_glib_la-uhid.lo src/shared/libshared_glib_la-pcap.lo src/shared/libshared_glib_la-btsnoop.lo src/shared/libshared_glib_la-ad.lo src/shared/libshared_glib_la-att.lo src/shared/libshared_glib_la-gatt-helpers.lo src/shared/libshared_glib_la-gatt-client.lo src/shared/libshared_glib_la-gatt-server.lo src/shared/libshared_glib_la-gatt-db.lo src/shared/libshared_glib_la-gap.lo src/shared/libshared_glib_la-log.lo src/shared/libshared_glib_la-bap.lo src/shared/libshared_glib_la-bap-debug.lo src/shared/libshared_glib_la-mcp.lo src/shared/libshared_glib_la-vcp.lo src/shared/libshared_glib_la-micp.lo src/shared/libshared_glib_la-csip.lo src/shared/libshared_glib_la-bass.lo src/shared/libshared_glib_la-ccp.lo src/shared/libshared_glib_la-shell.lo src/shared/libshared_glib_la-io-glib.lo src/shared/libshared_glib_la-timeout-glib.lo src/shared/libshared_glib_la-mainloop-glib.lo src/shared/libshared_glib_la-mainloop-notify.lo src/shared/libshared_glib_la-tester.lo libtool: link: ar cr src/.libs/libshared-glib.a src/shared/.libs/libshared_glib_la-queue.o src/shared/.libs/libshared_glib_la-util.o src/shared/.libs/libshared_glib_la-mgmt.o src/shared/.libs/libshared_glib_la-crypto.o src/shared/.libs/libshared_glib_la-ecc.o src/shared/.libs/libshared_glib_la-ringbuf.o src/shared/.libs/libshared_glib_la-hci.o src/shared/.libs/libshared_glib_la-hci-crypto.o src/shared/.libs/libshared_glib_la-hfp.o src/shared/.libs/libshared_glib_la-uhid.o src/shared/.libs/libshared_glib_la-pcap.o src/shared/.libs/libshared_glib_la-btsnoop.o src/shared/.libs/libshared_glib_la-ad.o src/shared/.libs/libshared_glib_la-att.o src/shared/.libs/libshared_glib_la-gatt-helpers.o src/shared/.libs/libshared_glib_la-gatt-client.o src/shared/.libs/libshared_glib_la-gatt-server.o src/shared/.libs/libshared_glib_la-gatt-db.o src/shared/.libs/libshared_glib_la-gap.o src/shared/.libs/libshared_glib_la-log.o src/shared/.libs/libshared_glib_la-bap.o src/shared/.libs/libshared_glib_la-bap-debug.o src/shared/.libs/libshared_glib_la-mcp.o src/shared/.libs/libshared_glib_la-vcp.o src/shared/.libs/libshared_glib_la-micp.o src/shared/.libs/libshared_glib_la-csip.o src/shared/.libs/libshared_glib_la-bass.o src/shared/.libs/libshared_glib_la-ccp.o src/shared/.libs/libshared_glib_la-shell.o src/shared/.libs/libshared_glib_la-io-glib.o src/shared/.libs/libshared_glib_la-timeout-glib.o src/shared/.libs/libshared_glib_la-mainloop-glib.o src/shared/.libs/libshared_glib_la-mainloop-notify.o src/shared/.libs/libshared_glib_la-tester.o libtool: link: ranlib src/.libs/libshared-glib.a libtool: link: ( cd "src/.libs" && rm -f "libshared-glib.la" && ln -s "../libshared-glib.la" "libshared-glib.la" ) /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hex2hcd tools/hex2hcd.o libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hex2hcd tools/hex2hcd.o /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bluemoon tools/bluemoon.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bluemoon tools/bluemoon.o src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btattach tools/btattach.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btattach tools/btattach.o src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -version-info 22:14:19 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o lib/libbluetooth.la -rpath /usr/lib64 lib/bluetooth.lo lib/hci.lo lib/sdp.lo libtool: link: gcc -shared -fPIC -DPIC lib/.libs/bluetooth.o lib/.libs/hci.o lib/.libs/sdp.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O0 -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname -Wl,libbluetooth.so.3 -o lib/.libs/libbluetooth.so.3.19.14 libtool: link: (cd "lib/.libs" && rm -f "libbluetooth.so.3" && ln -s "libbluetooth.so.3.19.14" "libbluetooth.so.3") libtool: link: (cd "lib/.libs" && rm -f "libbluetooth.so" && ln -s "libbluetooth.so.3.19.14" "libbluetooth.so") libtool: link: ( cd "lib/.libs" && rm -f "libbluetooth.la" && ln -s "../libbluetooth.la" "libbluetooth.la" ) gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/input/bluetoothd-hog-lib.o `test -f 'profiles/input/hog-lib.c' || echo './'`profiles/input/hog-lib.c /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/isotest tools/isotest.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/isotest tools/isotest.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mesh-cfgtest tools/mesh-cfgtest.o lib/libbluetooth-internal.la src/libshared-ell.la -lell libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mesh-cfgtest tools/mesh-cfgtest.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-ell.a -lell /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mpris-proxy tools/mpris-proxy.o gdbus/libgdbus-internal.la -lglib-2.0 -ldbus-1 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mpris-proxy tools/mpris-proxy.o gdbus/.libs/libgdbus-internal.a -lglib-2.0 -ldbus-1 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hciattach tools/hciattach.o tools/hciattach_st.o tools/hciattach_ti.o tools/hciattach_tialt.o tools/hciattach_ath3k.o tools/hciattach_qualcomm.o tools/hciattach_intel.o tools/hciattach_bcm43xx.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hciattach tools/hciattach.o tools/hciattach_st.o tools/hciattach_ti.o tools/hciattach_tialt.o tools/hciattach_ath3k.o tools/hciattach_qualcomm.o tools/hciattach_intel.o tools/hciattach_bcm43xx.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hciconfig tools/hciconfig.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hciconfig tools/hciconfig.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/rfcomm tools/rfcomm.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/rfcomm tools/rfcomm.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hcitool tools/hcitool.o src/oui.o lib/libbluetooth-internal.la -ludev libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hcitool tools/hcitool.o src/oui.o lib/.libs/libbluetooth-internal.a -ludev gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o profiles/audio/bluetoothd-avrcp.o `test -f 'profiles/audio/avrcp.c' || echo './'`profiles/audio/avrcp.c /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:2343: warning: uninitvar(CWE-457): Uninitialized variable: attrs <--[cppcheck] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c: In function ‘play_status_to_val’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:731:14: warning: use of NULL ‘status’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:4456:6: note: (1) entry to ‘avrcp_unregister_player’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:4464:36: note: (2) following ‘true’ branch (when ‘l’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:4465:31: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:4479:25: note: (4) calling ‘notify_addressed_player_changed’ from ‘avrcp_unregister_player’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:1790:17: note: (5) entry to ‘notify_addressed_player_changed’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:1815:23: note: (6) following ‘true’ branch (when ‘i != 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:1816:50: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:1816:17: note: (8) inlined call to ‘avrcp_player_event’ from ‘notify_addressed_player_changed’ <--[gcc] In function ‘avrcp_player_event’, inlined from ‘notify_addressed_player_changed’ at profiles/audio/avrcp.c:1816:3: cc1: note: (9) calling ‘avrcp_player_event.part.0’ from ‘notify_addressed_player_changed’ /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c: In function ‘play_status_to_val’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:776:6: note: (10) entry to ‘avrcp_player_event.part.0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:796:12: note: (11) following ‘true’ branch (when ‘id != 11’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:796:65: note: (12) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:806:9: note: (13) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:807:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:809:34: note: (15) calling ‘play_status_to_val’ from ‘avrcp_player_event.part.0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:729:12: note: (16) entry to ‘play_status_to_val’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:731:14: note: (17) argument 1 (‘status’) NULL where non-null expected <--[gcc] In file included from /usr/include/string.h:462, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:35, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:30: <--[gcc] /usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c: In function ‘avrcp_player_event.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:814:17: warning: dereference of NULL ‘data’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:4456:6: note: (1) entry to ‘avrcp_unregister_player’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:4464:36: note: (2) following ‘true’ branch (when ‘l’ is non-NULL)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:4465:31: note: (3) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:4479:25: note: (4) calling ‘notify_addressed_player_changed’ from ‘avrcp_unregister_player’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:1790:17: note: (5) entry to ‘notify_addressed_player_changed’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:1815:23: note: (6) following ‘true’ branch (when ‘i != 6’)... <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:1816:50: note: (7) ...to here <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:1816:17: note: (8) inlined call to ‘avrcp_player_event’ from ‘notify_addressed_player_changed’ <--[gcc] In function ‘avrcp_player_event’, inlined from ‘notify_addressed_player_changed’ at profiles/audio/avrcp.c:1816:3: cc1: note: (9) calling ‘avrcp_player_event.part.0’ from ‘notify_addressed_player_changed’ /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c: In function ‘avrcp_player_event.part.0’: <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:776:6: note: (10) entry to ‘avrcp_player_event.part.0’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c:814:17: note: (11) dereference of NULL ‘data’ <--[gcc] /builddir/build/BUILD/bluez-5.75/profiles/audio/avrcp.c: internal warning: child 14486 timed out after 30s <--[clang] cswrap: error: child 14486 (/usr/bin/clang) terminated by signal 15 (timed out) /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/meshctl tools/meshctl.o tools/mesh/agent.o tools/mesh-gatt/node.o tools/mesh-gatt/gatt.o tools/mesh-gatt/crypto.o tools/mesh-gatt/net.o tools/mesh-gatt/prov.o tools/mesh-gatt/util.o tools/mesh-gatt/prov-db.o tools/mesh-gatt/config-client.o tools/mesh-gatt/config-server.o tools/mesh-gatt/onoff-model.o gdbus/libgdbus-internal.la src/libshared-glib.la lib/libbluetooth-internal.la -lglib-2.0 -ldbus-1 -ljson-c -lreadline libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/meshctl tools/meshctl.o tools/mesh/agent.o tools/mesh-gatt/node.o tools/mesh-gatt/gatt.o tools/mesh-gatt/crypto.o tools/mesh-gatt/net.o tools/mesh-gatt/prov.o tools/mesh-gatt/util.o tools/mesh-gatt/prov-db.o tools/mesh-gatt/config-client.o tools/mesh-gatt/config-server.o tools/mesh-gatt/onoff-model.o gdbus/.libs/libgdbus-internal.a src/.libs/libshared-glib.a lib/.libs/libbluetooth-internal.a -lglib-2.0 -ldbus-1 -ljson-c -lreadline /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mesh-cfgclient tools/mesh-cfgclient.o tools/mesh/cfgcli.o tools/mesh/keys.o tools/mesh/util.o tools/mesh/remote.o tools/mesh/agent.o tools/mesh/mesh-db.o mesh/util.o mesh/crypto.o lib/libbluetooth-internal.la src/libshared-ell.la -lell -ljson-c -lreadline libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mesh-cfgclient tools/mesh-cfgclient.o tools/mesh/cfgcli.o tools/mesh/keys.o tools/mesh/util.o tools/mesh/remote.o tools/mesh/agent.o tools/mesh/mesh-db.o mesh/util.o mesh/crypto.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-ell.a -lell -ljson-c -lreadline /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/ciptool tools/ciptool.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/ciptool tools/ciptool.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o emulator/b1ee emulator/b1ee.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o emulator/b1ee emulator/b1ee.o src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o profiles/cups/bluetooth profiles/cups/main.o profiles/cups/sdp.o profiles/cups/spp.o profiles/cups/hcrp.o -lglib-2.0 -ldbus-1 lib/libbluetooth-internal.la gdbus/libgdbus-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o profiles/cups/bluetooth profiles/cups/main.o profiles/cups/sdp.o profiles/cups/spp.o profiles/cups/hcrp.o -lglib-2.0 -ldbus-1 lib/.libs/libbluetooth-internal.a gdbus/.libs/libgdbus-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o emulator/hfp emulator/hfp.o src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o emulator/hfp emulator/hfp.o src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/sdptool tools/sdptool.o src/sdp-xml.o lib/libbluetooth-internal.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/sdptool tools/sdptool.o src/sdp-xml.o lib/.libs/libbluetooth-internal.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o emulator/btvirt emulator/main.o emulator/serial.o emulator/server.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o emulator/phy.o emulator/amp.o emulator/le.o lib/libbluetooth-internal.la src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o emulator/btvirt emulator/main.o emulator/serial.o emulator/server.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o emulator/phy.o emulator/amp.o emulator/le.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-mainloop.a gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/obex/plugins"\" -D_FILE_OFFSET_BITS=64 -I./obexd/src -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o obexd/src/obexd-obex.o `test -f 'obexd/src/obex.c' || echo './'`obexd/src/obex.c /builddir/build/BUILD/bluez-5.75/obexd/src/obex.c:123:3: warning: Access to field 'close' results in a dereference of a null pointer (loaded from field 'driver') [core.NullDereference] <--[clang] /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/gap-tester tools/gap-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la gdbus/libgdbus-internal.la src/libshared-glib.la -lglib-2.0 -ldbus-1 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/gap-tester tools/gap-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a gdbus/.libs/libgdbus-internal.a src/.libs/libshared-glib.a -lglib-2.0 -ldbus-1 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o peripheral/btsensor peripheral/main.o peripheral/efivars.o peripheral/attach.o peripheral/log.o peripheral/gap.o peripheral/gatt.o src/libshared-mainloop.la lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o peripheral/btsensor peripheral/main.o peripheral/efivars.o peripheral/attach.o peripheral/log.o peripheral/gap.o peripheral/gatt.o src/.libs/libshared-mainloop.a lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hcidump tools/hcidump.o tools/parser/parser.o tools/parser/lmp.o tools/parser/hci.o tools/parser/l2cap.o tools/parser/amp.o tools/parser/smp.o tools/parser/att.o tools/parser/sdp.o tools/parser/rfcomm.o tools/parser/bnep.o tools/parser/cmtp.o tools/parser/hidp.o tools/parser/hcrp.o tools/parser/avdtp.o tools/parser/avctp.o tools/parser/avrcp.o tools/parser/sap.o tools/parser/obex.o tools/parser/capi.o tools/parser/ppp.o tools/parser/tcpip.o tools/parser/ericsson.o tools/parser/csr.o tools/parser/bpa.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hcidump tools/hcidump.o tools/parser/parser.o tools/parser/lmp.o tools/parser/hci.o tools/parser/l2cap.o tools/parser/amp.o tools/parser/smp.o tools/parser/att.o tools/parser/sdp.o tools/parser/rfcomm.o tools/parser/bnep.o tools/parser/cmtp.o tools/parser/hidp.o tools/parser/hcrp.o tools/parser/avdtp.o tools/parser/avctp.o tools/parser/avrcp.o tools/parser/sap.o tools/parser/obex.o tools/parser/capi.o tools/parser/ppp.o tools/parser/tcpip.o tools/parser/ericsson.o tools/parser/csr.o tools/parser/bpa.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mgmt-tester tools/mgmt-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mgmt-tester tools/mgmt-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hci-tester tools/hci-tester.o src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hci-tester tools/hci-tester.o src/.libs/libshared-glib.a -lglib-2.0 In function 'memcpy', inlined from 'test_pre_setup_lt_address' at tools/hci-tester.c:67:2: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' writing 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] <--[gcc] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ In function 'test_pre_setup_lt_address': lto1: note: destination object is likely at address zero In function 'memcpy', inlined from 'test_pre_setup_lt_address' at tools/hci-tester.c:67:2: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' writing 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] <--[gcc] In function 'test_pre_setup_lt_address': lto1: note: destination object is likely at address zero /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/sco-tester tools/sco-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/sco-tester tools/sco-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/smp-tester tools/smp-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/smp-tester tools/smp-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/l2cap-tester tools/l2cap-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/l2cap-tester tools/l2cap-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/rfcomm-tester tools/rfcomm-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/rfcomm-tester tools/rfcomm-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bdaddr tools/bdaddr.o src/oui.o lib/libbluetooth-internal.la -ludev libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bdaddr tools/bdaddr.o src/oui.o lib/.libs/libbluetooth-internal.a -ludev /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/avinfo tools/avinfo.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/avinfo tools/avinfo.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/avtest tools/avtest.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/avtest tools/avtest.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/iso-tester tools/iso-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/iso-tester tools/iso-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/scotest tools/scotest.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/scotest tools/scotest.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/amptest tools/amptest.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/amptest tools/amptest.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hcieventmask tools/hcieventmask.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hcieventmask tools/hcieventmask.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hwdb tools/hwdb.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/hwdb tools/hwdb.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/cltest tools/cltest.o lib/libbluetooth-internal.la src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/cltest tools/cltest.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/ioctl-tester tools/ioctl-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/ioctl-tester tools/ioctl-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bnep-tester tools/bnep-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bnep-tester tools/bnep-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btiotest tools/btiotest.o btio/btio.o lib/libbluetooth-internal.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btiotest tools/btiotest.o btio/btio.o lib/.libs/libbluetooth-internal.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/userchan-tester tools/userchan-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/userchan-tester tools/userchan-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bneptest tools/bneptest.o btio/btio.o src/log.o profiles/network/bnep.o lib/libbluetooth-internal.la -lglib-2.0 src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bneptest tools/bneptest.o btio/btio.o src/log.o profiles/network/bnep.o lib/.libs/libbluetooth-internal.a -lglib-2.0 src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mesh-tester tools/mesh-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mesh-tester tools/mesh-tester.o emulator/hciemu.o emulator/vhci.o emulator/btdev.o emulator/bthost.o emulator/smp.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/advtest tools/advtest.o lib/libbluetooth-internal.la src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/advtest tools/advtest.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/oobtest tools/oobtest.o lib/libbluetooth-internal.la src/libshared-mainloop.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/oobtest tools/oobtest.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-mainloop.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mcaptest tools/mcaptest.o btio/btio.o src/log.o profiles/health/mcap.o lib/libbluetooth-internal.la -lglib-2.0 src/libshared-mainloop.la -lrt libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/mcaptest tools/mcaptest.o btio/btio.o src/log.o profiles/health/mcap.o lib/.libs/libbluetooth-internal.a -lglib-2.0 src/.libs/libshared-mainloop.a -lrt /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o profiles/iap/iapd profiles/iap/main.o gdbus/libgdbus-internal.la -lglib-2.0 -ldbus-1 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o profiles/iap/iapd profiles/iap/main.o gdbus/.libs/libgdbus-internal.a -lglib-2.0 -ldbus-1 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/gatt-service tools/gatt-service.o gdbus/libgdbus-internal.la src/libshared-mainloop.la -lglib-2.0 -ldbus-1 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/gatt-service tools/gatt-service.o gdbus/.libs/libgdbus-internal.a src/.libs/libshared-mainloop.a -lglib-2.0 -ldbus-1 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/obex-client-tool gobex/gobex.o gobex/gobex-defs.o gobex/gobex-packet.o gobex/gobex-header.o gobex/gobex-transfer.o gobex/gobex-apparam.o btio/btio.o tools/obex-client-tool.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 -lreadline libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/obex-client-tool gobex/gobex.o gobex/gobex-defs.o gobex/gobex-packet.o gobex/gobex-header.o gobex/gobex-transfer.o gobex/gobex-apparam.o btio/btio.o tools/obex-client-tool.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 -lreadline /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btgatt-server tools/btgatt-server.o src/uuid-helper.o src/libshared-mainloop.la lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btgatt-server tools/btgatt-server.o src/uuid-helper.o src/.libs/libshared-mainloop.a lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/obex-server-tool gobex/gobex.o gobex/gobex-defs.o gobex/gobex-packet.o gobex/gobex-header.o gobex/gobex-transfer.o gobex/gobex-apparam.o btio/btio.o tools/obex-server-tool.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/obex-server-tool gobex/gobex.o gobex/gobex-defs.o gobex/gobex-packet.o gobex/gobex-header.o gobex/gobex-transfer.o gobex/gobex-apparam.o btio/btio.o tools/obex-server-tool.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btgatt-client tools/btgatt-client.o src/uuid-helper.o src/libshared-mainloop.la lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btgatt-client tools/btgatt-client.o src/uuid-helper.o src/.libs/libshared-mainloop.a lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/obexctl tools/obexctl.o gdbus/libgdbus-internal.la src/libshared-glib.la -lglib-2.0 -ldbus-1 -lreadline libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/obexctl tools/obexctl.o gdbus/.libs/libgdbus-internal.a src/.libs/libshared-glib.a -lglib-2.0 -ldbus-1 -lreadline /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bluetooth-player tools/bluetooth-player.o client/print.o client/player.o gdbus/libgdbus-internal.la src/libshared-glib.la -lglib-2.0 -ldbus-1 -lreadline libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/bluetooth-player tools/bluetooth-player.o client/print.o client/player.o gdbus/.libs/libgdbus-internal.a src/.libs/libshared-glib.a -lglib-2.0 -ldbus-1 -lreadline /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btmgmt tools/btmgmt.o src/uuid-helper.o client/display.o client/mgmt.o lib/libbluetooth-internal.la src/libshared-mainloop.la -lreadline libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/btmgmt tools/btmgmt.o src/uuid-helper.o client/display.o client/mgmt.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-mainloop.a -lreadline /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o attrib/gatttool attrib/gatttool.o attrib/att.o attrib/gatt.o attrib/gattrib.o btio/btio.o attrib/interactive.o attrib/utils.o src/log.o client/display.o lib/libbluetooth-internal.la src/libshared-glib.la -lglib-2.0 -lreadline libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o attrib/gatttool attrib/gatttool.o attrib/att.o attrib/gatt.o attrib/gattrib.o btio/btio.o attrib/interactive.o attrib/utils.o src/log.o client/display.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-glib.a -lglib-2.0 -lreadline /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o obexd/src/obexd btio/obexd-btio.o gobex/obexd-gobex.o gobex/obexd-gobex-defs.o gobex/obexd-gobex-packet.o gobex/obexd-gobex-header.o gobex/obexd-gobex-transfer.o gobex/obexd-gobex-apparam.o obexd/plugins/obexd-filesystem.o obexd/plugins/obexd-bluetooth.o obexd/plugins/obexd-pcsuite.o obexd/plugins/obexd-opp.o obexd/plugins/obexd-ftp.o obexd/plugins/obexd-irmc.o obexd/plugins/obexd-pbap.o obexd/plugins/obexd-vcard.o obexd/plugins/obexd-phonebook-dummy.o obexd/plugins/obexd-mas.o obexd/plugins/obexd-messages-dummy.o obexd/client/obexd-mns.o obexd/src/obexd-main.o obexd/src/obexd-plugin.o obexd/src/obexd-log.o obexd/src/obexd-manager.o obexd/src/obexd-obex.o obexd/src/obexd-mimetype.o obexd/src/obexd-service.o obexd/src/obexd-transport.o obexd/src/obexd-server.o obexd/client/obexd-manager.o obexd/client/obexd-session.o obexd/client/obexd-bluetooth.o obexd/client/obexd-sync.o obexd/client/obexd-pbap.o obexd/client/obexd-ftp.o obexd/client/obexd-opp.o obexd/client/obexd-map.o obexd/client/obexd-map-event.o obexd/client/obexd-transfer.o obexd/client/obexd-transport.o obexd/client/obexd-driver.o lib/libbluetooth-internal.la gdbus/libgdbus-internal.la src/libshared-glib.la -lical -licalss -licalvcal -ldbus-1 -lglib-2.0 -ldl libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o obexd/src/obexd btio/obexd-btio.o gobex/obexd-gobex.o gobex/obexd-gobex-defs.o gobex/obexd-gobex-packet.o gobex/obexd-gobex-header.o gobex/obexd-gobex-transfer.o gobex/obexd-gobex-apparam.o obexd/plugins/obexd-filesystem.o obexd/plugins/obexd-bluetooth.o obexd/plugins/obexd-pcsuite.o obexd/plugins/obexd-opp.o obexd/plugins/obexd-ftp.o obexd/plugins/obexd-irmc.o obexd/plugins/obexd-pbap.o obexd/plugins/obexd-vcard.o obexd/plugins/obexd-phonebook-dummy.o obexd/plugins/obexd-mas.o obexd/plugins/obexd-messages-dummy.o obexd/client/obexd-mns.o obexd/src/obexd-main.o obexd/src/obexd-plugin.o obexd/src/obexd-log.o obexd/src/obexd-manager.o obexd/src/obexd-obex.o obexd/src/obexd-mimetype.o obexd/src/obexd-service.o obexd/src/obexd-transport.o obexd/src/obexd-server.o obexd/client/obexd-manager.o obexd/client/obexd-session.o obexd/client/obexd-bluetooth.o obexd/client/obexd-sync.o obexd/client/obexd-pbap.o obexd/client/obexd-ftp.o obexd/client/obexd-opp.o obexd/client/obexd-map.o obexd/client/obexd-map-event.o obexd/client/obexd-transfer.o obexd/client/obexd-transport.o obexd/client/obexd-driver.o lib/.libs/libbluetooth-internal.a gdbus/.libs/libgdbus-internal.a src/.libs/libshared-glib.a -lical -licalss -licalvcal -ldbus-1 -lglib-2.0 -ldl /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mesh/bluetooth-meshd mesh/mesh.o mesh/net-keys.o mesh/mesh-io.o mesh/mesh-mgmt.o mesh/mesh-io-unit.o mesh/mesh-io-mgmt.o mesh/mesh-io-generic.o mesh/net.o mesh/crypto.o mesh/friend.o mesh/appkey.o mesh/node.o mesh/model.o mesh/cfgmod-server.o mesh/remprv-server.o mesh/mesh-config-json.o mesh/util.o mesh/dbus.o mesh/agent.o mesh/prov-acceptor.o mesh/prov-initiator.o mesh/manager.o mesh/pb-adv.o mesh/keyring.o mesh/rpl.o mesh/prvbeac-server.o mesh/main.o src/libshared-ell.la -lell -ljson-c libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mesh/bluetooth-meshd mesh/mesh.o mesh/net-keys.o mesh/mesh-io.o mesh/mesh-mgmt.o mesh/mesh-io-unit.o mesh/mesh-io-mgmt.o mesh/mesh-io-generic.o mesh/net.o mesh/crypto.o mesh/friend.o mesh/appkey.o mesh/node.o mesh/model.o mesh/cfgmod-server.o mesh/remprv-server.o mesh/mesh-config-json.o mesh/util.o mesh/dbus.o mesh/agent.o mesh/prov-acceptor.o mesh/prov-initiator.o mesh/manager.o mesh/pb-adv.o mesh/keyring.o mesh/rpl.o mesh/prvbeac-server.o mesh/main.o src/.libs/libshared-ell.a -lell -ljson-c /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/l2test tools/l2test.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/l2test tools/l2test.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/rctest tools/rctest.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/rctest tools/rctest.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/l2ping tools/l2ping.o lib/libbluetooth-internal.la libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/l2ping tools/l2ping.o lib/.libs/libbluetooth-internal.a /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o client/bluetoothctl client/main.o client/print.o client/display.o client/agent.o client/advertising.o client/adv_monitor.o client/gatt.o client/admin.o client/player.o client/mgmt.o lib/libbluetooth-internal.la gdbus/libgdbus-internal.la src/libshared-glib.la -lglib-2.0 -ldbus-1 -lreadline libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o client/bluetoothctl client/main.o client/print.o client/display.o client/agent.o client/advertising.o client/adv_monitor.o client/gatt.o client/admin.o client/player.o client/mgmt.o lib/.libs/libbluetooth-internal.a gdbus/.libs/libgdbus-internal.a src/.libs/libshared-glib.a -lglib-2.0 -ldbus-1 -lreadline /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o src/bluetoothd plugins/bluetoothd-hostname.o plugins/bluetoothd-wiimote.o plugins/bluetoothd-autopair.o plugins/bluetoothd-policy.o plugins/bluetoothd-neard.o profiles/audio/bluetoothd-source.o profiles/audio/bluetoothd-sink.o profiles/audio/bluetoothd-a2dp.o profiles/audio/bluetoothd-avdtp.o profiles/audio/bluetoothd-media.o profiles/audio/bluetoothd-transport.o profiles/audio/bluetoothd-control.o profiles/audio/bluetoothd-avctp.o profiles/audio/bluetoothd-avrcp.o profiles/audio/bluetoothd-player.o profiles/network/bluetoothd-manager.o profiles/network/bluetoothd-bnep.o profiles/network/bluetoothd-server.o profiles/network/bluetoothd-connection.o profiles/input/bluetoothd-manager.o profiles/input/bluetoothd-server.o profiles/input/bluetoothd-device.o profiles/input/bluetoothd-hog.o profiles/input/bluetoothd-hog-lib.o profiles/deviceinfo/bluetoothd-dis.o profiles/battery/bluetoothd-bas.o profiles/scanparam/bluetoothd-scpp.o profiles/input/bluetoothd-suspend-none.o profiles/gap/bluetoothd-gas.o profiles/scanparam/bluetoothd-scan.o profiles/deviceinfo/bluetoothd-deviceinfo.o profiles/battery/bluetoothd-battery.o plugins/bluetoothd-sixaxis.o profiles/audio/bluetoothd-bap.o profiles/audio/bluetoothd-bass.o profiles/audio/bluetoothd-mcp.o profiles/audio/bluetoothd-vcp.o profiles/audio/bluetoothd-micp.o profiles/audio/bluetoothd-ccp.o profiles/audio/bluetoothd-csip.o attrib/bluetoothd-att.o attrib/bluetoothd-gatt.o attrib/bluetoothd-gattrib.o btio/bluetoothd-btio.o src/bluetoothd-main.o src/bluetoothd-log.o src/bluetoothd-backtrace.o src/bluetoothd-rfkill.o src/bluetoothd-sdpd-server.o src/bluetoothd-sdpd-request.o src/bluetoothd-sdpd-service.o src/bluetoothd-sdpd-database.o src/bluetoothd-gatt-database.o src/bluetoothd-sdp-xml.o src/bluetoothd-sdp-client.o src/bluetoothd-textfile.o src/bluetoothd-uuid-helper.o src/bluetoothd-plugin.o src/bluetoothd-storage.o src/bluetoothd-advertising.o src/bluetoothd-agent.o src/bluetoothd-error.o src/bluetoothd-adapter.o src/bluetoothd-profile.o src/bluetoothd-service.o src/bluetoothd-gatt-client.o src/bluetoothd-device.o src/bluetoothd-dbus-common.o src/bluetoothd-eir.o src/bluetoothd-adv_monitor.o src/bluetoothd-battery.o src/bluetoothd-settings.o src/bluetoothd-set.o lib/libbluetooth-internal.la gdbus/libgdbus-internal.la src/libshared-glib.la -lglib-2.0 -ldbus-1 -ldl -lrt -ludev libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o src/bluetoothd plugins/bluetoothd-hostname.o plugins/bluetoothd-wiimote.o plugins/bluetoothd-autopair.o plugins/bluetoothd-policy.o plugins/bluetoothd-neard.o profiles/audio/bluetoothd-source.o profiles/audio/bluetoothd-sink.o profiles/audio/bluetoothd-a2dp.o profiles/audio/bluetoothd-avdtp.o profiles/audio/bluetoothd-media.o profiles/audio/bluetoothd-transport.o profiles/audio/bluetoothd-control.o profiles/audio/bluetoothd-avctp.o profiles/audio/bluetoothd-avrcp.o profiles/audio/bluetoothd-player.o profiles/network/bluetoothd-manager.o profiles/network/bluetoothd-bnep.o profiles/network/bluetoothd-server.o profiles/network/bluetoothd-connection.o profiles/input/bluetoothd-manager.o profiles/input/bluetoothd-server.o profiles/input/bluetoothd-device.o profiles/input/bluetoothd-hog.o profiles/input/bluetoothd-hog-lib.o profiles/deviceinfo/bluetoothd-dis.o profiles/battery/bluetoothd-bas.o profiles/scanparam/bluetoothd-scpp.o profiles/input/bluetoothd-suspend-none.o profiles/gap/bluetoothd-gas.o profiles/scanparam/bluetoothd-scan.o profiles/deviceinfo/bluetoothd-deviceinfo.o profiles/battery/bluetoothd-battery.o plugins/bluetoothd-sixaxis.o profiles/audio/bluetoothd-bap.o profiles/audio/bluetoothd-bass.o profiles/audio/bluetoothd-mcp.o profiles/audio/bluetoothd-vcp.o profiles/audio/bluetoothd-micp.o profiles/audio/bluetoothd-ccp.o profiles/audio/bluetoothd-csip.o attrib/bluetoothd-att.o attrib/bluetoothd-gatt.o attrib/bluetoothd-gattrib.o btio/bluetoothd-btio.o src/bluetoothd-main.o src/bluetoothd-log.o src/bluetoothd-backtrace.o src/bluetoothd-rfkill.o src/bluetoothd-sdpd-server.o src/bluetoothd-sdpd-request.o src/bluetoothd-sdpd-service.o src/bluetoothd-sdpd-database.o src/bluetoothd-gatt-database.o src/bluetoothd-sdp-xml.o src/bluetoothd-sdp-client.o src/bluetoothd-textfile.o src/bluetoothd-uuid-helper.o src/bluetoothd-plugin.o src/bluetoothd-storage.o src/bluetoothd-advertising.o src/bluetoothd-agent.o src/bluetoothd-error.o src/bluetoothd-adapter.o src/bluetoothd-profile.o src/bluetoothd-service.o src/bluetoothd-gatt-client.o src/bluetoothd-device.o src/bluetoothd-dbus-common.o src/bluetoothd-eir.o src/bluetoothd-adv_monitor.o src/bluetoothd-battery.o src/bluetoothd-settings.o src/bluetoothd-set.o lib/.libs/libbluetooth-internal.a gdbus/.libs/libgdbus-internal.a src/.libs/libshared-glib.a -lglib-2.0 -ldbus-1 -ldl -lrt -ludev /bin/sh ./libtool --tag=CC --mode=link gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o monitor/btmon monitor/main.o monitor/display.o monitor/hcidump.o monitor/ellisys.o monitor/control.o monitor/packet.o monitor/vendor.o monitor/lmp.o monitor/crc.o monitor/ll.o monitor/l2cap.o monitor/sdp.o monitor/avctp.o monitor/avdtp.o monitor/a2dp.o monitor/rfcomm.o monitor/bnep.o monitor/hwdb.o monitor/keys.o monitor/analyze.o monitor/intel.o monitor/broadcom.o monitor/msft.o monitor/jlink.o monitor/att.o src/log.o src/textfile.o src/settings.o lib/libbluetooth-internal.la src/libshared-mainloop.la -lglib-2.0 -ludev -ldl libtool: link: gcc -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o monitor/btmon monitor/main.o monitor/display.o monitor/hcidump.o monitor/ellisys.o monitor/control.o monitor/packet.o monitor/vendor.o monitor/lmp.o monitor/crc.o monitor/ll.o monitor/l2cap.o monitor/sdp.o monitor/avctp.o monitor/avdtp.o monitor/a2dp.o monitor/rfcomm.o monitor/bnep.o monitor/hwdb.o monitor/keys.o monitor/analyze.o monitor/intel.o monitor/broadcom.o monitor/msft.o monitor/jlink.o monitor/att.o src/log.o src/textfile.o src/settings.o lib/.libs/libbluetooth-internal.a src/.libs/libshared-mainloop.a -lglib-2.0 -ludev -ldl + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/bluez.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Finish: run >>> 2024-04-22 10:56:07 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-04-22 10:56:08 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/bluez.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/bluez.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.5 INFO: Mock Version: 5.5 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/bluez.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/bluez.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1713139200 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cqjz9G + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64 ++ dirname /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bluez-5.75 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64 'INSTALL=/usr/bin/install -p' /usr/bin/make --no-print-directory install-am /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -p lib/libbluetooth.la '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib64' libtool: install: /usr/bin/install -p lib/.libs/libbluetooth.so.3.19.14 /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib64/libbluetooth.so.3.19.14 libtool: install: (cd /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib64 && { ln -s -f libbluetooth.so.3.19.14 libbluetooth.so.3 || { rm -f libbluetooth.so.3 && ln -s libbluetooth.so.3.19.14 libbluetooth.so.3; }; }) libtool: install: (cd /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib64 && { ln -s -f libbluetooth.so.3.19.14 libbluetooth.so || { rm -f libbluetooth.so && ln -s libbluetooth.so.3.19.14 libbluetooth.so; }; }) libtool: install: /usr/bin/install -p lib/.libs/libbluetooth.lai /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib64/libbluetooth.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -p client/bluetoothctl monitor/btmon tools/rctest tools/l2test tools/l2ping tools/bluemoon tools/hex2hcd tools/mpris-proxy tools/btattach tools/isotest tools/meshctl tools/mesh-cfgclient tools/mesh-cfgtest tools/hciattach tools/hciconfig tools/hcitool tools/hcidump tools/rfcomm tools/sdptool tools/ciptool '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin' libtool: install: /usr/bin/install -p client/bluetoothctl /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/bluetoothctl libtool: install: /usr/bin/install -p monitor/btmon /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/btmon libtool: install: /usr/bin/install -p tools/rctest /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/rctest libtool: install: /usr/bin/install -p tools/l2test /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/l2test libtool: install: /usr/bin/install -p tools/l2ping /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/l2ping libtool: install: /usr/bin/install -p tools/bluemoon /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/bluemoon libtool: install: /usr/bin/install -p tools/hex2hcd /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/hex2hcd libtool: install: /usr/bin/install -p tools/mpris-proxy /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/mpris-proxy libtool: install: /usr/bin/install -p tools/btattach /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/btattach libtool: install: /usr/bin/install -p tools/isotest /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/isotest libtool: install: /usr/bin/install -p tools/meshctl /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/meshctl libtool: install: /usr/bin/install -p tools/mesh-cfgclient /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/mesh-cfgclient libtool: install: /usr/bin/install -p tools/mesh-cfgtest /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/mesh-cfgtest libtool: install: /usr/bin/install -p tools/hciattach /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/hciattach libtool: install: /usr/bin/install -p tools/hciconfig /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/hciconfig libtool: install: /usr/bin/install -p tools/hcitool /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/hcitool libtool: install: /usr/bin/install -p tools/hcidump /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/hcidump libtool: install: /usr/bin/install -p tools/rfcomm /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/rfcomm libtool: install: /usr/bin/install -p tools/sdptool /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/sdptool libtool: install: /usr/bin/install -p tools/ciptool /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin/ciptool /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/libexec/bluetooth' /bin/sh ./libtool --mode=install /usr/bin/install -p src/bluetoothd obexd/src/obexd mesh/bluetooth-meshd '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/libexec/bluetooth' libtool: install: /usr/bin/install -p src/bluetoothd /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/libexec/bluetooth/bluetoothd libtool: install: /usr/bin/install -p obexd/src/obexd /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/libexec/bluetooth/obexd libtool: install: /usr/bin/install -p mesh/bluetooth-meshd /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/libexec/bluetooth/bluetooth-meshd /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/etc/bluetooth' /usr/bin/install -p -m 644 src/main.conf profiles/input/input.conf profiles/network/network.conf mesh/mesh-main.conf '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/etc/bluetooth' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/cups/backend' /bin/sh ./libtool --mode=install /usr/bin/install -p profiles/cups/bluetooth '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/cups/backend' libtool: install: /usr/bin/install -p profiles/cups/bluetooth /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/cups/backend/bluetooth /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/dbus-1/system.d' /usr/bin/install -p -m 644 src/bluetooth.conf mesh/bluetooth-mesh.conf '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/dbus-1/system.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/dbus-1/services' /usr/bin/install -p -m 644 obexd/src/org.bluez.obex.service '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/dbus-1/services' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/dbus-1/system-services' /usr/bin/install -p -m 644 src/org.bluez.service mesh/org.bluez.mesh.service '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/dbus-1/system-services' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/zsh/site-functions' /usr/bin/install -p -m 644 completion/zsh/_bluetoothctl '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/zsh/site-functions' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 monitor/btmon.1 tools/rctest.1 tools/l2ping.1 tools/btattach.1 tools/isotest.1 tools/btmgmt.1 client/bluetoothctl.1 client/bluetoothctl-mgmt.1 client/bluetoothctl-monitor.1 client/bluetoothctl-admin.1 client/bluetoothctl-advertise.1 client/bluetoothctl-endpoint.1 client/bluetoothctl-gatt.1 client/bluetoothctl-player.1 client/bluetoothctl-scan.1 client/bluetoothctl-transport.1 tools/hciattach.1 tools/hciconfig.1 tools/hcitool.1 tools/hcidump.1 tools/rfcomm.1 tools/sdptool.1 tools/ciptool.1 tools/hid2hci.1 '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/man/man5' /usr/bin/install -p -m 644 doc/org.bluez.Adapter.5 doc/org.bluez.Device.5 doc/org.bluez.DeviceSet.5 doc/org.bluez.AgentManager.5 doc/org.bluez.Agent.5 doc/org.bluez.ProfileManager.5 doc/org.bluez.Profile.5 doc/org.bluez.NetworkServer.5 doc/org.bluez.Network.5 doc/org.bluez.Input.5 doc/org.bluez.BatteryProviderManager.5 doc/org.bluez.BatteryProvider.5 doc/org.bluez.Battery.5 doc/org.bluez.AdminPolicySet.5 doc/org.bluez.AdminPolicyStatus.5 doc/org.bluez.Media.5 doc/org.bluez.MediaControl.5 doc/org.bluez.MediaPlayer.5 doc/org.bluez.MediaFolder.5 doc/org.bluez.MediaItem.5 doc/org.bluez.MediaEndpoint.5 doc/org.bluez.MediaTransport.5 doc/org.bluez.GattManager.5 doc/org.bluez.GattProfile.5 doc/org.bluez.GattService.5 doc/org.bluez.GattCharacteristic.5 doc/org.bluez.GattDescriptor.5 doc/org.bluez.LEAdvertisingManager.5 doc/org.bluez.LEAdvertisement.5 doc/org.bluez.AdvertisementMonitorManager.5 doc/org.bluez.AdvertisementMonitor.5 doc/org.bluez.obex.Client.5 doc/org.bluez.obex.Session.5 doc/org.bluez.obex.Transfer.5 doc/org.bluez.obex.ObjectPush.5 doc/org.bluez.obex.FileTransfer.5 doc/org.bluez.obex.Synchronization.5 doc/org.bluez.obex.PhonebookAccess.5 doc/org.bluez.obex.MessageAccess.5 doc/org.bluez.obex.Message.5 '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/man/man5' /usr/bin/install -p -m 644 doc/org.bluez.obex.AgentManager.5 doc/org.bluez.obex.Agent.5 '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/man/man8' /usr/bin/install -p -m 644 src/bluetoothd.8 mesh/bluetooth-meshd.8 '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/man/man8' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 lib/bluez.pc '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib64/pkgconfig' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/include/bluetooth' /usr/bin/install -p -m 644 lib/bluetooth.h lib/hci.h lib/hci_lib.h lib/sco.h lib/l2cap.h lib/sdp.h lib/sdp_lib.h lib/rfcomm.h lib/bnep.h lib/cmtp.h lib/hidp.h '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/include/bluetooth' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/udev/rules.d' /usr/bin/install -p -m 644 tools/97-hid2hci.rules '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/udev/rules.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/systemd/system' /usr/bin/install -p -m 644 src/bluetooth.service mesh/bluetooth-mesh.service '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/systemd/system' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/systemd/user' /usr/bin/install -p -m 644 obexd/src/obex.service '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/systemd/user' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/udev' /bin/sh ./libtool --mode=install /usr/bin/install -p tools/hid2hci '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/udev' libtool: install: /usr/bin/install -p tools/hid2hci /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/udev/hid2hci /usr/bin/make --no-print-directory install-data-hook ln -s -f obex.service /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/systemd/user/dbus-org.bluez.obex.service + install -m0755 attrib/gatttool /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin + install -m0755 tools/avinfo /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin + install -m0755 tools/btmgmt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/bin + find /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64 -name '*.la' -delete + test -d /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib64/cups + rm -f '/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64//etc/udev/*.rules' /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/lib/udev/rules.d/97-hid2hci.rules + install -D -p -m0644 tools/hid2hci.rules /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64//usr/lib/udev/rules.d/97-hid2hci.rules + install -d -m0755 /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64//var/lib/bluetooth + install -d -m0755 /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64//var/lib/bluetooth/mesh + mkdir -p /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64//usr/lib64/bluetooth/ + install -D -p -m0644 src/main.conf /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/etc/bluetooth/main.conf + install -D -p -m0644 mesh/mesh-main.conf /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/etc/bluetooth/mesh-main.conf + install -D -p -m0644 profiles/input/input.conf /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/etc/bluetooth/input.conf + install -D -p -m0644 profiles/network/network.conf /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/etc/bluetooth/network.conf + sed -i 's/#\[Policy\]$/\[Policy\]/; s/#AutoEnable=false/AutoEnable=true/' /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64//etc/bluetooth/main.conf + install emulator/btvirt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64//usr/libexec/bluetooth/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 5.75-1.fc41 --unique-debug-suffix -5.75-1.fc41.x86_64 --unique-debug-src-base bluez-5.75-1.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bluez-5.75 find-debuginfo: starting Extracting debug info from 30 files DWARF-compressing 30 files sepdebugcrcfix: Updated 30 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/bluez-5.75-1.fc41.x86_64 16781 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: bluez-5.75-1.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.V0ltqI + umask 022 + cd /builddir/build/BUILD + cd bluez-5.75 + DOCDIR=/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez + cp -pr /builddir/build/BUILD/bluez-5.75/AUTHORS /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez + cp -pr /builddir/build/BUILD/bluez-5.75/ChangeLog /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.t21rpj + umask 022 + cd /builddir/build/BUILD + cd bluez-5.75 + LICENSEDIR=/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/licenses/bluez + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/licenses/bluez + cp -pr /builddir/build/BUILD/bluez-5.75/COPYING /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/licenses/bluez + RPM_EC=0 ++ jobs -p + exit 0 Provides: bluez = 5.75-1.fc41 bluez(x86-64) = 5.75-1.fc41 config(bluez) = 5.75-1.fc41 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libdbus-1.so.3()(64bit) libdbus-1.so.3(LIBDBUS_1_3)(64bit) libglib-2.0.so.0()(64bit) libreadline.so.8()(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libudev.so.1(LIBUDEV_196)(64bit) rtld(GNU_HASH) Processing files: bluez-cups-5.75-1.fc41.x86_64 Provides: bluez-cups = 5.75-1.fc41 bluez-cups(x86-64) = 5.75-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libdbus-1.so.3()(64bit) libdbus-1.so.3(LIBDBUS_1_3)(64bit) libglib-2.0.so.0()(64bit) rtld(GNU_HASH) Processing files: bluez-deprecated-5.75-1.fc41.x86_64 Provides: bluez-deprecated = 5.75-1.fc41 bluez-deprecated(x86-64) = 5.75-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libdbus-1.so.3()(64bit) libdbus-1.so.3(LIBDBUS_1_3)(64bit) libglib-2.0.so.0()(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libreadline.so.8()(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libudev.so.1(LIBUDEV_196)(64bit) rtld(GNU_HASH) Obsoletes: bluez < 5.55-2 Processing files: bluez-libs-5.75-1.fc41.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UUh4Ub + umask 022 + cd /builddir/build/BUILD + cd bluez-5.75 + LICENSEDIR=/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/licenses/bluez-libs + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/licenses/bluez-libs + cp -pr /builddir/build/BUILD/bluez-5.75/COPYING /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/licenses/bluez-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: bluez-libs = 5.75-1.fc41 bluez-libs(x86-64) = 5.75-1.fc41 libbluetooth.so.3()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) rtld(GNU_HASH) Processing files: bluez-libs-devel-5.75-1.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iFNTsn + umask 022 + cd /builddir/build/BUILD + cd bluez-5.75 + DOCDIR=/builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/assigned-numbers.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/btsnoop.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/health-api.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/mgmt-api.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/pics-opp.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/pixit-opp.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/pts-opp.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/sap-api.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/settings-storage.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/supported-features.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.75/doc/test-coverage.txt /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64/usr/share/doc/bluez-libs-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: bluez-libs-devel = 5.75-1.fc41 bluez-libs-devel(x86-64) = 5.75-1.fc41 pkgconfig(bluez) = 5.75 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libbluetooth.so.3()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) rtld(GNU_HASH) Processing files: bluez-hid2hci-5.75-1.fc41.x86_64 Provides: bluez-hid2hci = 5.75-1.fc41 bluez-hid2hci(x86-64) = 5.75-1.fc41 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) rtld(GNU_HASH) Processing files: bluez-mesh-5.75-1.fc41.x86_64 Provides: bluez-mesh = 5.75-1.fc41 bluez-mesh(x86-64) = 5.75-1.fc41 config(bluez-mesh) = 5.75-1.fc41 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libell.so.0()(64bit) libell.so.0(ELL_0.10)(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libreadline.so.8()(64bit) rtld(GNU_HASH) Processing files: bluez-obexd-5.75-1.fc41.x86_64 Provides: bluez-obexd = 5.75-1.fc41 bluez-obexd(x86-64) = 5.75-1.fc41 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libdbus-1.so.3()(64bit) libdbus-1.so.3(LIBDBUS_1_3)(64bit) libglib-2.0.so.0()(64bit) libicalvcal.so.3()(64bit) rtld(GNU_HASH) Processing files: bluez-debugsource-5.75-1.fc41.x86_64 Provides: bluez-debugsource = 5.75-1.fc41 bluez-debugsource(x86-64) = 5.75-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bluez-debuginfo-5.75-1.fc41.x86_64 Provides: bluez-debuginfo = 5.75-1.fc41 bluez-debuginfo(x86-64) = 5.75-1.fc41 debuginfo(build-id) = 23dba6d89b3679d205889470b54e0dc62d821653 debuginfo(build-id) = 33243bb515e11840b5ce8abd2370f9ac3f4f3266 debuginfo(build-id) = 36d52ce4e3219a4c8d0041e39952c5cdbded02cd debuginfo(build-id) = 546e3dea49a6b061600935af1b82abf1aedecf77 debuginfo(build-id) = 62a5253730b1f07b53a56b2865150c61a9a8b4d9 debuginfo(build-id) = ad6b7f4a47abbe7b3b2eb63717387d74fe993247 debuginfo(build-id) = cf4486f218bd6ffc1bc1a557c48f972004e38089 debuginfo(build-id) = e902cc209e948fd51e04709b0e23bfea09ac7511 debuginfo(build-id) = ec9133b389d293f1e1ef8d4a270cf8af9e41c571 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bluez-debugsource(x86-64) = 5.75-1.fc41 Processing files: bluez-cups-debuginfo-5.75-1.fc41.x86_64 Provides: bluez-cups-debuginfo = 5.75-1.fc41 bluez-cups-debuginfo(x86-64) = 5.75-1.fc41 debuginfo(build-id) = 160dc129d9ef44ca3df0a7f521b3cd40bf7ce529 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bluez-debugsource(x86-64) = 5.75-1.fc41 Processing files: bluez-deprecated-debuginfo-5.75-1.fc41.x86_64 Provides: bluez-deprecated-debuginfo = 5.75-1.fc41 bluez-deprecated-debuginfo(x86-64) = 5.75-1.fc41 debuginfo(build-id) = 3922c72013989e255a1eaad2d4c968b35f571612 debuginfo(build-id) = 4467ce21791f73f1711b7dd67fc1584e2fd50051 debuginfo(build-id) = 469e007d7a114d8167e9fe60f1711362bdad1e77 debuginfo(build-id) = 5021f1ca1a20e766e5b389d6187abd25a6ab4b96 debuginfo(build-id) = 75323466e7783522f8f828594a4394acf5c408db debuginfo(build-id) = 901ecf79da09cea060f6483c14fcfc698832a7ac debuginfo(build-id) = 9d8cd8df3a8b718fac7a3605c2f7a9a9656b5021 debuginfo(build-id) = b24fba9adae9e53846fe7d79cb0a927fc66410e1 debuginfo(build-id) = bc7d80fcd88fe8882480888511d516ec5a6617a3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bluez-debugsource(x86-64) = 5.75-1.fc41 Processing files: bluez-libs-debuginfo-5.75-1.fc41.x86_64 Provides: bluez-libs-debuginfo = 5.75-1.fc41 bluez-libs-debuginfo(x86-64) = 5.75-1.fc41 debuginfo(build-id) = c06cc150b16a0785f9070bb803758342b5c10689 libbluetooth.so.3.19.14-5.75-1.fc41.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bluez-debugsource(x86-64) = 5.75-1.fc41 Processing files: bluez-libs-devel-debuginfo-5.75-1.fc41.x86_64 Provides: bluez-libs-devel-debuginfo = 5.75-1.fc41 bluez-libs-devel-debuginfo(x86-64) = 5.75-1.fc41 debuginfo(build-id) = 43908be34d69347ec9dc0a6a078c93b629e975e1 debuginfo(build-id) = 4bbd53eaef96385c0f0263b4ca7ee1e0478ee214 debuginfo(build-id) = 4f1e86b85a702a53bb5633415947245f28997dad debuginfo(build-id) = 7761f4e04fc358e608018d8f70271c3074269241 debuginfo(build-id) = 8f7d70f1bd98d2647d553eb15d8944f5da700d14 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bluez-debugsource(x86-64) = 5.75-1.fc41 Processing files: bluez-hid2hci-debuginfo-5.75-1.fc41.x86_64 Provides: bluez-hid2hci-debuginfo = 5.75-1.fc41 bluez-hid2hci-debuginfo(x86-64) = 5.75-1.fc41 debuginfo(build-id) = 6aa4d690a263c5ff31ebf1c10fd7334eb0617bb1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bluez-debugsource(x86-64) = 5.75-1.fc41 Processing files: bluez-mesh-debuginfo-5.75-1.fc41.x86_64 Provides: bluez-mesh-debuginfo = 5.75-1.fc41 bluez-mesh-debuginfo(x86-64) = 5.75-1.fc41 debuginfo(build-id) = 9047eae3bc60eaa409705f16046acc0541803f9d debuginfo(build-id) = b0f2c18c70a4e5a7f9085b4750daa337e55cc2db debuginfo(build-id) = befc6ce744330ab4bdb39746c1e7744289e15944 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bluez-debugsource(x86-64) = 5.75-1.fc41 Processing files: bluez-obexd-debuginfo-5.75-1.fc41.x86_64 Provides: bluez-obexd-debuginfo = 5.75-1.fc41 bluez-obexd-debuginfo(x86-64) = 5.75-1.fc41 debuginfo(build-id) = dc95c6d64afc428d697d81ddf3e1d496e6ecc96c Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bluez-debugsource(x86-64) = 5.75-1.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bluez-5.75-1.fc41.x86_64 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/bluez.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-04-22 10:56:13 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT > /builddir/shellcheck-capture.err" >>> 2024-04-22 10:56:15 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-capture.err'' | tar -xC '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/raw-results'" tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-04-22 10:56:16 "cat '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CLANG_WARNING --event error | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/uni-results/cswrap-capture.js'" >>> 2024-04-22 10:56:17 "csgrep --quiet '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/uni-results/shellcheck-capture.err'" scan.ini: time-finished = 2024-04-22 10:56:17 scan.ini: exit-code = 0 >>> 2024-04-22 10:56:17 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/scan.ini' '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/uni-results'/* > '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/scan-results-all.js'" >>> 2024-04-22 10:56:17 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/scan-results-all.js' >'/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/scan-results-all.js.tmp'" >>> 2024-04-22 10:56:18 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-04-22 10:56:21 "cat '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\\.c\$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/scan-results.js'" >>> 2024-04-22 10:56:21 "cat '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/scan-results.js' - | cssort > '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/suppressed-results.js'" >>> 2024-04-22 10:56:22 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/suppressed-results.js' > '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/suppressed-results.err'" >>> 2024-04-22 10:56:22 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/suppressed-results.html'" >>> 2024-04-22 10:56:22 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/suppressed-results.js' | tee '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/debug/suppressed-results-summary.txt'" >>> 2024-04-22 10:56:22 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/scan-results.js' > '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/scan-results.err'" >>> 2024-04-22 10:56:22 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/scan-results.js' | cshtml - > '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/scan-results.html'" >>> 2024-04-22 10:56:22 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/scan-results.js' | tee '/tmp/csmockyn96pidn/bluez-5.75-1.fc41/scan-results-summary.txt'" 16 CLANG_WARNING warning[core.CallAndMessage] 5 CLANG_WARNING warning[core.NonNullParamChecker] 11 CLANG_WARNING warning[core.NullDereference] 1 CLANG_WARNING warning[core.UndefinedBinaryOperatorResult] 11 CLANG_WARNING warning[core.uninitialized.Assign] 1 CLANG_WARNING warning[core.uninitialized.UndefReturn] 61 CLANG_WARNING warning[deadcode.DeadStores] 3 CLANG_WARNING warning[unix.MallocSizeof] 23 CLANG_WARNING warning[unix.Malloc] 4 COMPILER_WARNING warning[-Wformat-truncation=] 3 CPPCHECK_WARNING error[comparePointers] 4 CPPCHECK_WARNING error[legacyUninitvar] 2 CPPCHECK_WARNING error[uninitStructMember] 1 CPPCHECK_WARNING error[uninitvar] 3 CPPCHECK_WARNING warning[uninitvar] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-allocation-size] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-deref-before-check] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-double-close] 25 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 10 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-phase-mismatch] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-use-after-close] 4 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-use-without-check] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 13 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument] 68 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-out-of-bounds] 15 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument] 13 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-dereference] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-unsafe-call-within-signal-handler] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-after-free] 14 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value] <<< 2024-04-22 10:56:22 csmock exit code: 0 Wrote: /tmp/tmpm8gqi9gz/bluez-5.75-1.fc41.tar.xz