scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmplki9ox_9/bluez-5.79-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmplki9ox_9/bluez-5.79-1.fc42.src.rpm' scan.ini: host = ip-172-16-1-225.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmplki9ox_9/bluez-5.79-1.fc42.tar.xz scan.ini: time-created = 2024-11-12 23:24:30 scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol scan.ini: mock-config = fedora-rawhide-gcc-latest-x86_64 scan.ini: project-name = bluez-5.79-1.fc42 >>> 2024-11-12 23:24:30 rpm -qa | sort -V > '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/rpm-list-host.txt' scan.ini: analyzer-version-unicontrol = 0.0.2 >>> 2024-11-12 23:24:31 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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.9 INFO: Mock Version: 5.9 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-11-12 23:24:32 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockmlfrimso/bluez-5.79-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1730505600 Wrote: /builddir/build/SRPMS/bluez-5.79-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 8.0 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: autoconf noarch 2.72-3.fc41 fedora 2.8 MiB automake noarch 1.16.5-17.fc41 fedora 1.7 MiB cups-devel x86_64 1:2.4.11-2.fc42 fedora 185.8 KiB dbus-devel x86_64 1:1.14.10-4.fc41 fedora 129.9 KiB glib2-devel x86_64 2.83.0-1.fc42 fedora 15.8 MiB json-c-devel x86_64 0.18-1.fc42 fedora 152.7 KiB libell-devel x86_64 0.70-1.fc42 fedora 126.1 KiB libical-devel x86_64 3.0.18-2.fc41 fedora 725.0 KiB libtool x86_64 2.4.7-12.fc41 fedora 2.6 MiB make x86_64 1:4.4.1-9.fc42 fedora 1.8 MiB python3-docutils noarch 0.21.2-1.fc42 fedora 4.9 MiB python3-pygments noarch 2.18.0-2.fc42 fedora 10.6 MiB readline-devel x86_64 8.2-11.fc42 fedora 553.0 KiB systemd x86_64 257~rc1-2.fc42 fedora 17.4 MiB systemd-devel x86_64 257~rc1-2.fc42 fedora 610.8 KiB Installing dependencies: annobin-docs noarch 12.70-1.fc42 fedora 97.7 KiB annobin-plugin-gcc x86_64 12.70-1.fc42 fedora 985.6 KiB avahi x86_64 0.8-30.fc42 fedora 1.2 MiB avahi-devel x86_64 0.8-30.fc42 fedora 130.5 KiB avahi-libs x86_64 0.8-30.fc42 fedora 174.2 KiB cmake-filesystem x86_64 3.30.5-1.fc42 fedora 0.0 B cpp x86_64 14.2.1-6.fc42 fedora 35.0 MiB cups-libs x86_64 1:2.4.11-2.fc42 fedora 622.9 KiB dbus x86_64 1:1.14.10-4.fc41 fedora 0.0 B dbus-broker x86_64 36-4.fc41 fedora 382.8 KiB dbus-common noarch 1:1.14.10-4.fc41 fedora 11.2 KiB dbus-libs x86_64 1:1.14.10-4.fc41 fedora 368.9 KiB emacs-filesystem noarch 1:30.0-3.fc41 fedora 0.0 B expat x86_64 2.6.4-1.fc42 fedora 285.5 KiB gcc x86_64 14.2.1-6.fc42 fedora 104.3 MiB gcc-plugin-annobin x86_64 14.2.1-6.fc42 fedora 57.6 KiB glib2 x86_64 2.83.0-1.fc42 fedora 14.7 MiB glibc-devel x86_64 2.40.9000-16.fc42 fedora 2.3 MiB gmp-c++ x86_64 1:6.3.0-2.fc41 fedora 31.8 KiB gmp-devel x86_64 1:6.3.0-2.fc41 fedora 352.3 KiB gnutls x86_64 3.8.8-1.fc42 fedora 3.2 MiB gnutls-c++ x86_64 3.8.8-1.fc42 fedora 72.7 KiB gnutls-dane x86_64 3.8.8-1.fc42 fedora 70.0 KiB gnutls-devel x86_64 3.8.8-1.fc42 fedora 5.6 MiB groff-base x86_64 1.23.0-7.fc41 fedora 3.8 MiB hiredis x86_64 1.2.0-4.fc42 fedora 114.0 KiB kernel-headers x86_64 6.12.0-0.rc7.58.fc42 fedora 6.4 MiB keyutils-libs-devel x86_64 1.6.3-4.fc41 fedora 48.2 KiB krb5-devel x86_64 1.21.3-3.fc42 fedora 705.9 KiB libb2 x86_64 0.98.1-12.fc41 fedora 42.2 KiB libblkid-devel x86_64 2.40.2-8.fc42 fedora 44.9 KiB libcom_err-devel x86_64 1.47.1-6.fc42 fedora 16.7 KiB libdaemon x86_64 0.14-30.fc41 fedora 68.3 KiB libell x86_64 0.70-1.fc42 fedora 588.2 KiB libevent-devel x86_64 2.1.12-14.fc41 fedora 426.0 KiB libffi-devel x86_64 3.4.6-3.fc42 fedora 33.1 KiB libical x86_64 3.0.18-2.fc41 fedora 1.7 MiB libicu x86_64 74.2-2.fc41 fedora 34.9 MiB libicu-devel x86_64 74.2-2.fc41 fedora 5.6 MiB libidn2-devel x86_64 2.3.7-2.fc41 fedora 252.1 KiB libkadm5 x86_64 1.21.3-3.fc42 fedora 211.6 KiB libmount-devel x86_64 2.40.2-8.fc42 fedora 63.5 KiB libmpc x86_64 1.3.1-6.fc41 fedora 164.7 KiB libseccomp x86_64 2.5.5-2.fc41 fedora 173.3 KiB libselinux-devel x86_64 3.7-6.fc42 fedora 126.5 KiB libsepol-devel x86_64 3.7-3.fc42 fedora 120.3 KiB libtasn1-devel x86_64 4.19.0-9.fc41 fedora 76.1 KiB libtasn1-tools x86_64 4.19.0-9.fc41 fedora 65.6 KiB libverto-devel x86_64 0.3.2-9.fc41 fedora 25.7 KiB libxcrypt-devel x86_64 4.4.36-10.fc42 fedora 30.5 KiB m4 x86_64 1.4.19-10.fc41 fedora 592.9 KiB mpdecimal x86_64 2.5.1-16.fc41 fedora 204.9 KiB ncurses x86_64 6.5-2.20240629.fc41 fedora 627.3 KiB ncurses-c++-libs x86_64 6.5-2.20240629.fc41 fedora 161.7 KiB ncurses-devel x86_64 6.5-2.20240629.fc41 fedora 870.1 KiB nettle x86_64 3.10-3.fc41 fedora 793.0 KiB nettle-devel x86_64 3.10-3.fc41 fedora 1.5 MiB p11-kit-devel x86_64 0.25.5-4.fc42 fedora 554.2 KiB pcre2-devel x86_64 10.44-1.fc41.1 fedora 2.0 MiB pcre2-utf16 x86_64 10.44-1.fc41.1 fedora 590.1 KiB pcre2-utf32 x86_64 10.44-1.fc41.1 fedora 562.0 KiB perl-AutoLoader noarch 5.74-512.fc42 fedora 20.5 KiB perl-B x86_64 1.89-512.fc42 fedora 498.0 KiB perl-Carp noarch 1.54-511.fc41 fedora 46.6 KiB perl-Class-Struct noarch 0.68-512.fc42 fedora 25.4 KiB perl-Data-Dumper x86_64 2.189-512.fc41 fedora 111.7 KiB perl-Digest noarch 1.20-511.fc41 fedora 35.3 KiB perl-Digest-MD5 x86_64 2.59-5.fc41 fedora 59.8 KiB perl-DynaLoader x86_64 1.56-512.fc42 fedora 32.1 KiB perl-Encode x86_64 4:3.21-511.fc41 fedora 4.7 MiB perl-Errno x86_64 1.38-512.fc42 fedora 8.4 KiB perl-Exporter noarch 5.78-511.fc41 fedora 54.3 KiB perl-Fcntl x86_64 1.18-512.fc42 fedora 49.0 KiB perl-File-Basename noarch 2.86-512.fc42 fedora 14.0 KiB perl-File-Compare noarch 1.100.800-512.fc42 fedora 5.6 KiB perl-File-Copy noarch 2.41-512.fc42 fedora 19.6 KiB perl-File-Find noarch 1.44-512.fc42 fedora 41.9 KiB perl-File-Path noarch 2.18-511.fc41 fedora 63.5 KiB perl-File-Temp noarch 1:0.231.100-511.fc41 fedora 162.3 KiB perl-File-stat noarch 1.14-512.fc42 fedora 12.5 KiB perl-FileHandle noarch 2.05-512.fc42 fedora 9.3 KiB perl-Getopt-Long noarch 1:2.58-2.fc41 fedora 144.5 KiB perl-Getopt-Std noarch 1.14-512.fc42 fedora 11.2 KiB perl-HTTP-Tiny noarch 0.088-512.fc41 fedora 152.2 KiB perl-IO x86_64 1.55-512.fc42 fedora 151.1 KiB perl-IO-Socket-IP noarch 0.42-512.fc41 fedora 98.7 KiB perl-IO-Socket-SSL noarch 2.089-1.fc42 fedora 703.3 KiB perl-IPC-Open3 noarch 1.22-512.fc42 fedora 22.5 KiB perl-MIME-Base32 noarch 1.303-21.fc41 fedora 30.7 KiB perl-MIME-Base64 x86_64 3.16-511.fc41 fedora 46.1 KiB perl-Mozilla-CA noarch 20240924-1.fc42 fedora 10.3 KiB perl-Net-SSLeay x86_64 1.94-7.fc41 fedora 1.3 MiB perl-POSIX x86_64 2.20-512.fc42 fedora 235.1 KiB perl-PathTools x86_64 3.91-511.fc41 fedora 180.0 KiB perl-Pod-Escapes noarch 1:1.07-511.fc41 fedora 24.9 KiB perl-Pod-Perldoc noarch 3.28.01-512.fc41 fedora 163.7 KiB perl-Pod-Simple noarch 1:3.45-511.fc41 fedora 560.9 KiB perl-Pod-Usage noarch 4:2.03-511.fc41 fedora 84.8 KiB perl-Scalar-List-Utils x86_64 5:1.68-1.fc42 fedora 148.9 KiB perl-SelectSaver noarch 1.02-512.fc42 fedora 2.2 KiB perl-Socket x86_64 4:2.038-511.fc41 fedora 124.0 KiB perl-Storable x86_64 1:3.32-511.fc41 fedora 232.4 KiB perl-Symbol noarch 1.09-512.fc42 fedora 6.8 KiB perl-Term-ANSIColor noarch 5.01-512.fc41 fedora 97.5 KiB perl-Term-Cap noarch 1.18-511.fc41 fedora 29.3 KiB perl-Text-ParseWords noarch 3.31-511.fc41 fedora 13.6 KiB perl-Text-Tabs+Wrap noarch 2024.001-511.fc41 fedora 22.6 KiB perl-Thread-Queue noarch 3.14-511.fc41 fedora 28.9 KiB perl-Time-Local noarch 2:1.350-511.fc41 fedora 69.0 KiB perl-URI noarch 5.31-1.fc42 fedora 257.0 KiB perl-base noarch 2.27-512.fc42 fedora 12.5 KiB perl-constant noarch 1.33-512.fc41 fedora 26.2 KiB perl-if noarch 0.61.000-512.fc42 fedora 5.8 KiB perl-interpreter x86_64 4:5.40.0-512.fc42 fedora 122.3 KiB perl-libnet noarch 3.15-512.fc41 fedora 289.4 KiB perl-libs x86_64 4:5.40.0-512.fc42 fedora 9.9 MiB perl-locale noarch 1.12-512.fc42 fedora 6.5 KiB perl-mro x86_64 1.29-512.fc42 fedora 45.6 KiB perl-overload noarch 1.37-512.fc42 fedora 71.5 KiB perl-overloading noarch 0.02-512.fc42 fedora 4.8 KiB perl-parent noarch 1:0.242-1.fc42 fedora 10.0 KiB perl-podlators noarch 1:6.0.2-2.fc41 fedora 317.5 KiB perl-threads x86_64 1:2.40-511.fc41 fedora 115.1 KiB perl-threads-shared x86_64 1.69-511.fc41 fedora 83.7 KiB perl-vars noarch 1.05-512.fc42 fedora 3.9 KiB protobuf-c x86_64 1.5.0-4.fc41 fedora 54.0 KiB python-pip-wheel noarch 24.2-2.fc42 fedora 1.2 MiB python3 x86_64 3.13.0-1.fc42 fedora 31.8 KiB python3-libs x86_64 3.13.0-1.fc42 fedora 40.4 MiB python3-packaging noarch 24.2-2.fc42 fedora 555.7 KiB sysprof-capture-devel x86_64 47.1-1.fc42 fedora 273.1 KiB systemd-pam x86_64 257~rc1-2.fc42 fedora 1.1 MiB systemd-rpm-macros noarch 257~rc1-2.fc42 fedora 10.7 KiB tzdata noarch 2024a-9.fc41 fedora 1.7 MiB unbound-libs x86_64 1.22.0-1.fc42 fedora 1.4 MiB xml-common noarch 0.6.3-65.fc41 fedora 78.4 KiB zlib-ng-compat-devel x86_64 2.2.2-1.fc42 fedora 106.8 KiB Transaction Summary: Installing: 152 packages Total size of inbound packages is 112 MiB. Need to download 0 B. After this operation, 363 MiB extra will be used (install 363 MiB, remove 0 B). [1/1] autoconf-0:2.72-3.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] automake-0:1.16.5-17.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] libtool-0:2.4.7-12.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] make-1:4.4.1-9.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] python3-docutils-0:0.21.2-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] python3-pygments-0:2.18.0-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] cups-devel-1:2.4.11-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] dbus-devel-1:1.14.10-4.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] glib2-devel-0:2.83.0-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] json-c-devel-0:0.18-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] libell-devel-0:0.70-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] libical-devel-0:3.0.18-2.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/13] readline-devel-0:8.2-11.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [13/13] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/14] systemd-0:257~rc1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [14/14] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/15] systemd-devel-0:257~rc1-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [15/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/16] emacs-filesystem-1:30.0-3.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [16/16] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/17] m4-0:1.4.19-10.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [17/17] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/18] perl-Carp-0:1.54-511.fc41.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/19] perl-Class-Struct-0:0.68-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [19/19] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/20] perl-Data-Dumper-0:2.189-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [20/20] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/21] perl-Errno-0:1.38-512.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [21/21] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/22] perl-Exporter-0:5.78-511.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [22/22] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/23] perl-File-Basename-0:2.86-512.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [23/23] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/24] perl-File-Compare-0:1.100.800-5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [24/24] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/25] perl-File-Copy-0:2.41-512.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [25/25] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/26] perl-File-Find-0:1.44-512.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [26/26] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/27] perl-File-Temp-1:0.231.100-511. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [27/27] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/28] perl-File-stat-0:1.14-512.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [28/28] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/29] perl-Getopt-Long-1:2.58-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [29/29] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/30] perl-IO-0:1.55-512.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [30/30] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/31] perl-POSIX-0:2.20-512.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [31/31] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/32] perl-PathTools-0:3.91-511.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [32/32] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/33] perl-Text-ParseWords-0:3.31-511 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [33/33] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/34] perl-constant-0:1.33-512.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [34/34] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/35] perl-interpreter-4:5.40.0-512.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [35/35] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/36] perl-File-Path-0:2.18-511.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [36/36] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/37] perl-Thread-Queue-0:3.14-511.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [37/37] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/38] perl-threads-1:2.40-511.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [38/38] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/39] gcc-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [39/39] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/40] cups-libs-1:2.4.11-2.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [40/40] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/41] cmake-filesystem-0:3.30.5-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [41/41] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/42] dbus-libs-1:1.14.10-4.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [42/42] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/43] xml-common-0:0.6.3-65.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [43/43] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/44] glib2-0:2.83.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [44/44] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/45] python3-packaging-0:24.2-2.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [45/45] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/46] libell-0:0.70-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [46/46] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/47] libical-0:3.0.18-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [47/47] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/48] dbus-1:1.14.10-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [48/48] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/49] libseccomp-0:2.5.5-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [49/49] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/50] systemd-pam-0:257~rc1-2.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [50/50] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/51] perl-B-0:1.89-512.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [51/51] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/52] perl-Scalar-List-Utils-5:1.68-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [52/52] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/53] perl-libs-4:5.40.0-512.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [53/53] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/54] perl-overload-0:1.37-512.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [54/54] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/55] perl-Fcntl-0:1.18-512.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [55/55] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/56] perl-parent-1:0.242-1.fc42.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [56/56] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/57] perl-Symbol-0:1.09-512.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [57/57] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/58] perl-Pod-Usage-4:2.03-511.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [58/58] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/59] perl-base-0:2.27-512.fc42.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [59/59] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/60] perl-SelectSaver-0:1.02-512.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [60/60] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/61] perl-Socket-4:2.038-511.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [61/61] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/62] perl-locale-0:1.12-512.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [62/62] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/63] perl-vars-0:1.05-512.fc42.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [63/63] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/64] perl-threads-shared-0:1.69-511. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [64/64] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/65] cpp-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [65/65] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/66] libmpc-0:1.3.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [66/66] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/67] avahi-libs-0:0.8-30.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [67/67] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/68] gnutls-0:3.8.8-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [68/68] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/69] libicu-0:74.2-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [69/69] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/70] tzdata-0:2024a-9.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [70/70] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/71] dbus-broker-0:36-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [71/71] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/72] perl-if-0:0.61.000-512.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [72/72] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/73] perl-overloading-0:0.02-512.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [73/73] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/74] perl-DynaLoader-0:1.56-512.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [74/74] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/75] perl-mro-0:1.29-512.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [75/75] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/76] perl-Pod-Perldoc-0:3.28.01-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [76/76] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/77] perl-podlators-1:6.0.2-2.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [77/77] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/78] nettle-0:3.10-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [78/78] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/79] dbus-common-1:1.14.10-4.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [79/79] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/80] expat-0:2.6.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [80/80] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/81] groff-base-0:1.23.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [81/81] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/82] perl-HTTP-Tiny-0:0.088-512.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [82/82] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/83] perl-IPC-Open3-0:1.22-512.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [83/83] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/84] perl-Pod-Simple-1:3.45-511.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [84/84] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/85] perl-Term-ANSIColor-0:5.01-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [85/85] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/86] perl-Term-Cap-0:1.18-511.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [86/86] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/87] perl-IO-Socket-SSL-0:2.089-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [87/87] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/88] perl-MIME-Base64-0:3.16-511.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [88/88] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/89] perl-Mozilla-CA-0:20240924-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [89/89] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/90] perl-Net-SSLeay-0:1.94-7.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [90/90] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/91] perl-Time-Local-2:1.350-511.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [91/91] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/92] perl-Pod-Escapes-1:1.07-511.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [92/92] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/93] perl-Text-Tabs+Wrap-0:2024.001- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [93/93] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/94] ncurses-0:6.5-2.20240629.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [94/94] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/95] perl-IO-Socket-IP-0:0.42-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [95/95] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/96] perl-URI-0:5.31-1.fc42.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [96/96] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/97] perl-AutoLoader-0:5.74-512.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [97/97] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/98] perl-MIME-Base32-0:1.303-21.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [98/98] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/99] perl-libnet-0:3.15-512.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [99/99] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/100] perl-Digest-MD5-0:2.59-5.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [100/100] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/101] perl-FileHandle-0:2.05-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [101/101] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/102] perl-Digest-0:1.20-511.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [102/102] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/103] ncurses-devel-0:6.5-2.2024062 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [103/103] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/104] ncurses-c++-libs-0:6.5-2.2024 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [104/104] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/105] python3-0:3.13.0-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [105/105] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/106] python3-libs-0:3.13.0-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [106/106] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/107] libb2-0:0.98.1-12.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [107/107] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/108] mpdecimal-0:2.5.1-16.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [108/108] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/109] python-pip-wheel-0:24.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [109/109] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/110] perl-Encode-4:3.21-511.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [110/110] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/111] perl-Getopt-Std-0:1.14-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [111/111] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/112] perl-Storable-1:3.32-511.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [112/112] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/113] libicu-devel-0:74.2-2.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [113/113] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/114] libffi-devel-0:3.4.6-3.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [114/114] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/115] libmount-devel-0:2.40.2-8.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [115/115] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/116] libselinux-devel-0:3.7-6.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [116/116] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/117] libsepol-devel-0:3.7-3.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [117/117] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/118] pcre2-devel-0:10.44-1.fc41.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [118/118] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/119] pcre2-utf16-0:10.44-1.fc41.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [119/119] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/120] pcre2-utf32-0:10.44-1.fc41.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [120/120] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/121] sysprof-capture-devel-0:47.1- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [121/121] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/122] zlib-ng-compat-devel-0:2.2.2- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [122/122] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/123] glibc-devel-0:2.40.9000-16.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [123/123] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/124] libxcrypt-devel-0:4.4.36-10.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [124/124] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/125] avahi-devel-0:0.8-30.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [125/125] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/126] avahi-0:0.8-30.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [126/126] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/127] libdaemon-0:0.14-30.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [127/127] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/128] gnutls-devel-0:3.8.8-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [128/128] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/129] gnutls-c++-0:3.8.8-1.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [129/129] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/130] gnutls-dane-0:3.8.8-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [130/130] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/131] unbound-libs-0:1.22.0-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [131/131] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/132] hiredis-0:1.2.0-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [132/132] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/133] protobuf-c-0:1.5.0-4.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [133/133] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/134] krb5-devel-0:1.21.3-3.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [134/134] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/135] libkadm5-0:1.21.3-3.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [135/135] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/136] libevent-devel-0:2.1.12-14.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [136/136] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/137] libblkid-devel-0:2.40.2-8.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [137/137] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/138] keyutils-libs-devel-0:1.6.3-4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [138/138] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/139] libcom_err-devel-0:1.47.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [139/139] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/140] libverto-devel-0:0.3.2-9.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [140/140] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/141] libidn2-devel-0:2.3.7-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [141/141] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/142] libtasn1-devel-0:4.19.0-9.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [142/142] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/143] libtasn1-tools-0:4.19.0-9.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [143/143] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/144] nettle-devel-0:3.10-3.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [144/144] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/145] gmp-devel-1:6.3.0-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [145/145] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/146] gmp-c++-1:6.3.0-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [146/146] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/147] p11-kit-devel-0:0.25.5-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [147/147] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/148] kernel-headers-0:6.12.0-0.rc7 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [148/148] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/149] annobin-plugin-gcc-0:12.70-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [149/149] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/150] gcc-plugin-annobin-0:14.2.1-6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [150/150] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/151] annobin-docs-0:12.70-1.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [151/151] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/152] systemd-rpm-macros-0:257~rc1- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [152/152] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/154] Verify package files 100% | 410.0 B/s | 152.0 B | 00m00s [ 2/154] Prepare transaction 100% | 1.6 KiB/s | 152.0 B | 00m00s [ 3/154] Installing nettle-0:3.10-3.fc 100% | 129.6 MiB/s | 796.1 KiB | 00m00s [ 4/154] Installing gnutls-0:3.8.8-1.f 100% | 249.9 MiB/s | 3.2 MiB | 00m00s [ 5/154] Installing cmake-filesystem-0 100% | 2.4 MiB/s | 7.3 KiB | 00m00s [ 6/154] Installing expat-0:2.6.4-1.fc 100% | 70.2 MiB/s | 287.6 KiB | 00m00s [ 7/154] Installing dbus-libs-1:1.14.1 100% | 120.5 MiB/s | 370.0 KiB | 00m00s [ 8/154] Installing avahi-libs-0:0.8-3 100% | 57.6 MiB/s | 176.8 KiB | 00m00s [ 9/154] Installing zlib-ng-compat-dev 100% | 17.6 MiB/s | 108.3 KiB | 00m00s [ 10/154] Installing tzdata-0:2024a-9.f 100% | 32.3 MiB/s | 1.9 MiB | 00m00s [ 11/154] Installing libicu-0:74.2-2.fc 100% | 339.4 MiB/s | 35.0 MiB | 00m00s [ 12/154] Installing libmpc-0:1.3.1-6.f 100% | 40.6 MiB/s | 166.2 KiB | 00m00s [ 13/154] Installing cpp-0:14.2.1-6.fc4 100% | 346.3 MiB/s | 35.0 MiB | 00m00s [ 14/154] Installing libical-0:3.0.18-2 100% | 207.2 MiB/s | 1.7 MiB | 00m00s [ 15/154] Installing libicu-devel-0:74. 100% | 176.3 MiB/s | 5.6 MiB | 00m00s [ 16/154] Installing cups-libs-1:2.4.11 100% | 121.9 MiB/s | 624.3 KiB | 00m00s [ 17/154] Installing glib2-0:2.83.0-1.f 100% | 306.2 MiB/s | 14.7 MiB | 00m00s [ 18/154] Installing gnutls-c++-0:3.8.8 100% | 35.8 MiB/s | 73.4 KiB | 00m00s [ 19/154] Installing annobin-docs-0:12. 100% | 24.1 MiB/s | 98.8 KiB | 00m00s [ 20/154] Installing kernel-headers-0:6 100% | 122.1 MiB/s | 6.6 MiB | 00m00s [ 21/154] Installing libxcrypt-devel-0: 100% | 8.0 MiB/s | 32.9 KiB | 00m00s [ 22/154] Installing glibc-devel-0:2.40 100% | 93.2 MiB/s | 2.3 MiB | 00m00s [ 23/154] Installing p11-kit-devel-0:0. 100% | 91.6 MiB/s | 562.7 KiB | 00m00s [ 24/154] Installing gmp-c++-1:6.3.0-2. 100% | 15.9 MiB/s | 32.6 KiB | 00m00s [ 25/154] Installing gmp-devel-1:6.3.0- 100% | 115.3 MiB/s | 354.1 KiB | 00m00s [ 26/154] Installing nettle-devel-0:3.1 100% | 192.4 MiB/s | 1.5 MiB | 00m00s [ 27/154] Installing libtasn1-tools-0:4 100% | 22.0 MiB/s | 67.6 KiB | 00m00s [ 28/154] Installing libtasn1-devel-0:4 100% | 20.3 MiB/s | 83.1 KiB | 00m00s [ 29/154] Installing libidn2-devel-0:2. 100% | 63.5 MiB/s | 260.1 KiB | 00m00s [ 30/154] Installing libverto-devel-0:0 100% | 12.9 MiB/s | 26.4 KiB | 00m00s [ 31/154] Installing libcom_err-devel-0 100% | 5.9 MiB/s | 18.3 KiB | 00m00s [ 32/154] Installing keyutils-libs-deve 100% | 18.0 MiB/s | 55.2 KiB | 00m00s [ 33/154] Installing libblkid-devel-0:2 100% | 22.5 MiB/s | 46.0 KiB | 00m00s [ 34/154] Installing libkadm5-0:1.21.3- 100% | 69.5 MiB/s | 213.6 KiB | 00m00s [ 35/154] Installing protobuf-c-0:1.5.0 100% | 27.1 MiB/s | 55.5 KiB | 00m00s [ 36/154] Installing hiredis-0:1.2.0-4. 100% | 56.5 MiB/s | 115.7 KiB | 00m00s [ 37/154] Installing libdaemon-0:0.14-3 100% | 34.0 MiB/s | 69.5 KiB | 00m00s [ 38/154] Installing sysprof-capture-de 100% | 89.8 MiB/s | 276.0 KiB | 00m00s [ 39/154] Installing pcre2-utf32-0:10.4 100% | 183.2 MiB/s | 562.8 KiB | 00m00s [ 40/154] Installing pcre2-utf16-0:10.4 100% | 144.3 MiB/s | 590.9 KiB | 00m00s [ 41/154] Installing pcre2-devel-0:10.4 100% | 142.5 MiB/s | 2.0 MiB | 00m00s [ 42/154] Installing libsepol-devel-0:3 100% | 25.0 MiB/s | 127.8 KiB | 00m00s [ 43/154] Installing libselinux-devel-0 100% | 15.8 MiB/s | 161.3 KiB | 00m00s [ 44/154] Installing libmount-devel-0:2 100% | 21.0 MiB/s | 64.5 KiB | 00m00s [ 45/154] Installing krb5-devel-0:1.21. 100% | 116.4 MiB/s | 715.2 KiB | 00m00s [ 46/154] Installing libffi-devel-0:3.4 100% | 17.0 MiB/s | 34.8 KiB | 00m00s [ 47/154] Installing python-pip-wheel-0 100% | 310.4 MiB/s | 1.2 MiB | 00m00s [ 48/154] Installing mpdecimal-0:2.5.1- 100% | 100.6 MiB/s | 206.0 KiB | 00m00s [ 49/154] Installing libb2-0:0.98.1-12. 100% | 7.0 MiB/s | 43.3 KiB | 00m00s [ 50/154] Installing python3-libs-0:3.1 100% | 235.4 MiB/s | 40.7 MiB | 00m00s [ 51/154] Installing python3-0:3.13.0-1 100% | 10.9 MiB/s | 33.5 KiB | 00m00s [ 52/154] Installing python3-packaging- 100% | 92.4 MiB/s | 568.0 KiB | 00m00s [ 53/154] Installing libevent-devel-0:2 100% | 16.2 MiB/s | 432.3 KiB | 00m00s [ 54/154] Installing unbound-libs-0:1.2 100% | 179.5 MiB/s | 1.4 MiB | 00m00s [ 55/154] Installing gnutls-dane-0:3.8. 100% | 13.8 MiB/s | 70.8 KiB | 00m00s [ 56/154] Installing gnutls-devel-0:3.8 100% | 98.8 MiB/s | 5.8 MiB | 00m00s [ 57/154] Installing ncurses-c++-libs-0 100% | 39.8 MiB/s | 162.9 KiB | 00m00s [ 58/154] Installing ncurses-devel-0:6. 100% | 29.2 MiB/s | 1.0 MiB | 00m00s [ 59/154] Installing ncurses-0:6.5-2.20 100% | 56.3 MiB/s | 633.9 KiB | 00m00s [ 60/154] Installing groff-base-0:1.23. 100% | 143.4 MiB/s | 3.9 MiB | 00m00s [ 61/154] Installing perl-Digest-0:1.20 100% | 12.1 MiB/s | 37.1 KiB | 00m00s [ 62/154] Installing perl-B-0:1.89-512. 100% | 97.9 MiB/s | 501.3 KiB | 00m00s [ 63/154] Installing perl-FileHandle-0: 100% | 9.5 MiB/s | 9.8 KiB | 00m00s [ 64/154] Installing perl-Digest-MD5-0: 100% | 30.1 MiB/s | 61.7 KiB | 00m00s [ 65/154] Installing perl-Data-Dumper-0 100% | 37.0 MiB/s | 113.6 KiB | 00m00s [ 66/154] Installing perl-MIME-Base32-0 100% | 15.7 MiB/s | 32.2 KiB | 00m00s [ 67/154] Installing perl-libnet-0:3.15 100% | 57.6 MiB/s | 294.7 KiB | 00m00s [ 68/154] Installing perl-IO-Socket-IP- 100% | 32.7 MiB/s | 100.5 KiB | 00m00s [ 69/154] Installing perl-AutoLoader-0: 100% | 10.2 MiB/s | 20.9 KiB | 00m00s [ 70/154] Installing perl-URI-0:5.31-1. 100% | 43.9 MiB/s | 269.6 KiB | 00m00s [ 71/154] Installing perl-locale-0:1.12 100% | 3.4 MiB/s | 6.9 KiB | 00m00s [ 72/154] Installing perl-File-Path-0:2 100% | 31.5 MiB/s | 64.5 KiB | 00m00s [ 73/154] Installing perl-if-0:0.61.000 100% | 6.1 MiB/s | 6.2 KiB | 00m00s [ 74/154] Installing perl-Mozilla-CA-0: 100% | 5.5 MiB/s | 11.3 KiB | 00m00s [ 75/154] Installing perl-Time-Local-2: 100% | 23.0 MiB/s | 70.6 KiB | 00m00s [ 76/154] Installing perl-Pod-Escapes-1 100% | 12.7 MiB/s | 25.9 KiB | 00m00s [ 77/154] Installing perl-Text-Tabs+Wra 100% | 11.7 MiB/s | 23.9 KiB | 00m00s [ 78/154] Installing perl-Net-SSLeay-0: 100% | 136.3 MiB/s | 1.4 MiB | 00m00s [ 79/154] Installing perl-IO-Socket-SSL 100% | 138.2 MiB/s | 707.4 KiB | 00m00s [ 80/154] Installing perl-Class-Struct- 100% | 12.6 MiB/s | 25.9 KiB | 00m00s [ 81/154] Installing perl-POSIX-0:2.20- 100% | 76.9 MiB/s | 236.4 KiB | 00m00s [ 82/154] Installing perl-File-Temp-1:0 100% | 53.4 MiB/s | 164.1 KiB | 00m00s [ 83/154] Installing perl-IPC-Open3-0:1 100% | 11.4 MiB/s | 23.3 KiB | 00m00s [ 84/154] Installing perl-Term-ANSIColo 100% | 32.3 MiB/s | 99.2 KiB | 00m00s [ 85/154] Installing perl-Term-Cap-0:1. 100% | 14.9 MiB/s | 30.6 KiB | 00m00s [ 86/154] Installing perl-Pod-Simple-1: 100% | 92.8 MiB/s | 570.5 KiB | 00m00s [ 87/154] Installing perl-HTTP-Tiny-0:0 100% | 37.7 MiB/s | 154.2 KiB | 00m00s [ 88/154] Installing perl-Symbol-0:1.09 100% | 7.0 MiB/s | 7.2 KiB | 00m00s [ 89/154] Installing perl-SelectSaver-0 100% | 2.5 MiB/s | 2.6 KiB | 00m00s [ 90/154] Installing perl-Socket-4:2.03 100% | 41.0 MiB/s | 126.1 KiB | 00m00s [ 91/154] Installing perl-File-stat-0:1 100% | 6.4 MiB/s | 13.1 KiB | 00m00s [ 92/154] Installing perl-podlators-1:6 100% | 78.5 MiB/s | 321.4 KiB | 00m00s [ 93/154] Installing perl-Pod-Perldoc-0 100% | 41.3 MiB/s | 169.3 KiB | 00m00s [ 94/154] Installing perl-Text-ParseWor 100% | 7.1 MiB/s | 14.6 KiB | 00m00s [ 95/154] Installing perl-Fcntl-0:1.18- 100% | 24.5 MiB/s | 50.1 KiB | 00m00s [ 96/154] Installing perl-base-0:2.27-5 100% | 12.6 MiB/s | 12.9 KiB | 00m00s [ 97/154] Installing perl-overloading-0 100% | 5.4 MiB/s | 5.5 KiB | 00m00s [ 98/154] Installing perl-IO-0:1.55-512 100% | 37.9 MiB/s | 155.2 KiB | 00m00s [ 99/154] Installing perl-mro-0:1.29-51 100% | 22.8 MiB/s | 46.7 KiB | 00m00s [100/154] Installing perl-Pod-Usage-4:2 100% | 28.1 MiB/s | 86.3 KiB | 00m00s [101/154] Installing perl-Errno-0:1.38- 100% | 4.3 MiB/s | 8.8 KiB | 00m00s [102/154] Installing perl-File-Basename 100% | 14.2 MiB/s | 14.6 KiB | 00m00s [103/154] Installing perl-constant-0:1. 100% | 13.4 MiB/s | 27.4 KiB | 00m00s [104/154] Installing perl-Scalar-List-U 100% | 37.3 MiB/s | 152.6 KiB | 00m00s [105/154] Installing perl-parent-1:0.24 100% | 5.2 MiB/s | 10.7 KiB | 00m00s [106/154] Installing perl-vars-0:1.05-5 100% | 4.2 MiB/s | 4.3 KiB | 00m00s [107/154] Installing perl-overload-0:1. 100% | 35.1 MiB/s | 71.9 KiB | 00m00s [108/154] Installing perl-MIME-Base64-0 100% | 15.7 MiB/s | 48.4 KiB | 00m00s [109/154] Installing perl-Getopt-Std-0: 100% | 11.5 MiB/s | 11.7 KiB | 00m00s [110/154] Installing perl-Getopt-Long-1 100% | 47.9 MiB/s | 147.2 KiB | 00m00s [111/154] Installing perl-Storable-1:3. 100% | 76.2 MiB/s | 234.0 KiB | 00m00s [112/154] Installing perl-Exporter-0:5. 100% | 27.2 MiB/s | 55.6 KiB | 00m00s [113/154] Installing perl-PathTools-0:3 100% | 45.1 MiB/s | 184.6 KiB | 00m00s [114/154] Installing perl-DynaLoader-0: 100% | 15.9 MiB/s | 32.5 KiB | 00m00s [115/154] Installing perl-Encode-4:3.21 100% | 277.5 MiB/s | 4.7 MiB | 00m00s [116/154] Installing perl-Carp-0:1.54-5 100% | 11.6 MiB/s | 47.7 KiB | 00m00s [117/154] Installing perl-libs-4:5.40.0 100% | 160.9 MiB/s | 10.0 MiB | 00m00s [118/154] Installing perl-interpreter-4 100% | 40.4 MiB/s | 124.0 KiB | 00m00s [119/154] Installing perl-threads-1:2.4 100% | 38.1 MiB/s | 117.2 KiB | 00m00s [120/154] Installing perl-threads-share 100% | 28.0 MiB/s | 86.0 KiB | 00m00s [121/154] Installing perl-Thread-Queue- 100% | 14.8 MiB/s | 30.4 KiB | 00m00s [122/154] Installing perl-File-Compare- 100% | 6.0 MiB/s | 6.1 KiB | 00m00s [123/154] Installing perl-File-Copy-0:2 100% | 9.8 MiB/s | 20.2 KiB | 00m00s [124/154] Installing perl-File-Find-0:1 100% | 20.7 MiB/s | 42.5 KiB | 00m00s [125/154] Installing dbus-common-1:1.14 100% | 484.0 KiB/s | 13.6 KiB | 00m00s [126/154] Installing dbus-broker-0:36-4 100% | 41.8 MiB/s | 385.3 KiB | 00m00s [127/154] Installing dbus-1:1.14.10-4.f 100% | 5.5 KiB/s | 124.0 B | 00m00s [128/154] Installing avahi-0:0.8-30.fc4 100% | 78.7 MiB/s | 1.2 MiB | 00m00s [129/154] Installing avahi-devel-0:0.8- 100% | 33.1 MiB/s | 135.7 KiB | 00m00s [130/154] Installing libseccomp-0:2.5.5 100% | 57.0 MiB/s | 175.2 KiB | 00m00s [131/154] Installing systemd-pam-0:257~ 100% | 139.2 MiB/s | 1.1 MiB | 00m00s [132/154] Installing systemd-0:257~rc1- 100% | 96.0 MiB/s | 17.6 MiB | 00m00s [133/154] Installing libell-0:0.70-1.fc 100% | 72.0 MiB/s | 589.7 KiB | 00m00s [134/154] Installing xml-common-0:0.6.3 100% | 26.4 MiB/s | 81.1 KiB | 00m00s [135/154] Installing m4-0:1.4.19-10.fc4 100% | 83.6 MiB/s | 599.2 KiB | 00m00s [136/154] Installing emacs-filesystem-1 100% | 531.2 KiB/s | 544.0 B | 00m00s [137/154] Installing autoconf-0:2.72-3. 100% | 233.1 MiB/s | 2.8 MiB | 00m00s [138/154] Installing automake-0:1.16.5- 100% | 160.3 MiB/s | 1.8 MiB | 00m00s [139/154] Installing make-1:4.4.1-9.fc4 100% | 163.7 MiB/s | 1.8 MiB | 00m00s [140/154] Installing gcc-0:14.2.1-6.fc4 100% | 353.6 MiB/s | 104.3 MiB | 00m00s [141/154] Installing libtool-0:2.4.7-12 100% | 265.4 MiB/s | 2.7 MiB | 00m00s [142/154] Installing annobin-plugin-gcc 100% | 68.9 MiB/s | 987.3 KiB | 00m00s [143/154] Installing gcc-plugin-annobin 100% | 4.1 MiB/s | 59.2 KiB | 00m00s [144/154] Installing dbus-devel-1:1.14. 100% | 32.9 MiB/s | 134.8 KiB | 00m00s [145/154] Installing libell-devel-0:0.7 100% | 21.7 MiB/s | 133.6 KiB | 00m00s [146/154] Installing cups-devel-1:2.4.1 100% | 46.1 MiB/s | 189.0 KiB | 00m00s [147/154] Installing readline-devel-0:8 100% | 91.2 MiB/s | 560.5 KiB | 00m00s [148/154] Installing glib2-devel-0:2.83 100% | 337.5 MiB/s | 15.9 MiB | 00m00s [149/154] Installing python3-docutils-0 100% | 80.1 MiB/s | 5.0 MiB | 00m00s [150/154] Installing python3-pygments-0 100% | 177.8 MiB/s | 10.8 MiB | 00m00s [151/154] Installing libical-devel-0:3. 100% | 143.6 MiB/s | 735.2 KiB | 00m00s [152/154] Installing json-c-devel-0:0.1 100% | 51.0 MiB/s | 156.8 KiB | 00m00s [153/154] Installing systemd-rpm-macros 100% | 3.7 MiB/s | 11.2 KiB | 00m00s [154/154] Installing systemd-devel-0:25 100% | 199.4 KiB/s | 741.9 KiB | 00m04s Complete! >>> 2024-11-12 23:24:43 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 419.3 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 16.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-3.fc41 fedora 20.6 MiB cppcheck x86_64 2.16.0-1.fc42 fedora 10.4 MiB gcc-latest x86_64 15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42 copr_base 295.1 MiB Installing dependencies: pcre x86_64 8.45-1.fc41.7 fedora 545.8 KiB tinyxml2 x86_64 9.0.0-5.fc41 fedora 103.8 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 78 MiB. Need to download 0 B. After this operation, 327 MiB extra will be used (install 327 MiB, remove 0 B). [1/1] gcc-latest-0:15.0.0-4.20241020git 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cppcheck-0:2.16.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] ShellCheck-0:0.10.0-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] pcre-0:8.45-1.fc41.7.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] tinyxml2-0:9.0.0-5.fc41.x86_64 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% | 16.0 B/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 119.0 B/s | 5.0 B | 00m00s [3/7] Installing tinyxml2-0:9.0.0-5.fc4 100% | 25.6 MiB/s | 104.9 KiB | 00m00s [4/7] Installing pcre-0:8.45-1.fc41.7.x 100% | 107.0 MiB/s | 548.1 KiB | 00m00s [5/7] Installing cppcheck-0:2.16.0-1.fc 100% | 324.8 MiB/s | 10.4 MiB | 00m00s [6/7] Installing ShellCheck-0:0.10.0-3. 100% | 438.4 MiB/s | 20.6 MiB | 00m00s [7/7] Installing gcc-latest-0:15.0.0-4. 100% | 120.1 MiB/s | 295.4 MiB | 00m02s Warning: skipped PGP checks for 1 package from repository: copr_base Complete! >>> 2024-11-12 23:24:48 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-12 23:24:49 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockmlfrimso/rpm-list-mock-provides.txt >>> 2024-11-12 23:24:51 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockmlfrimso/bluez-5.79-1.fc42.src.rpm" "/builddir/bluez-5.79-1.fc42.src.rpm" >>> 2024-11-12 23:24:52 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-12 23:24:53 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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.79-1.fc42.src.rpm'\"" Updating / installing... bluez-5.79-1.fc42 ######################################## >>> 2024-11-12 23:24:54 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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.79-1.fc42.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1730505600 Wrote: /builddir/build/SRPMS/bluez-5.79-1.fc42.src.rpm renamed 'bluez-5.79-1.fc42.src.rpm' -> '/builddir/bluez-5.79-1.fc42.src.rpm' >>> 2024-11-12 23:24:55 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/bluez-5.79-1.fc42.src.rpm" "/tmp/csmockmlfrimso/bluez-5.79-1.fc42.src.rpm" >>> 2024-11-12 23:24:56 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockmlfrimso/bluez-5.79-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1730505600 Wrote: /builddir/build/SRPMS/bluez-5.79-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 535.8 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 15.8 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "autoconf-2.72-3.fc41.noarch" is already installed. Package "automake-1.16.5-17.fc41.noarch" is already installed. Package "cups-devel-1:2.4.11-2.fc42.x86_64" is already installed. Package "dbus-devel-1:1.14.10-4.fc41.x86_64" is already installed. Package "glib2-devel-2.83.0-1.fc42.x86_64" is already installed. Package "json-c-devel-0.18-1.fc42.x86_64" is already installed. Package "libell-devel-0.70-1.fc42.x86_64" is already installed. Package "libical-devel-3.0.18-2.fc41.x86_64" is already installed. Package "libtool-2.4.7-12.fc41.x86_64" is already installed. Package "make-1:4.4.1-9.fc42.x86_64" is already installed. Package "python3-docutils-0.21.2-1.fc42.noarch" is already installed. Package "python3-pygments-2.18.0-2.fc42.noarch" is already installed. Package "readline-devel-8.2-11.fc42.x86_64" is already installed. Package "systemd-257~rc1-2.fc42.x86_64" is already installed. Package "systemd-devel-257~rc1-2.fc42.x86_64" is already installed. Nothing to do. >>> 2024-11-12 23:24:59 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: Copr repository 100% | 15.3 KiB/s | 1.5 KiB | 00m00s fedora 100% | 535.8 KiB/s | 9.6 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-latest-15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42.x86_64" is already installed. Package "cppcheck-2.16.0-1.fc42.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "ShellCheck-0.10.0-3.fc41.x86_64" is already installed. Nothing to do. >>> 2024-11-12 23:25:00 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-12 23:25:02 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockmlfrimso/rpm-list-mock-provides.txt >>> 2024-11-12 23:25:03 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: Copr repository 100% | 5.5 KiB/s | 1.5 KiB | 00m00s fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.5.2-1.fc42 fedora 3.7 MiB Installing dependencies: boost-atomic x86_64 1.83.0-8.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-8.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-8.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-8.fc41 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 extra will be used (install 4 MiB, remove 0 B). [1/1] csdiff-0:3.5.2-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] boost-filesystem-0:1.83.0-8.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] boost-program-options-0:1.83.0-8. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] boost-atomic-0:1.83.0-8.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] boost-system-0:1.83.0-8.fc41.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% | 1.2 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 178.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 5.6 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 10.7 MiB/s | 22.0 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 48.4 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 89.1 MiB/s | 273.8 KiB | 00m00s [7/7] Installing csdiff-0:3.5.2-1.fc42. 100% | 52.6 MiB/s | 3.7 MiB | 00m00s Complete! >>> 2024-11-12 23:25:05 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "clippy" Updating and loading repositories: Copr repository 100% | 16.9 KiB/s | 1.5 KiB | 00m00s fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: clippy x86_64 1.82.0-1.fc42 fedora 11.0 MiB Installing dependencies: cargo x86_64 1.82.0-1.fc42 fedora 19.4 MiB libedit x86_64 3.1-53.20240808cvs.fc41 fedora 244.1 KiB libgit2 x86_64 1.8.4-1.fc42 fedora 1.3 MiB libssh2 x86_64 1.11.1-1.fc42 fedora 322.8 KiB llhttp x86_64 9.2.1-2.fc41 fedora 72.6 KiB llvm-libs x86_64 19.1.0-1.fc42 fedora 124.5 MiB rust x86_64 1.82.0-1.fc42 fedora 87.8 MiB rust-std-static x86_64 1.82.0-1.fc42 fedora 143.6 MiB Transaction Summary: Installing: 9 packages Total size of inbound packages is 105 MiB. Need to download 0 B. After this operation, 388 MiB extra will be used (install 388 MiB, remove 0 B). [1/1] clippy-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cargo-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] rust-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] libgit2-0:1.8.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] libssh2-0:1.11.1-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] llvm-libs-0:19.1.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] rust-std-static-0:1.82.0-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] llhttp-0:9.2.1-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] libedit-0:3.1-53.20240808cvs.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/11] Verify package files 100% | 27.0 B/s | 9.0 B | 00m00s [ 2/11] Prepare transaction 100% | 310.0 B/s | 9.0 B | 00m00s [ 3/11] Installing libssh2-0:1.11.1-1.f 100% | 63.4 MiB/s | 324.5 KiB | 00m00s [ 4/11] Installing libedit-0:3.1-53.202 100% | 80.0 MiB/s | 245.8 KiB | 00m00s [ 5/11] Installing llvm-libs-0:19.1.0-1 100% | 395.1 MiB/s | 124.5 MiB | 00m00s [ 6/11] Installing rust-std-static-0:1. 100% | 421.1 MiB/s | 143.6 MiB | 00m00s [ 7/11] Installing rust-0:1.82.0-1.fc42 100% | 358.4 MiB/s | 87.8 MiB | 00m00s [ 8/11] Installing llhttp-0:9.2.1-2.fc4 100% | 36.0 MiB/s | 73.8 KiB | 00m00s [ 9/11] Installing libgit2-0:1.8.4-1.fc 100% | 212.3 MiB/s | 1.3 MiB | 00m00s [10/11] Installing cargo-0:1.82.0-1.fc4 100% | 334.0 MiB/s | 19.4 MiB | 00m00s [11/11] Installing clippy-0:1.82.0-1.fc 100% | 5.0 MiB/s | 11.0 MiB | 00m02s Complete! >>> 2024-11-12 23:25:11 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-magic" Updating and loading repositories: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 5.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-file-magic noarch 5.45-7.fc41 fedora 28.7 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 20 KiB. Need to download 0 B. After this operation, 29 KiB extra will be used (install 29 KiB, remove 0 B). [1/1] python3-file-magic-0:5.45-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 111.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-file-magic-0:5 100% | 862.0 KiB/s | 31.0 KiB | 00m00s Complete! >>> 2024-11-12 23:25:13 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-six" Updating and loading repositories: Copr repository 100% | 15.5 KiB/s | 1.5 KiB | 00m00s fedora 100% | 535.8 KiB/s | 9.6 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-six noarch 1.16.0-23.fc41 fedora 118.3 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 41 KiB. Need to download 0 B. After this operation, 118 KiB extra will be used (install 118 KiB, remove 0 B). [1/1] python3-six-0:1.16.0-23.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 125.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-six-0:1.16.0-2 100% | 4.5 MiB/s | 120.7 KiB | 00m00s Complete! >>> 2024-11-12 23:25:14 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-12 23:25:15 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockmlfrimso/rpm-list-mock-provides.txt >>> 2024-11-12 23:25:17 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-12 23:25:18 tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockmlfrimso/bluez-5.79-1.fc42.src.rpm' | '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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-clippy = 1.82.0 >>> 2024-11-12 23:25:19 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/inject-clippy.sh" renamed '/usr/bin/cargo' -> '/usr/bin/cargo_original' scan.ini: analyzer-version-cppcheck = 2.16.0 scan.ini: analyzer-version-gcc = 14.2.1 >>> 2024-11-12 23:25:21 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" >>> 2024-11-12 23:25:22 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\"" >>> 2024-11-12 23:25:23 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "echo '#!/bin/bash exec /opt/gcc-latest/bin/gcc \"\$@\"' > /usr/bin/csmock-gcc-wrapper && chmod 755 /usr/bin/csmock-gcc-wrapper" >>> 2024-11-12 23:25:24 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "ln -sf ../../bin/cswrap /usr/lib64/cswrap/csmock-gcc-wrapper" scan.ini: analyzer-version-gcc-analyzer = 15.0.0 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-11-12 23:25:26 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmockmlfrimso/bluez-5.79-1.fc42.src.rpm'" Updating / installing... bluez-5.79-1.fc42 ######################################## >>> 2024-11-12 23:25:27 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-11-12 23:25:28 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/00-pre-usr-move-shells.sh 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-11-12 23:25:29 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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.9 INFO: Mock Version: 5.9 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=1730505600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.xaKEtZ + umask 022 + cd /builddir/build/BUILD/bluez-5.79-build + test -d /builddir/build/BUILD/bluez-5.79-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/bluez-5.79-build + /usr/bin/rm -rf /builddir/build/BUILD/bluez-5.79-build + /usr/bin/mkdir -p /builddir/build/BUILD/bluez-5.79-build + /usr/bin/mkdir -p /builddir/build/BUILD/bluez-5.79-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3xKAAB + umask 022 + cd /builddir/build/BUILD/bluez-5.79-build + cd /builddir/build/BUILD/bluez-5.79-build + rm -rf bluez-5.79 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bluez-5.79.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd bluez-5.79 + /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-11-12 23:25:30 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-11-12 23:25:31 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' 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' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' 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' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' 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'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' 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'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--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.9 INFO: Mock Version: 5.9 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/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1730505600 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vP8W5K + umask 022 + cd /builddir/build/BUILD/bluez-5.79-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 -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.79 + 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: 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 -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-11-12 23:25:35.507983357 +0000 +++ ./configure 2024-11-12 23:25:36.694980974 +0000 @@ -8579,7 +8579,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'" @@ -18365,7 +18365,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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -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"~' ./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 8585: -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 string.h... (cached) 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 gcc options needed to detect all undeclared functions... none needed checking whether basename is declared... 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 tools/mpris-proxy.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.79-build/bluez-5.79/lib/bluetooth.h lib/bluetooth/bluetooth.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/hci.h lib/bluetooth/hci.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/hci_lib.h lib/bluetooth/hci_lib.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sco.h lib/bluetooth/sco.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/l2cap.h lib/bluetooth/l2cap.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.h lib/bluetooth/sdp.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp_lib.h lib/bluetooth/sdp_lib.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/rfcomm.h lib/bluetooth/rfcomm.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bnep.h lib/bluetooth/bnep.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/cmtp.h lib/bluetooth/cmtp.h /usr/bin/mkdir -p lib/bluetooth ln -s -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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.79-build/bluez-5.79/../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 asha > 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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/queue.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/pcap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mgmt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:724:6: note: (1) entry to 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:731:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (4) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (1) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (2) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (4) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:852:13: note: (1) entry to 'sef_k1' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:859:14: note: (2) calling 'aes_cmac_be' from 'sef_k1' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (3) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (6) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (7) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (10) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (11) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (12) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:897:6: note: (1) entry to 'bt_crypto_sef' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:907:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:911:14: note: (3) inlined call to 'sef_s1' from 'bt_crypto_sef' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:822:16: note: (4) inlined call to 'aes_cmac_zero' from 'sef_s1' <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/src/shared/crypto.c:794:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:796:16: note: (6) calling 'aes_cmac_be' from 'bt_crypto_sef' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (7) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (8) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (10) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (11) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (14) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (15) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (16) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:935:6: note: (1) entry to 'bt_crypto_sirk' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:943:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:946:25: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:950:14: note: (4) calling 'bt_crypto_gatt_hash' from 'bt_crypto_sirk' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:724:6: note: (5) entry to 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:731:12: note: (6) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (8) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (9) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (12) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (13) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (14) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.ecb_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:785:6: note: (1) entry to 'bt_crypto_sih' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:788:16: note: (2) calling 'bt_crypto_ah' from 'bt_crypto_sih' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:422:6: note: (3) entry to 'bt_crypto_ah' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:428:12: note: (4) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:432:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:436:14: note: (6) calling 'bt_crypto_e' from 'bt_crypto_ah' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:357:6: note: (7) entry to 'bt_crypto_e' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:363:12: note: (8) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:367:9: note: (10) inlined call to 'swap_buf' from 'bt_crypto_e' <--[csmock-gcc-wrapper] In function 'swap_buf', inlined from 'bt_crypto_e' at src/shared/crypto.c:367:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (11) following 'true' branch (when 'i != 16')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:259:39: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (13) following 'false' branch (when 'i == 16')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:369:14: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:369:14: note: (15) calling 'alg_new' from 'bt_crypto_e' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (16) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (17) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (19) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (20) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (21) '*crypto.ecb_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:697:6: note: (1) entry to 'bt_crypto_g2' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:706:14: note: (2) calling 'aes_cmac' from 'bt_crypto_g2' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:619:13: note: (3) entry to 'aes_cmac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:624:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:627:9: note: (6) inlined call to 'swap_buf' from 'aes_cmac' <--[csmock-gcc-wrapper] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:627:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (7) following 'true' branch (when 'i != 16')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:259:39: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (9) following 'false' branch (when 'i == 16')... <--[csmock-gcc-wrapper] In function 'alg_new': cc1: note: (10) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:628:9: note: (11) inlined call to 'swap_buf' from 'aes_cmac' <--[csmock-gcc-wrapper] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:628:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (12) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:259:39: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:630:14: note: (14) calling 'aes_cmac_be' from 'aes_cmac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (15) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (16) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (18) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (19) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (20) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (22) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (23) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (24) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/uhid.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:39: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c: In function 'util_iov_dup': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:83:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:342:15: note: (1) entry to 'util_iov_dup' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:347:12: note: (2) following 'false' branch (when 'iov' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (4) calling 'util_malloc' from 'util_iov_dup' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:41:7: note: (5) entry to 'util_malloc' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:43:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (8) returning to 'util_iov_dup' from 'util_malloc' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:83:17: note: (9) argument 1 ('util_malloc(cnt * 16)') NULL where non-null expected <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c: In function 'util_iov_memcpy.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:379:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:377:25: note: (1) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:377:23: note: (2) '*iov.iov_base' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:379:9: note: (3) argument 1 ('realloc(*iov.iov_base, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c: In function 'strdelimit': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1852:16: warning: dereference of possibly-NULL 'dup' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1848:12: note: (1) following 'false' branch (when 'str' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1851:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1851:15: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1852:16: note: (4) 'dup' could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper] /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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/btsnoop.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-helpers.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ecc.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/hfp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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-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.79-build/bluez-5.79/src/shared/ad.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c: In function 'ad_replace_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:394:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:366:9: note: (1) following 'default:' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:26: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:72:35: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:389:58: note: in expansion of macro 'UINT_TO_PTR' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:390:12: note: (3) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:391:29: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:393:34: note: (5) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:393:32: note: (6) '0' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:394:17: note: (7) argument 1 ('realloc(*.data, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c: In function 'bt_ad_add_manufacturer_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:852:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:840:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:843:22: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:843:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:72:35: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:847:49: note: in expansion of macro 'UINT_TO_PTR' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:848:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:849:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:851:34: note: (7) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:851:32: note: (8) '0' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:852:17: note: (9) argument 1 ('realloc(*.data, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c: In function 'bt_ad_add_service_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:988:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:977:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:980:22: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:980:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:983:20: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:984:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:985:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:987:34: note: (7) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:987:32: note: (8) '0' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:988:17: note: (9) argument 1 ('realloc(*.data, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : 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-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.79-build/bluez-5.79/src/shared/gatt-server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'read_by_grp_type_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:322:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:270:13: note: (1) entry to 'read_by_grp_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:276:19: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:276:19: note: (3) capacity: 20 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:284:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:289:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:293:9: note: (6) calling 'get_uuid_le' from 'read_by_grp_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:169:13: note: (7) entry to 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:173:9: note: (8) following 'default:' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/att.h:11, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:19: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:176:24: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:293:9: note: (10) returning to 'read_by_grp_type_cb' from 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:297:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:304:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:304:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:315:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:322:9: note: (15) use of uninitialized value 'type' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'read_by_type_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:528:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:491:13: note: (1) entry to 'read_by_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:497:19: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:497:19: note: (3) capacity: 20 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:503:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:508:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:512:9: note: (6) calling 'get_uuid_le' from 'read_by_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:169:13: note: (7) entry to 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:173:9: note: (8) following 'default:' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:176:24: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:512:9: note: (10) returning to 'read_by_type_cb' from 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:516:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:523:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:523:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:528:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:528:9: note: (15) use of uninitialized value 'type' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'prep_write_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1347:9: warning: use of possibly-NULL 'malloc((long unsigned int)length)' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1304:13: note: (1) entry to 'prep_write_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1315:12: note: (2) following 'false' branch (when 'length > 3')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1320:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1320:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1325:18: note: (5) inlined call to 'get_le16' from 'prep_write_cb' <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:26: <--[csmock-gcc-wrapper] In function 'get_le16', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1325:11: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:26:27: note: in definition of macro 'le16_to_cpu' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:211:28: note: in expansion of macro 'get_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'prep_write_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1329:12: note: (7) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:46:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1334:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:46:9: note: (9) calling 'gatt_log' from 'prep_write_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1334:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:258:13: note: (10) entry to 'gatt_log' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:262:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:262:42: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:46:9: note: (13) returning to 'prep_write_cb' from 'gatt_log' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1334:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1336:17: note: (14) inlined call to 'check_length' from 'prep_write_cb' <--[csmock-gcc-wrapper] In function 'check_length', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1336:10: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:808:12: note: (15) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:811:12: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:811:12: note: (17) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:814:20: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:814:12: note: (19) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'prep_write_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1340:17: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1341:12: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1344:16: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1346:21: note: (23) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1347:9: note: (24) argument 1 ('malloc((long unsigned int)length)') from (23) could be NULL where non-null expected <--[csmock-gcc-wrapper] : 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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/att.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:20: <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:390:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:382:9: note: (1) following 'case 10240 ... 10243:' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:383:9: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:389:24: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:390:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:390:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:402:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:382:9: note: (1) following 'case 10497 ... 10501:' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:394:9: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:401:24: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:402:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:402:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c: In function 'read_ext_prop_value': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1902:37: warning: dereference of NULL 'value' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1905:13: note: (1) entry to 'read_ext_prop.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1920:9: note: (2) calling 'gatt_db_attribute_read' from 'read_ext_prop.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2102:6: note: (3) entry to 'gatt_db_attribute_read' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2108:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/src/shared/gatt-db.c:2102:6: note: (7) entry to 'gatt_db_attribute_read.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2117:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2143:52: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2143:52: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2145:38: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2145:9: note: (12) calling 'read_ext_prop_value' from 'gatt_db_attribute_read.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1893:13: note: (13) entry to 'read_ext_prop_value' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1899:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1902:37: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1902:37: note: (16) dereference of NULL 'value' <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/src/shared/csip.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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.79-build/bluez-5.79/src/shared/micp.c: In function 'micp_get_session': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:271:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:258:24: note: (1) entry to 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:270:16: note: (2) calling 'bt_micp_new' from 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:587:17: note: (3) entry to 'bt_micp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:592:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:270:16: note: (6) returning to 'micp_get_session' from 'bt_micp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:271:19: note: (7) dereference of NULL 'bt_micp_new(db, 0)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_muted': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:339:21: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:323:16: note: (1) entry to 'mics_muted' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:331:15: note: (2) inlined call to 'micp_get_mdb' from 'mics_muted' <--[csmock-gcc-wrapper] In function 'micp_get_mdb', inlined from 'mics_muted' at src/shared/micp.c:331:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:97:12: note: (3) following 'false' branch (when 'micp' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:100:17: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_muted': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:332:12: note: (5) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:337:22: note: (6) inlined call to 'mdb_get_mute_state' from 'mics_muted' <--[csmock-gcc-wrapper] In function 'mdb_get_mute_state', inlined from 'mics_muted' at src/shared/micp.c:337:15: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:12: note: (8) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_muted': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:339:21: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:339:21: note: (10) dereference of NULL '' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:421:13: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:368:13: note: (1) entry to 'mics_mute_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:375:32: note: (2) calling 'micp_get_session' from 'mics_mute_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:258:24: note: (3) entry to 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:266:28: note: (4) calling 'bt_micp_get_att' from 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:205:16: note: (5) entry to 'bt_micp_get_att' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:207:12: note: (6) following 'false' branch (when 'micp' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:210:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:266:28: note: (8) returning to 'micp_get_session' from 'bt_micp_get_att' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:375:32: note: (9) returning to 'mics_mute_write' from 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:387:12: note: (10) following 'false' branch (when 'offset == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:393:12: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:393:12: note: (12) following 'false' branch (when 'len != 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:400:19: note: (13) inlined call to 'iov_pull_mem' from 'mics_mute_write' <--[csmock-gcc-wrapper] In function 'iov_pull_mem', inlined from 'mics_mute_write' at src/shared/micp.c:400:12: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:84:15: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:86:12: note: (15) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:89:23: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:401:12: note: (17) following 'false' branch (when 'data' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:406:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:406:12: note: (19) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:414:15: note: (20) inlined call to 'micp_get_mdb' from 'mics_mute_write' <--[csmock-gcc-wrapper] In function 'micp_get_mdb', inlined from 'mics_mute_write' at src/shared/micp.c:414:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:97:12: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:97:12: note: (22) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:100:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:415:12: note: (24) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:420:22: note: (25) inlined call to 'mdb_get_mute_state' from 'mics_mute_write' <--[csmock-gcc-wrapper] In function 'mdb_get_mute_state', inlined from 'mics_mute_write' at src/shared/micp.c:420:15: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:17: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:12: note: (27) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:421:13: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:421:13: note: (29) dereference of NULL '' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'foreach_mics_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:786:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:780:13: note: (1) entry to 'foreach_mics_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:784:32: note: (2) calling 'micp_get_mics' from 'foreach_mics_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:114:17: note: (3) entry to 'micp_get_mics' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:116:12: note: (4) following 'true' branch (when 'micp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:784:32: note: (6) returning to 'foreach_mics_service' from 'micp_get_mics' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:786:23: note: (7) dereference of NULL 'micp_get_mics(user_data)' <--[csmock-gcc-wrapper] /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-asha.lo `test -f 'src/shared/asha.c' || echo './'`src/shared/asha.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/asha.c -fPIC -DPIC -o src/shared/.libs/libshared_mainloop_la-asha.o /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/asha.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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.79-build/bluez-5.79/src/shared/mcp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'mcp_send': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:586:17: warning: dereference of NULL 'mcp' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:578:21: note: (1) entry to 'mcp_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:580:30: note: (2) calling 'mcp_get_mcs' from 'mcp_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:580:30: note: (6) returning to 'mcp_send' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'mcp_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:111:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (11) returning to 'mcp_send' from 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:586:17: note: (12) dereference of NULL 'mcp' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_mp_name_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1068:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1063:13: note: (1) entry to 'bt_mcp_mp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1066:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_mp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1066:30: note: (6) returning to 'bt_mcp_mp_name_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1068:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_changed_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1086:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1081:13: note: (1) entry to 'bt_mcp_track_changed_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1084:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_changed_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1084:30: note: (6) returning to 'bt_mcp_track_changed_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1086:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_title_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1102:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1097:13: note: (1) entry to 'bt_mcp_track_title_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1100:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_title_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1100:30: note: (6) returning to 'bt_mcp_track_title_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1102:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_duration_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1120:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1115:13: note: (1) entry to 'bt_mcp_track_duration_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1118:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_duration_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1118:30: note: (6) returning to 'bt_mcp_track_duration_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1120:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_position_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1138:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1133:13: note: (1) entry to 'bt_mcp_track_position_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1136:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_position_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1136:30: note: (6) returning to 'bt_mcp_track_position_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1138:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_media_state_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1156:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1151:13: note: (1) entry to 'bt_mcp_media_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1154:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1154:30: note: (6) returning to 'bt_mcp_media_state_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1156:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_media_cp_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1174:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1169:13: note: (1) entry to 'bt_mcp_media_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1172:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1172:30: note: (6) returning to 'bt_mcp_media_cp_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1174:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_media_cp_op_supported_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1190:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1185:13: note: (1) entry to 'bt_mcp_media_cp_op_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1188:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_op_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1188:30: note: (6) returning to 'bt_mcp_media_cp_op_supported_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1190:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_content_control_id_supported_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1209:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1204:13: note: (1) entry to 'bt_mcp_content_control_id_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1207:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_content_control_id_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1207:30: note: (6) returning to 'bt_mcp_content_control_id_supported_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1209:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'foreach_mcs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1376:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1368:13: note: (1) entry to 'foreach_mcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1372:30: note: (2) calling 'mcp_get_mcs' from 'foreach_mcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1372:30: note: (6) returning to 'foreach_mcs_service' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'foreach_mcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1374:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:111:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (11) returning to 'foreach_mcs_service' from 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1374:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1376:22: note: (12) dereference of NULL 'mcp_get_mcs(user_data)' <--[csmock-gcc-wrapper] /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-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.79-build/bluez-5.79/src/shared/bass.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c: In function 'bass_build_bcast_src': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:420:17: warning: dereference of NULL 'bad_code' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1182:13: note: (1) entry to 'read_bcast_recv_state.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1201:13: note: (2) calling 'bass_build_bcast_src' from 'read_bcast_recv_state.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:261:12: note: (3) entry to 'bass_build_bcast_src' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:284:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:289:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:289:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:294:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:295:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:300:14: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:300:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:305:14: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:305:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:310:14: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:310:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:315:14: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:315:12: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:320:17: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:320:12: note: (18) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:329:14: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:329:12: note: (20) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:334:27: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:334:12: note: (22) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:335:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:404:12: note: (24) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:411:23: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:419:12: note: (26) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:420:17: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:420:17: note: (28) dereference of NULL 'bad_code' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c: In function 'bass_get_session.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:705:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:691:24: note: (1) entry to 'bass_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:704:16: note: (2) calling 'bt_bass_new' from 'bass_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1597:17: note: (3) entry to 'bt_bass_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1603:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:704:16: note: (6) returning to 'bass_get_session.part.0' from 'bt_bass_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:705:19: note: (7) dereference of NULL 'bt_bass_new(db, 0, adapter_bdaddr)' <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/src/shared/gatt-client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c: In function 'request_unref': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:199:32: warning: use after 'free' of 'data' [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3245:13: note: (1) entry to 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3255:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3204:13: note: (5) entry to 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3242:9: note: (6) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3292:13: note: (7) entry to 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3303:12: note: (8) following 'false' branch (when 'success == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3306:21: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3314:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3317:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3317:9: note: (12) calling 'request_unref' from 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:196:13: note: (13) entry to 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:201:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:204:16: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:213:9: note: (16) freed here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3317:9: note: (17) returning to 'complete_write_long_op' from 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3242:9: note: (18) returning to 'handle_next_prep_write' from 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (19) returning to 'start_next_long_write.part.0' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3264:9: note: (20) calling 'request_unref' from 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:196:13: note: (21) entry to 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:199:32: note: (22) use after 'free' of 'data'; freed at (16) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c: In function 'complete_write_long_op': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3295:31: warning: use after 'free' of 'req' [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3245:13: note: (1) entry to 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3255:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3204:13: note: (5) entry to 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3212:12: note: (6) following 'false' branch (when 'pdu' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3217:20: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3227:12: note: (8) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3228:17: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3228:17: note: (10) calling 'request_unref' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:196:13: note: (11) entry to 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:201:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:204:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:213:9: note: (14) freed here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3228:17: note: (15) returning to 'handle_next_prep_write' from 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3238:12: note: (16) following 'false' branch (when 'success == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3241:1: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3242:9: note: (18) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3292:13: note: (19) entry to 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3295:31: note: (20) use after 'free' of 'req'; freed at (14) <--[csmock-gcc-wrapper] /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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mainloop-notify.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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.79-build/bluez-5.79/src/shared/ccp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_incom_call_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:661:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:654:13: note: (1) entry to 'bt_ccp_incom_call_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:657:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_incom_call_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:657:30: note: (6) returning to 'bt_ccp_incom_call_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_incom_call_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_incom_call_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:661:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_call_state_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:683:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:676:13: note: (1) entry to 'bt_ccp_call_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:679:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:679:30: note: (6) returning to 'bt_ccp_call_state_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_state_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:683:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_call_list_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:705:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:698:13: note: (1) entry to 'bt_ccp_call_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:701:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:701:30: note: (6) returning to 'bt_ccp_call_list_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_list_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:705:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_name_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:727:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:720:13: note: (1) entry to 'bt_ccp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:723:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:723:30: note: (6) returning to 'bt_ccp_name_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_name_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:727:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_term_reason_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:749:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:742:13: note: (1) entry to 'bt_ccp_term_reason_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:745:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_term_reason_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:745:30: note: (6) returning to 'bt_ccp_term_reason_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_term_reason_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_term_reason_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:749:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_status_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:770:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:763:13: note: (1) entry to 'bt_ccp_status_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:766:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_status_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:766:30: note: (6) returning to 'bt_ccp_status_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_status_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_status_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:770:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_uci_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:792:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:785:13: note: (1) entry to 'bt_ccp_uci_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:788:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uci_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:788:30: note: (6) returning to 'bt_ccp_uci_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uci_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uci_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:792:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_technology_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:813:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:806:13: note: (1) entry to 'bt_ccp_technology_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:809:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_technology_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:809:30: note: (6) returning to 'bt_ccp_technology_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_technology_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_technology_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:813:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_strength_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:833:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:826:13: note: (1) entry to 'bt_ccp_strength_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:829:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_strength_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:829:30: note: (6) returning to 'bt_ccp_strength_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_strength_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_strength_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:833:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_ccid_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:853:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:846:13: note: (1) entry to 'bt_ccp_ccid_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:849:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ccid_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:849:30: note: (6) returning to 'bt_ccp_ccid_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ccid_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ccid_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:853:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_tar_uri_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:872:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:865:13: note: (1) entry to 'bt_ccp_tar_uri_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:868:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_tar_uri_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:868:30: note: (6) returning to 'bt_ccp_tar_uri_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_tar_uri_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_tar_uri_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:872:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_ctrl_point_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:893:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:886:13: note: (1) entry to 'bt_ccp_ctrl_point_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:889:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_point_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:889:30: note: (6) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_point_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:893:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_ctrl_opcode_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:913:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:906:13: note: (1) entry to 'bt_ccp_ctrl_opcode_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:909:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_opcode_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:909:30: note: (6) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_opcode_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:913:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_friendly_name_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:933:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:926:13: note: (1) entry to 'bt_ccp_friendly_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:929:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_friendly_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:929:30: note: (6) returning to 'bt_ccp_friendly_name_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_friendly_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_friendly_name_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:933:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_signal_intrvl_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:953:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:946:13: note: (1) entry to 'bt_ccp_signal_intrvl_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:949:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_signal_intrvl_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:949:30: note: (6) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_signal_intrvl_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:953:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_uri_list_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:973:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:966:13: note: (1) entry to 'bt_ccp_uri_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:969:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uri_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:969:30: note: (6) returning to 'bt_ccp_uri_list_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uri_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uri_list_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:973:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'foreach_ccs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1129:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1123:13: note: (1) entry to 'foreach_ccs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1127:30: note: (2) calling 'ccp_get_ccs' from 'foreach_ccs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1127:30: note: (6) returning to 'foreach_ccs_service' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1129:22: note: (7) dereference of NULL 'ccp_get_ccs(user_data)' <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh/keys.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/mesh/util.o tools/mesh/util.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh/util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/mesh/remote.o tools/mesh/remote.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh/remote.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/mesh-cfgclient.o tools/mesh-cfgclient.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-cfgclient.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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.79-build/bluez-5.79/src/shared/shell.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c: In function 'bt_shell_printf': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (1) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (2) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (3) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (4) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (5) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:29: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (14) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (16) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:401:13: note: (1) entry to 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:409:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1536:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:782:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:786:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:789:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:793:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (11) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (12) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (13) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (18) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (20) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (22) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (24) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1604:6: note: (1) entry to 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (2) calling 'input_new' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:358:22: note: (3) entry to 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:364:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:35: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:367:17: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (6) returning to 'bt_shell_attach' from 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1609:12: note: (7) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1612:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1617:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:21: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:20: note: (11) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1619:25: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1619:25: note: (13) calling 'bt_shell_noninteractive_quit' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1536:6: note: (14) entry to 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1538:24: note: (15) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (17) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:782:13: note: (18) entry to 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:786:12: note: (19) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:789:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:793:12: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (23) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (24) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (25) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (26) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (27) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1447:5: note: (1) entry to 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1479:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (4) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:674:12: note: (5) entry to 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:678:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (8) calling 'menu_exec' from 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:625:12: note: (9) entry to 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:628:16: note: (10) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:21: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:20: note: (12) following 'false' branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:633:25: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:637:44: note: (14) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (16) calling 'cmd_exec' from 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:521:12: note: (17) entry to 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:540:12: note: (18) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (20) following 'false' branch (when 'argc <= 1')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:545:17: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:612:12: note: (22) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (24) calling 'cmd_back' from 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (25) entry to 'cmd_back' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:235:12: note: (26) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (27) ...to here cc1: note: (28) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (29) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (30) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (31) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (32) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (33) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (34) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (36) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (38) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (40) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (42) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (44) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1604:6: note: (1) entry to 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (2) calling 'input_new' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:358:22: note: (3) entry to 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:364:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:367:17: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (6) returning to 'bt_shell_attach' from 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1609:12: note: (7) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1612:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1617:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:21: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:21: note: (11) calling 'shell_exec' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:674:12: note: (12) entry to 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:678:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (15) calling 'menu_exec' from 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:625:12: note: (16) entry to 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:628:16: note: (17) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:21: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:20: note: (19) following 'false' branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:633:25: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:637:44: note: (21) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (23) calling 'cmd_exec' from 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:521:12: note: (24) entry to 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:540:12: note: (25) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (27) following 'false' branch (when 'argc <= 1')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:545:17: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:612:12: note: (29) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (31) calling 'cmd_back' from 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (32) entry to 'cmd_back' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:235:12: note: (33) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here cc1: note: (35) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (36) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (37) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (38) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (39) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (40) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (41) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (43) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (45) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (47) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (49) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (51) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:401:13: note: (1) entry to 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:409:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1536:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:782:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:786:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:789:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:793:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (11) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (12) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (13) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (14) returning to 'bt_shell_dequeue_exec' from 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:811:15: note: (15) calling 'bt_shell_exec' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1447:5: note: (16) entry to 'bt_shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1453:12: note: (17) following 'false' branch (when 'input' is non-NULL)... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here cc1: note: (19) calling 'bt_shell_exec.part.0' from 'bt_shell_exec' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1447:5: note: (20) entry to 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1479:12: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (23) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:674:12: note: (24) entry to 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:678:12: note: (25) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (27) calling 'menu_exec' from 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:625:12: note: (28) entry to 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:628:16: note: (29) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:21: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:20: note: (31) following 'false' branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:633:25: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:637:44: note: (33) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (35) calling 'cmd_exec' from 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:521:12: note: (36) entry to 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:540:12: note: (37) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (39) following 'false' branch (when 'argc <= 1')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:545:17: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:612:12: note: (41) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (43) calling 'cmd_back' from 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (44) entry to 'cmd_back' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:235:12: note: (45) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (46) ...to here cc1: note: (47) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (48) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (49) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (50) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (51) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (52) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (53) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (54) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (55) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (57) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (59) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (60) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (61) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (63) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/src/shared/vcp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'vcp_get_session.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:501:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:488:23: note: (1) entry to 'vcp_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:500:15: note: (2) calling 'bt_vcp_new' from 'vcp_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1921:16: note: (3) entry to 'bt_vcp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1926:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:500:15: note: (6) returning to 'vcp_get_session.part.0' from 'bt_vcp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:501:18: note: (7) dereference of NULL 'bt_vcp_new(db, 0)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'aics_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1733:9: warning: use of possibly-NULL 'ip_descr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1725:12: note: (1) following 'false' branch (when 'db' is non-NULL)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:22: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1728:16: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1732:20: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1733:9: note: (4) argument 1 ('ip_descr') from (3) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'vcp_audio_loc_notify': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1981:27: warning: dereference of possibly-NULL 'vocs_audio_loc_n' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1980:38: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1981:27: note: (2) 'vocs_audio_loc_n' could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'aics_audio_ip_desr_notify': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2555:9: warning: use of possibly-NULL 'aud_ip_desr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2554:23: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2555:9: note: (2) argument 1 ('aud_ip_desr') from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'foreach_vcs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2691:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2685:13: note: (1) entry to 'foreach_vcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2689:30: note: (2) calling 'vcp_get_vcs' from 'foreach_vcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:329:23: note: (3) entry to 'vcp_get_vcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:331:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2689:30: note: (6) returning to 'foreach_vcs_service' from 'vcp_get_vcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2691:22: note: (7) dereference of NULL 'vcp_get_vcs(user_data)' <--[csmock-gcc-wrapper] /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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/queue.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh/cfgcli.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mgmt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:39: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c: In function 'util_iov_dup': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:83:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:342:15: note: (1) entry to 'util_iov_dup' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:347:12: note: (2) following 'false' branch (when 'iov' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (4) calling 'util_malloc' from 'util_iov_dup' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:41:7: note: (5) entry to 'util_malloc' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:43:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (8) returning to 'util_iov_dup' from 'util_malloc' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:83:17: note: (9) argument 1 ('util_malloc(cnt * 16)') NULL where non-null expected <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c: In function 'util_iov_memcpy.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:379:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:377:25: note: (1) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:377:23: note: (2) '*iov.iov_base' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:379:9: note: (3) argument 1 ('realloc(*iov.iov_base, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c: In function 'strdelimit': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1852:16: warning: dereference of possibly-NULL 'dup' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1848:12: note: (1) following 'false' branch (when 'str' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1851:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1851:15: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1852:16: note: (4) 'dup' could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper] /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-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-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.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:724:6: note: (1) entry to 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:731:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (4) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (1) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (2) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (4) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:852:13: note: (1) entry to 'sef_k1' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:859:14: note: (2) calling 'aes_cmac_be' from 'sef_k1' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (3) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (6) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (7) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (10) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (11) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (12) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:897:6: note: (1) entry to 'bt_crypto_sef' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:907:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:911:14: note: (3) inlined call to 'sef_s1' from 'bt_crypto_sef' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:822:16: note: (4) inlined call to 'aes_cmac_zero' from 'sef_s1' <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/src/shared/crypto.c:794:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:796:16: note: (6) calling 'aes_cmac_be' from 'bt_crypto_sef' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (7) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (8) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (10) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (11) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (14) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (15) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (16) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:935:6: note: (1) entry to 'bt_crypto_sirk' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:943:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:946:25: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:950:14: note: (4) calling 'bt_crypto_gatt_hash' from 'bt_crypto_sirk' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:724:6: note: (5) entry to 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:731:12: note: (6) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (8) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (9) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (12) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (13) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (14) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.ecb_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:785:6: note: (1) entry to 'bt_crypto_sih' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:788:16: note: (2) calling 'bt_crypto_ah' from 'bt_crypto_sih' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:422:6: note: (3) entry to 'bt_crypto_ah' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:428:12: note: (4) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:432:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:436:14: note: (6) calling 'bt_crypto_e' from 'bt_crypto_ah' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:357:6: note: (7) entry to 'bt_crypto_e' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:363:12: note: (8) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:367:9: note: (10) inlined call to 'swap_buf' from 'bt_crypto_e' <--[csmock-gcc-wrapper] In function 'swap_buf', inlined from 'bt_crypto_e' at src/shared/crypto.c:367:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (11) following 'true' branch (when 'i != 16')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:259:39: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (13) following 'false' branch (when 'i == 16')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:369:14: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:369:14: note: (15) calling 'alg_new' from 'bt_crypto_e' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (16) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (17) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (19) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (20) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (21) '*crypto.ecb_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:697:6: note: (1) entry to 'bt_crypto_g2' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:706:14: note: (2) calling 'aes_cmac' from 'bt_crypto_g2' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:619:13: note: (3) entry to 'aes_cmac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:624:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:627:9: note: (6) inlined call to 'swap_buf' from 'aes_cmac' <--[csmock-gcc-wrapper] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:627:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (7) following 'true' branch (when 'i != 16')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:259:39: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (9) following 'false' branch (when 'i == 16')... <--[csmock-gcc-wrapper] In function 'alg_new': cc1: note: (10) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:628:9: note: (11) inlined call to 'swap_buf' from 'aes_cmac' <--[csmock-gcc-wrapper] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:628:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (12) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:259:39: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:630:14: note: (14) calling 'aes_cmac_be' from 'aes_cmac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (15) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (16) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (18) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (19) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (20) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (22) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (23) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (24) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/pcap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/btsnoop.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/uhid.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/hfp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ecc.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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.79-build/bluez-5.79/src/shared/ad.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c: In function 'ad_replace_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:394:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:366:9: note: (1) following 'default:' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:26: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:72:35: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:389:58: note: in expansion of macro 'UINT_TO_PTR' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:390:12: note: (3) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:391:29: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:393:34: note: (5) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:393:32: note: (6) '0' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:394:17: note: (7) argument 1 ('realloc(*.data, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c: In function 'bt_ad_add_manufacturer_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:852:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:840:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:843:22: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:843:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:72:35: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:847:49: note: in expansion of macro 'UINT_TO_PTR' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:848:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:849:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:851:34: note: (7) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:851:32: note: (8) '0' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:852:17: note: (9) argument 1 ('realloc(*.data, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c: In function 'bt_ad_add_service_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:988:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:977:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:980:22: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:980:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:983:20: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:984:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:985:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:987:34: note: (7) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:987:32: note: (8) '0' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:988:17: note: (9) argument 1 ('realloc(*.data, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memcpy' must be non-null gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh/mesh-db.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-helpers.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/att.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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.79-build/bluez-5.79/src/shared/bap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_get_session.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:661:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:648:23: note: (1) entry to 'bap_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:660:15: note: (2) calling 'bt_bap_new' from 'bap_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:4293:16: note: (3) entry to 'bt_bap_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:4298:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:660:15: note: (6) returning to 'bap_get_session.part.0' from 'bt_bap_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:661:18: note: (7) dereference of NULL 'bt_bap_new(db, 0)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_send': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1535:50: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5060:13: note: (1) entry to 'bap_cp_notify' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5069:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5073:18: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5105:9: note: (4) calling 'bap_req_complete' from 'bap_cp_notify' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1159:13: note: (5) entry to 'bap_req_complete' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1164:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1167:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1183:9: note: (8) calling 'bap_req_free' from 'bap_req_complete' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1145:13: note: (9) entry to 'bap_req_free' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1152:23: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1155:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1183:9: note: (12) returning to 'bap_req_complete' from 'bap_req_free' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5105:9: note: (13) returning to 'bap_cp_notify' from 'bap_req_complete' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5106:9: note: (14) calling 'bap_process_queue' from 'bap_cp_notify' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1569:13: note: (15) entry to 'bap_process_queue' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (16) calling 'bap_debug' from 'bap_process_queue' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1574:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:625:13: note: (17) entry to 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:12: note: (18) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:36: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (20) returning to 'bap_process_queue' from 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1574:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1581:16: note: (21) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1582:21: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1582:21: note: (23) calling 'bap_send' from 'bap_process_queue' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1517:13: note: (24) entry to 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1519:32: note: (25) calling 'bap_get_ascs' from 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1492:24: note: (26) entry to 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:12: note: (27) following 'false' branch (when 'bap' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:25: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:18: note: (29) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (30) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1519:32: note: (31) returning to 'bap_send' from 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1526:37: note: (32) calling 'bap_req_len' from 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1468:17: note: (33) entry to 'bap_req_len' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1478:16: note: (34) following 'false' branch (when 'e' is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1481:16: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1526:37: note: (36) returning to 'bap_send' from 'bap_req_len' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (37) calling 'bap_debug' from 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1528:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:625:13: note: (38) entry to 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:12: note: (39) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:36: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (41) returning to 'bap_send' from 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1528:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1535:50: note: (42) dereference of NULL 'bap_get_ascs(bap)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_cp_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5114:50: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5109:13: note: (1) entry to 'bap_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5112:32: note: (2) calling 'bap_get_ascs' from 'bap_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1492:24: note: (3) entry to 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5112:32: note: (6) returning to 'bap_cp_attach' from 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5114:50: note: (7) dereference of NULL 'bap_get_ascs(bap)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'foreach_ascs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5179:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5173:13: note: (1) entry to 'foreach_ascs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5177:32: note: (2) calling 'bap_get_ascs' from 'foreach_ascs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1492:24: note: (3) entry to 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5177:32: note: (6) returning to 'foreach_ascs_service' from 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5179:23: note: (7) dereference of NULL 'bap_get_ascs(user_data)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_bcast_stream_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5843:20: warning: check of 'lpac' for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5825:30: note: (1) entry to 'bap_bcast_stream_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5834:12: note: (2) following 'false' branch (when 'bap' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5837:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5837:17: note: (4) pointer 'lpac' is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5837:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5838:28: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5842:17: note: (7) calling 'bt_bap_foreach_pac' from 'bap_bcast_stream_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5569:6: note: (8) entry to 'bt_bap_foreach_pac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5572:12: note: (9) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5572:34: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5842:17: note: (11) returning to 'bap_bcast_stream_new' from 'bt_bap_foreach_pac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5843:20: note: (12) pointer 'lpac' is checked for NULL here but it was already dereferenced at (4) <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/src/shared/gatt-server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'read_by_grp_type_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:322:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:270:13: note: (1) entry to 'read_by_grp_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:276:19: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:276:19: note: (3) capacity: 20 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:284:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:289:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:293:9: note: (6) calling 'get_uuid_le' from 'read_by_grp_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:169:13: note: (7) entry to 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:173:9: note: (8) following 'default:' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/att.h:11, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:19: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:176:24: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:293:9: note: (10) returning to 'read_by_grp_type_cb' from 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:297:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:304:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:304:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:315:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:322:9: note: (15) use of uninitialized value 'type' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'read_by_type_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:528:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:491:13: note: (1) entry to 'read_by_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:497:19: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:497:19: note: (3) capacity: 20 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:503:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:508:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:512:9: note: (6) calling 'get_uuid_le' from 'read_by_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:169:13: note: (7) entry to 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:173:9: note: (8) following 'default:' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:176:24: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:512:9: note: (10) returning to 'read_by_type_cb' from 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:516:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:523:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:523:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:528:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:528:9: note: (15) use of uninitialized value 'type' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'prep_write_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1347:9: warning: use of possibly-NULL 'malloc((long unsigned int)length)' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1304:13: note: (1) entry to 'prep_write_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1315:12: note: (2) following 'false' branch (when 'length > 3')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1320:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1320:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1325:18: note: (5) inlined call to 'get_le16' from 'prep_write_cb' <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:26: <--[csmock-gcc-wrapper] In function 'get_le16', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1325:11: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:26:27: note: in definition of macro 'le16_to_cpu' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:211:28: note: in expansion of macro 'get_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'prep_write_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1329:12: note: (7) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:46:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1334:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:46:9: note: (9) calling 'gatt_log' from 'prep_write_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1334:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:258:13: note: (10) entry to 'gatt_log' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:262:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:262:42: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:46:9: note: (13) returning to 'prep_write_cb' from 'gatt_log' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1334:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1336:17: note: (14) inlined call to 'check_length' from 'prep_write_cb' <--[csmock-gcc-wrapper] In function 'check_length', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1336:10: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:808:12: note: (15) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:811:12: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:811:12: note: (17) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:814:20: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:814:12: note: (19) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'prep_write_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1340:17: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1341:12: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1344:16: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1346:21: note: (23) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1347:9: note: (24) argument 1 ('malloc((long unsigned int)length)') from (23) could be NULL where non-null expected <--[csmock-gcc-wrapper] : 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-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.79-build/bluez-5.79/src/shared/mcp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'mcp_send': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:586:17: warning: dereference of NULL 'mcp' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:578:21: note: (1) entry to 'mcp_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:580:30: note: (2) calling 'mcp_get_mcs' from 'mcp_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:580:30: note: (6) returning to 'mcp_send' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'mcp_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:111:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (11) returning to 'mcp_send' from 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:586:17: note: (12) dereference of NULL 'mcp' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_mp_name_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1068:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1063:13: note: (1) entry to 'bt_mcp_mp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1066:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_mp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1066:30: note: (6) returning to 'bt_mcp_mp_name_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1068:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_changed_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1086:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1081:13: note: (1) entry to 'bt_mcp_track_changed_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1084:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_changed_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1084:30: note: (6) returning to 'bt_mcp_track_changed_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1086:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_title_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1102:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1097:13: note: (1) entry to 'bt_mcp_track_title_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1100:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_title_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1100:30: note: (6) returning to 'bt_mcp_track_title_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1102:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_duration_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1120:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1115:13: note: (1) entry to 'bt_mcp_track_duration_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1118:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_duration_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1118:30: note: (6) returning to 'bt_mcp_track_duration_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1120:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_position_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1138:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1133:13: note: (1) entry to 'bt_mcp_track_position_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1136:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_position_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1136:30: note: (6) returning to 'bt_mcp_track_position_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1138:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_media_state_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1156:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1151:13: note: (1) entry to 'bt_mcp_media_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1154:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1154:30: note: (6) returning to 'bt_mcp_media_state_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1156:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_media_cp_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1174:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1169:13: note: (1) entry to 'bt_mcp_media_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1172:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1172:30: note: (6) returning to 'bt_mcp_media_cp_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1174:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_media_cp_op_supported_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1190:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1185:13: note: (1) entry to 'bt_mcp_media_cp_op_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1188:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_op_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1188:30: note: (6) returning to 'bt_mcp_media_cp_op_supported_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1190:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_content_control_id_supported_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1209:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1204:13: note: (1) entry to 'bt_mcp_content_control_id_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1207:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_content_control_id_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1207:30: note: (6) returning to 'bt_mcp_content_control_id_supported_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1209:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'foreach_mcs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1376:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1368:13: note: (1) entry to 'foreach_mcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1372:30: note: (2) calling 'mcp_get_mcs' from 'foreach_mcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1372:30: note: (6) returning to 'foreach_mcs_service' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'foreach_mcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1374:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:111:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (11) returning to 'foreach_mcs_service' from 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1374:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1376:22: note: (12) dereference of NULL 'mcp_get_mcs(user_data)' <--[csmock-gcc-wrapper] /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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:20: <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:390:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:382:9: note: (1) following 'case 10240 ... 10243:' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:383:9: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:389:24: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:390:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:390:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:402:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:382:9: note: (1) following 'case 10497 ... 10501:' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:394:9: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:401:24: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:402:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:402:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c: In function 'read_ext_prop_value': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1902:37: warning: dereference of NULL 'value' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1905:13: note: (1) entry to 'read_ext_prop.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1920:9: note: (2) calling 'gatt_db_attribute_read' from 'read_ext_prop.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2102:6: note: (3) entry to 'gatt_db_attribute_read' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2108:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/src/shared/gatt-db.c:2102:6: note: (7) entry to 'gatt_db_attribute_read.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2117:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2143:52: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2143:52: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2145:38: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2145:9: note: (12) calling 'read_ext_prop_value' from 'gatt_db_attribute_read.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1893:13: note: (13) entry to 'read_ext_prop_value' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1899:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1902:37: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1902:37: note: (16) dereference of NULL 'value' <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/src/shared/csip.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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.79-build/bluez-5.79/src/shared/micp.c: In function 'micp_get_session': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:271:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:258:24: note: (1) entry to 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:270:16: note: (2) calling 'bt_micp_new' from 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:587:17: note: (3) entry to 'bt_micp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:592:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:270:16: note: (6) returning to 'micp_get_session' from 'bt_micp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:271:19: note: (7) dereference of NULL 'bt_micp_new(db, 0)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_muted': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:339:21: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:323:16: note: (1) entry to 'mics_muted' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:331:15: note: (2) inlined call to 'micp_get_mdb' from 'mics_muted' <--[csmock-gcc-wrapper] In function 'micp_get_mdb', inlined from 'mics_muted' at src/shared/micp.c:331:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:97:12: note: (3) following 'false' branch (when 'micp' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:100:17: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_muted': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:332:12: note: (5) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:337:22: note: (6) inlined call to 'mdb_get_mute_state' from 'mics_muted' <--[csmock-gcc-wrapper] In function 'mdb_get_mute_state', inlined from 'mics_muted' at src/shared/micp.c:337:15: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:12: note: (8) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_muted': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:339:21: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:339:21: note: (10) dereference of NULL '' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:421:13: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:368:13: note: (1) entry to 'mics_mute_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:375:32: note: (2) calling 'micp_get_session' from 'mics_mute_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:258:24: note: (3) entry to 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:266:28: note: (4) calling 'bt_micp_get_att' from 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:205:16: note: (5) entry to 'bt_micp_get_att' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:207:12: note: (6) following 'false' branch (when 'micp' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:210:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:266:28: note: (8) returning to 'micp_get_session' from 'bt_micp_get_att' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:375:32: note: (9) returning to 'mics_mute_write' from 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:387:12: note: (10) following 'false' branch (when 'offset == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:393:12: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:393:12: note: (12) following 'false' branch (when 'len != 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:400:19: note: (13) inlined call to 'iov_pull_mem' from 'mics_mute_write' <--[csmock-gcc-wrapper] In function 'iov_pull_mem', inlined from 'mics_mute_write' at src/shared/micp.c:400:12: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:84:15: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:86:12: note: (15) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:89:23: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:401:12: note: (17) following 'false' branch (when 'data' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:406:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:406:12: note: (19) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:414:15: note: (20) inlined call to 'micp_get_mdb' from 'mics_mute_write' <--[csmock-gcc-wrapper] In function 'micp_get_mdb', inlined from 'mics_mute_write' at src/shared/micp.c:414:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:97:12: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:97:12: note: (22) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:100:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:415:12: note: (24) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:420:22: note: (25) inlined call to 'mdb_get_mute_state' from 'mics_mute_write' <--[csmock-gcc-wrapper] In function 'mdb_get_mute_state', inlined from 'mics_mute_write' at src/shared/micp.c:420:15: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:17: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:12: note: (27) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:421:13: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:421:13: note: (29) dereference of NULL '' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'foreach_mics_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:786:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:780:13: note: (1) entry to 'foreach_mics_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:784:32: note: (2) calling 'micp_get_mics' from 'foreach_mics_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:114:17: note: (3) entry to 'micp_get_mics' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:116:12: note: (4) following 'true' branch (when 'micp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:784:32: note: (6) returning to 'foreach_mics_service' from 'micp_get_mics' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:786:23: note: (7) dereference of NULL 'micp_get_mics(user_data)' <--[csmock-gcc-wrapper] /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-asha.lo `test -f 'src/shared/asha.c' || echo './'`src/shared/asha.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/asha.c -fPIC -DPIC -o src/shared/.libs/libshared_ell_la-asha.o /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/asha.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c: In function 'request_unref': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:199:32: warning: use after 'free' of 'data' [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3245:13: note: (1) entry to 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3255:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3204:13: note: (5) entry to 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3242:9: note: (6) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3292:13: note: (7) entry to 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3303:12: note: (8) following 'false' branch (when 'success == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3306:21: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3314:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3317:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3317:9: note: (12) calling 'request_unref' from 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:196:13: note: (13) entry to 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:201:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:204:16: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:213:9: note: (16) freed here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3317:9: note: (17) returning to 'complete_write_long_op' from 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3242:9: note: (18) returning to 'handle_next_prep_write' from 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (19) returning to 'start_next_long_write.part.0' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3264:9: note: (20) calling 'request_unref' from 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:196:13: note: (21) entry to 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:199:32: note: (22) use after 'free' of 'data'; freed at (16) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c: In function 'complete_write_long_op': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3295:31: warning: use after 'free' of 'req' [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3245:13: note: (1) entry to 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3255:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3204:13: note: (5) entry to 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3212:12: note: (6) following 'false' branch (when 'pdu' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3217:20: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3227:12: note: (8) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3228:17: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3228:17: note: (10) calling 'request_unref' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:196:13: note: (11) entry to 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:201:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:204:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:213:9: note: (14) freed here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3228:17: note: (15) returning to 'handle_next_prep_write' from 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3238:12: note: (16) following 'false' branch (when 'success == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3241:1: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3242:9: note: (18) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3292:13: note: (19) entry to 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3295:31: note: (20) use after 'free' of 'req'; freed at (14) <--[csmock-gcc-wrapper] /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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/io-ell.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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.79-build/bluez-5.79/src/shared/ccp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_incom_call_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:661:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:654:13: note: (1) entry to 'bt_ccp_incom_call_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:657:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_incom_call_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:657:30: note: (6) returning to 'bt_ccp_incom_call_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_incom_call_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_incom_call_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:661:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_call_state_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:683:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:676:13: note: (1) entry to 'bt_ccp_call_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:679:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:679:30: note: (6) returning to 'bt_ccp_call_state_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_state_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:683:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_call_list_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:705:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:698:13: note: (1) entry to 'bt_ccp_call_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:701:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:701:30: note: (6) returning to 'bt_ccp_call_list_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_list_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:705:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_name_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:727:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:720:13: note: (1) entry to 'bt_ccp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:723:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:723:30: note: (6) returning to 'bt_ccp_name_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_name_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:727:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_term_reason_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:749:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:742:13: note: (1) entry to 'bt_ccp_term_reason_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:745:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_term_reason_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:745:30: note: (6) returning to 'bt_ccp_term_reason_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_term_reason_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_term_reason_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:749:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_status_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:770:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:763:13: note: (1) entry to 'bt_ccp_status_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:766:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_status_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:766:30: note: (6) returning to 'bt_ccp_status_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_status_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_status_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:770:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_uci_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:792:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:785:13: note: (1) entry to 'bt_ccp_uci_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:788:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uci_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:788:30: note: (6) returning to 'bt_ccp_uci_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uci_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uci_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:792:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_technology_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:813:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:806:13: note: (1) entry to 'bt_ccp_technology_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:809:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_technology_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:809:30: note: (6) returning to 'bt_ccp_technology_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_technology_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_technology_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:813:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_strength_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:833:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:826:13: note: (1) entry to 'bt_ccp_strength_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:829:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_strength_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:829:30: note: (6) returning to 'bt_ccp_strength_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_strength_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_strength_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:833:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_ccid_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:853:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:846:13: note: (1) entry to 'bt_ccp_ccid_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:849:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ccid_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:849:30: note: (6) returning to 'bt_ccp_ccid_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ccid_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ccid_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:853:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_tar_uri_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:872:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:865:13: note: (1) entry to 'bt_ccp_tar_uri_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:868:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_tar_uri_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:868:30: note: (6) returning to 'bt_ccp_tar_uri_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_tar_uri_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_tar_uri_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:872:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_ctrl_point_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:893:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:886:13: note: (1) entry to 'bt_ccp_ctrl_point_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:889:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_point_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:889:30: note: (6) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_point_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:893:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_ctrl_opcode_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:913:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:906:13: note: (1) entry to 'bt_ccp_ctrl_opcode_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:909:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_opcode_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:909:30: note: (6) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_opcode_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:913:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_friendly_name_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:933:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:926:13: note: (1) entry to 'bt_ccp_friendly_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:929:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_friendly_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:929:30: note: (6) returning to 'bt_ccp_friendly_name_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_friendly_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_friendly_name_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:933:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_signal_intrvl_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:953:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:946:13: note: (1) entry to 'bt_ccp_signal_intrvl_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:949:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_signal_intrvl_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:949:30: note: (6) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_signal_intrvl_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:953:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_uri_list_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:973:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:966:13: note: (1) entry to 'bt_ccp_uri_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:969:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uri_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:969:30: note: (6) returning to 'bt_ccp_uri_list_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uri_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uri_list_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:973:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'foreach_ccs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1129:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1123:13: note: (1) entry to 'foreach_ccs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1127:30: note: (2) calling 'ccp_get_ccs' from 'foreach_ccs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1127:30: note: (6) returning to 'foreach_ccs_service' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1129:22: note: (7) dereference of NULL 'ccp_get_ccs(user_data)' <--[csmock-gcc-wrapper] /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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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-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_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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/timeout-ell.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c: In function 'bass_build_bcast_src': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:420:17: warning: dereference of NULL 'bad_code' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1182:13: note: (1) entry to 'read_bcast_recv_state.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1201:13: note: (2) calling 'bass_build_bcast_src' from 'read_bcast_recv_state.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:261:12: note: (3) entry to 'bass_build_bcast_src' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:284:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:289:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:289:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:294:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:295:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:300:14: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:300:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:305:14: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:305:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:310:14: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:310:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:315:14: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:315:12: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:320:17: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:320:12: note: (18) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:329:14: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:329:12: note: (20) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:334:27: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:334:12: note: (22) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:335:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:404:12: note: (24) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:411:23: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:419:12: note: (26) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:420:17: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:420:17: note: (28) dereference of NULL 'bad_code' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c: In function 'bass_get_session.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:705:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:691:24: note: (1) entry to 'bass_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:704:16: note: (2) calling 'bt_bass_new' from 'bass_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1597:17: note: (3) entry to 'bt_bass_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1603:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:704:16: note: (6) returning to 'bass_get_session.part.0' from 'bt_bass_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:705:19: note: (7) dereference of NULL 'bt_bass_new(db, 0, adapter_bdaddr)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_st.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mainloop-ell.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'vcp_get_session.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:501:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:488:23: note: (1) entry to 'vcp_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:500:15: note: (2) calling 'bt_vcp_new' from 'vcp_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1921:16: note: (3) entry to 'bt_vcp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1926:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:500:15: note: (6) returning to 'vcp_get_session.part.0' from 'bt_vcp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:501:18: note: (7) dereference of NULL 'bt_vcp_new(db, 0)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'aics_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1733:9: warning: use of possibly-NULL 'ip_descr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1725:12: note: (1) following 'false' branch (when 'db' is non-NULL)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:22: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1728:16: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1732:20: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1733:9: note: (4) argument 1 ('ip_descr') from (3) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'vcp_audio_loc_notify': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1981:27: warning: dereference of possibly-NULL 'vocs_audio_loc_n' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1980:38: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1981:27: note: (2) 'vocs_audio_loc_n' could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'aics_audio_ip_desr_notify': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2555:9: warning: use of possibly-NULL 'aud_ip_desr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2554:23: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2555:9: note: (2) argument 1 ('aud_ip_desr') from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'foreach_vcs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2691:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2685:13: note: (1) entry to 'foreach_vcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2689:30: note: (2) calling 'vcp_get_vcs' from 'foreach_vcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:329:23: note: (3) entry to 'vcp_get_vcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:331:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2689:30: note: (6) returning to 'foreach_vcs_service' from 'vcp_get_vcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2691:22: note: (7) dereference of NULL 'vcp_get_vcs(user_data)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_ti.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-cfgtest.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1322:34: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1281:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[csmock-gcc-wrapper] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1291:17: note: (5) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1292:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1294:30: note: (7) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1297:28: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1302:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1322:34: note: (12) dereference of NULL ‘u’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1327:34: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1281:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[csmock-gcc-wrapper] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1291:17: note: (5) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1292:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1294:30: note: (7) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1297:28: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1302:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1326:28: note: (12) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1327:34: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1327:34: note: (14) dereference of NULL ‘u’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1329:34: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1281:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[csmock-gcc-wrapper] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1291:17: note: (5) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1292:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1294:30: note: (7) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1297:28: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1302:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1326:28: note: (12) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1329:34: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1329:34: note: (14) dereference of NULL ‘u’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1334:39: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1281:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[csmock-gcc-wrapper] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1291:17: note: (5) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1292:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1294:30: note: (7) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1297:28: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1302:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1333:28: note: (12) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1334:39: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1334:39: note: (14) dereference of NULL ‘u’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1336:39: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1281:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[csmock-gcc-wrapper] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1291:17: note: (5) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1292:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1294:30: note: (7) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1297:28: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1302:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1333:28: note: (12) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1336:39: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1336:39: note: (14) dereference of NULL ‘u’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1340:35: warning: dereference of NULL ‘u’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1281:12: note: (1) following ‘false’ branch (when ‘n > 1’)... <--[csmock-gcc-wrapper] cc1: note: (2) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1291:17: note: (5) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1292:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1294:30: note: (7) when ‘strchr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1297:28: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1302:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1286:28: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1289:27: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach.c:1340:35: note: (12) dereference of NULL ‘u’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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.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/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_tialt.o tools/hciattach_tialt.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 /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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_intel.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c: In function ‘texas_load_firmware’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:95:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:93:18: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:101:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:109:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:95:9: note: (7) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:95:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:93:18: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:101:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:109:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:112:24: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:95:9: note: (9) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:95:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:93:18: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:101:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:109:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:112:24: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:112:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:114:42: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:95:9: note: (11) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:95:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:93:18: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:101:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:109:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:112:24: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:112:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:114:42: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:114:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:127:45: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:95:9: note: (13) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:95:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:93:18: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:97:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:101:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:109:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:112:24: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:112:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:114:42: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:114:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:127:45: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:39:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:132:25: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:139:70: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_tialt.c:95:9: note: (15) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c: In function ‘qualcomm_load_firmware’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:93:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:91:18: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:99:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:108:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:93:9: note: (7) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:93:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:91:18: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:99:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:108:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:113:24: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:93:9: note: (9) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:93:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:91:18: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:99:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:108:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:113:24: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:113:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:116:42: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:93:9: note: (11) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:93:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:91:18: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:99:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:108:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:113:24: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:113:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:116:42: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:116:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:121:26: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:93:9: note: (13) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:93:9: warning: leak of file descriptor ‘open(firmware, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:91:18: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (2) assuming ‘open(firmware, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:95:9: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:99:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:108:20: note: (5) following ‘false’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (7) following ‘false’ branch (when ‘nr == 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:111:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:113:24: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:113:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:116:42: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:13: note: in definition of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:116:17: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:121:26: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:40:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:137:25: note: in expansion of macro ‘FAILIF’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:144:50: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_qualcomm.c:93:9: note: (15) ‘open(firmware, 0)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c: In function 'bt_shell_printf': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (1) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (2) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (3) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (4) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (5) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:29: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (14) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (16) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:401:13: note: (1) entry to 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:409:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1536:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:782:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:786:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:789:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:793:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (11) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (12) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (13) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (18) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (20) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (22) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (24) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1604:6: note: (1) entry to 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (2) calling 'input_new' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:358:22: note: (3) entry to 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:364:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:35: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:367:17: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (6) returning to 'bt_shell_attach' from 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1609:12: note: (7) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1612:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1617:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:21: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:20: note: (11) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1619:25: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1619:25: note: (13) calling 'bt_shell_noninteractive_quit' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1536:6: note: (14) entry to 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1538:24: note: (15) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (17) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:782:13: note: (18) entry to 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:786:12: note: (19) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:789:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:793:12: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (23) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (24) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (25) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (26) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (27) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1447:5: note: (1) entry to 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1479:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (4) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:674:12: note: (5) entry to 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:678:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (8) calling 'menu_exec' from 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:625:12: note: (9) entry to 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:628:16: note: (10) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:21: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:20: note: (12) following 'false' branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:633:25: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:637:44: note: (14) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (16) calling 'cmd_exec' from 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:521:12: note: (17) entry to 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:540:12: note: (18) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (20) following 'false' branch (when 'argc <= 1')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:545:17: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:612:12: note: (22) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (24) calling 'cmd_back' from 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (25) entry to 'cmd_back' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:235:12: note: (26) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (27) ...to here cc1: note: (28) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (29) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (30) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (31) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (32) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (33) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (34) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (36) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (38) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (40) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (42) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (44) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1604:6: note: (1) entry to 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (2) calling 'input_new' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:358:22: note: (3) entry to 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:364:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:367:17: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (6) returning to 'bt_shell_attach' from 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1609:12: note: (7) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1612:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1617:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:21: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:21: note: (11) calling 'shell_exec' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:674:12: note: (12) entry to 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:678:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (15) calling 'menu_exec' from 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:625:12: note: (16) entry to 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:628:16: note: (17) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:21: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:20: note: (19) following 'false' branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:633:25: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:637:44: note: (21) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (23) calling 'cmd_exec' from 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:521:12: note: (24) entry to 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:540:12: note: (25) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (27) following 'false' branch (when 'argc <= 1')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:545:17: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:612:12: note: (29) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (31) calling 'cmd_back' from 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (32) entry to 'cmd_back' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:235:12: note: (33) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here cc1: note: (35) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (36) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (37) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (38) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (39) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (40) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (41) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (43) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (45) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (47) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (49) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (51) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:401:13: note: (1) entry to 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:409:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1536:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:782:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:786:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:789:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:793:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (11) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (12) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (13) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (14) returning to 'bt_shell_dequeue_exec' from 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:811:15: note: (15) calling 'bt_shell_exec' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1447:5: note: (16) entry to 'bt_shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1453:12: note: (17) following 'false' branch (when 'input' is non-NULL)... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here cc1: note: (19) calling 'bt_shell_exec.part.0' from 'bt_shell_exec' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1447:5: note: (20) entry to 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1479:12: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (23) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:674:12: note: (24) entry to 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:678:12: note: (25) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (27) calling 'menu_exec' from 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:625:12: note: (28) entry to 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:628:16: note: (29) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:21: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:20: note: (31) following 'false' branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:633:25: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:637:44: note: (33) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 tools/hciattach_bcm43xx.o tools/hciattach_bcm43xx.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 src/oui.o src/oui.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 tools/ciptool.o tools/ciptool.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/gap-tester.o tools/gap-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 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/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/hcidump.o tools/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 tools/rfcomm.o tools/rfcomm.c builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (35) calling 'cmd_exec' from 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:521:12: note: (36) entry to 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:540:12: note: (37) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (39) following 'false' branch (when 'argc <= 1')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:545:17: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:612:12: note: (41) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (43) calling 'cmd_back' from 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (44) entry to 'cmd_back' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:235:12: note: (45) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (46) ...to here cc1: note: (47) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (48) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (49) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (50) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (51) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (52) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (53) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (54) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (55) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (57) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (59) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (60) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (61) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (63) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_ath3k.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciattach_bcm43xx.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hciconfig.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/ciptool.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_get_session.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:661:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:648:23: note: (1) entry to 'bap_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:660:15: note: (2) calling 'bt_bap_new' from 'bap_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:4293:16: note: (3) entry to 'bt_bap_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:4298:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:660:15: note: (6) returning to 'bap_get_session.part.0' from 'bt_bap_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:661:18: note: (7) dereference of NULL 'bt_bap_new(db, 0)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_send': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1535:50: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5060:13: note: (1) entry to 'bap_cp_notify' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5069:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5073:18: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5105:9: note: (4) calling 'bap_req_complete' from 'bap_cp_notify' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1159:13: note: (5) entry to 'bap_req_complete' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1164:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1167:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1183:9: note: (8) calling 'bap_req_free' from 'bap_req_complete' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1145:13: note: (9) entry to 'bap_req_free' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1152:23: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1155:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1183:9: note: (12) returning to 'bap_req_complete' from 'bap_req_free' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5105:9: note: (13) returning to 'bap_cp_notify' from 'bap_req_complete' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5106:9: note: (14) calling 'bap_process_queue' from 'bap_cp_notify' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1569:13: note: (15) entry to 'bap_process_queue' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (16) calling 'bap_debug' from 'bap_process_queue' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1574:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:625:13: note: (17) entry to 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:12: note: (18) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:36: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (20) returning to 'bap_process_queue' from 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1574:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1581:16: note: (21) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1582:21: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1582:21: note: (23) calling 'bap_send' from 'bap_process_queue' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1517:13: note: (24) entry to 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1519:32: note: (25) calling 'bap_get_ascs' from 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1492:24: note: (26) entry to 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:12: note: (27) following 'false' branch (when 'bap' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:25: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:18: note: (29) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (30) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1519:32: note: (31) returning to 'bap_send' from 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1526:37: note: (32) calling 'bap_req_len' from 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1468:17: note: (33) entry to 'bap_req_len' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1478:16: note: (34) following 'false' branch (when 'e' is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1481:16: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1526:37: note: (36) returning to 'bap_send' from 'bap_req_len' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (37) calling 'bap_debug' from 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1528:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:625:13: note: (38) entry to 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:12: note: (39) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:36: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (41) returning to 'bap_send' from 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1528:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1535:50: note: (42) dereference of NULL 'bap_get_ascs(bap)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_cp_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5114:50: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5109:13: note: (1) entry to 'bap_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5112:32: note: (2) calling 'bap_get_ascs' from 'bap_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1492:24: note: (3) entry to 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5112:32: note: (6) returning to 'bap_cp_attach' from 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5114:50: note: (7) dereference of NULL 'bap_get_ascs(bap)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'foreach_ascs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5179:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5173:13: note: (1) entry to 'foreach_ascs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5177:32: note: (2) calling 'bap_get_ascs' from 'foreach_ascs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1492:24: note: (3) entry to 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5177:32: note: (6) returning to 'foreach_ascs_service' from 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5179:23: note: (7) dereference of NULL 'bap_get_ascs(user_data)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_bcast_stream_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5843:20: warning: check of 'lpac' for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5825:30: note: (1) entry to 'bap_bcast_stream_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5834:12: note: (2) following 'false' branch (when 'bap' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5837:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5837:17: note: (4) pointer 'lpac' is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5837:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5838:28: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5842:17: note: (7) calling 'bt_bap_foreach_pac' from 'bap_bcast_stream_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5569:6: note: (8) entry to 'bt_bap_foreach_pac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5572:12: note: (9) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5572:34: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5842:17: note: (11) returning to 'bap_bcast_stream_new' from 'bt_bap_foreach_pac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5843:20: note: (12) pointer 'lpac' is checked for NULL here but it was already dereferenced at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcitool.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c: In function ‘process_frames’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:141:24: warning: leak of ‘buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:657:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:780:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:783:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:783:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:786:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:786:9: note: (6) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:787:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:791:17: note: (8) calling ‘open_socket’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:507:12: note: (9) entry to ‘open_socket’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:514:14: note: (10) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:515:12: note: (11) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:520:13: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:791:17: note: (13) returning to ‘main’ from ‘open_socket’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:791:17: note: (14) calling ‘process_frames’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:126:12: note: (15) entry to ‘process_frames’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:140:12: note: (16) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:143:22: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:149:15: note: (18) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:150:12: note: (19) assuming ‘buf’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:150:12: note: (20) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:157:24: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:178:31: note: (22) following ‘true’ branch (when ‘i == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:179:35: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcidump.c:141:24: note: (24) ‘buf’ leaks here; was allocated at (18) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c: In function ‘cmd_connect’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:354:20: warning: leak of file descriptor ‘open(&devname, 256)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:283:12: note: (1) following ‘false’ branch (when ‘argc > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:288:25: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:296:14: note: (3) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:297:12: note: (4) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:302:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:312:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:318:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:318:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:324:14: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:325:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:331:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:340:12: note: (12) following ‘false’ branch (when ‘dev >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:346:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:347:58: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:17: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:348:21: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:348:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:353:17: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:354:27: note: (18) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:354:20: note: (19) ‘open(&devname, 256)’ leaks here; was opened at (18) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c: In function ‘cmd_listen’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:515:20: warning: leak of file descriptor ‘open(&devname, 256)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:437:14: note: (1) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:438:12: note: (2) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:443:12: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:459:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:465:63: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:467:9: note: (6) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:473:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:480:13: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:500:12: note: (9) following ‘false’ branch (when ‘dev >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:507:9: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:508:58: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:509:21: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:509:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:514:17: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:515:27: note: (15) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm.c:515:20: note: (16) ‘open(&devname, 256)’ leaks here; was opened at (15) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c: In function ‘element_start.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:461:31: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:447:12: note: (1) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:459:21: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:459:12: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:460:48: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:462:38: note: (5) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:461:31: note: (6) dereference of NULL ‘sdp_xml_data_alloc()’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:465:44: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:447:12: note: (1) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:459:21: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:459:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:464:40: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:465:44: note: (5) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:465:44: note: (6) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:465:44: note: (7) dereference of NULL ‘sdp_xml_data_alloc()’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c: In function ‘create_sco_sock’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:576:24: warning: leak of file descriptor ‘sk’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:570:14: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:570:14: note: (2) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:572:12: note: (3) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:579:26: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:580:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:581:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:576:24: note: (7) ‘sk’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c: In function ‘connect_sco_sock’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:616:15: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:734:13: note: (1) entry to ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:740:14: note: (2) calling ‘create_sco_sock’ from ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:564:12: note: (3) entry to ‘create_sco_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:570:14: note: (4) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:570:14: note: (5) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:572:12: note: (6) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:579:26: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:580:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:585:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:589:13: note: (10) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:589:13: note: (11) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:589:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:576:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:740:14: note: (14) returning to ‘test_connect’ from ‘create_sco_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:741:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:746:13: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:746:13: note: (17) calling ‘connect_sco_sock’ from ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:600:12: note: (18) entry to ‘connect_sco_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:607:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:612:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sco-tester.c:616:15: note: (21) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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/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/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/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/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/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/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 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/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/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/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/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/avtest.o tools/avtest.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/hcisecfilter.o tools/hcisecfilter.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hci-tester.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c: In function ‘create_rfcomm_sock’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:404:13: warning: ‘bind’ on possibly invalid file descriptor ‘sk’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:397:14: note: (1) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:404:13: note: (2) ‘sk’ could be invalid <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c: In function ‘connect_rfcomm_sock’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:422:15: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:628:13: note: (1) entry to ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:644:14: note: (2) calling ‘create_rfcomm_sock’ from ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:392:12: note: (3) entry to ‘create_rfcomm_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:397:14: note: (4) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:397:14: note: (5) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:404:13: note: (6) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:404:13: note: (7) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:404:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:406:24: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:644:14: note: (10) returning to ‘test_connect’ from ‘create_rfcomm_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:646:13: note: (11) calling ‘connect_rfcomm_sock’ from ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:412:12: note: (12) entry to ‘connect_rfcomm_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:422:15: note: (13) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:422:15: warning: ‘connect’ on possibly invalid file descriptor ‘sk’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:628:13: note: (1) entry to ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:644:14: note: (2) calling ‘create_rfcomm_sock’ from ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:392:12: note: (3) entry to ‘create_rfcomm_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:397:14: note: (4) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:404:13: note: (5) when ‘bind’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:404:12: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:405:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:644:14: note: (8) returning to ‘test_connect’ from ‘create_rfcomm_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:646:13: note: (9) calling ‘connect_rfcomm_sock’ from ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:412:12: note: (10) entry to ‘connect_rfcomm_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:422:15: note: (11) ‘sk’ could be invalid <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c: In function ‘rfcomm_listen_cb’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:707:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rfcomm-tester.c:707:12: note: (1) ‘g_io_channel_unix_get_fd(io)’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/smp-tester.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/sdptool.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bdaddr.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-tester.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/scotest.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c: In function ‘do_connect’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:532:15: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:767:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:778:70: note: (2) following ‘true’ branch (when ‘opt != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:779:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:836:9: note: (4) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:840:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:841:22: note: (6) calling ‘do_connect’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:503:12: note: (7) entry to ‘do_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:509:14: note: (8) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:509:14: note: (9) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:510:12: note: (10) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:515:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:519:13: note: (12) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:519:13: note: (13) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:519:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:524:12: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:524:12: note: (16) following ‘false’ branch (when ‘fragment == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:527:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avtest.c:532:15: note: (18) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hcieventmask.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/amptest.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btinfo.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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/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/btinfo.o tools/btinfo.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/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/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/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/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/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/cltest.o tools/cltest.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c: In function ‘connect_l2cap_impl’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1610:15: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1860:12: note: (1) entry to ‘connect_socket’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1868:14: note: (2) calling ‘create_l2cap_sock’ from ‘connect_socket’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1517:12: note: (3) entry to ‘create_l2cap_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1525:14: note: (4) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1525:14: note: (5) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1527:12: note: (6) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1534:26: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1535:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1541:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1547:12: note: (10) following ‘true’ branch (when ‘l2data’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1547:29: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1554:13: note: (12) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1554:13: note: (13) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1554:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1562:12: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1562:12: note: (16) following ‘false’ branch (when ‘sec_level == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1578:13: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1578:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1868:14: note: (20) returning to ‘connect_socket’ from ‘create_l2cap_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1870:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1879:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1879:12: note: (23) following ‘false’ branch (when ‘defer == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1892:51: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1891:13: note: (25) calling ‘connect_l2cap_impl’ from ‘connect_socket’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1592:12: note: (26) entry to ‘connect_l2cap_impl’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1598:12: note: (27) following ‘false’ branch (when ‘bdaddr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1603:9: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:1610:15: note: (29) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c: In function ‘l2cap_listen_cb’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:2270:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2cap-tester.c:2270:12: note: (1) ‘g_io_channel_unix_get_fd(io)’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c: In function ‘l2cap_connect’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c:880:13: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c:862:14: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c:862:14: note: (2) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c:863:12: note: (3) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c:869:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c:869:13: note: (5) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c:869:13: note: (6) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c:869:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c:875:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/avinfo.c:880:13: note: (9) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c: In function ‘command_merge’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:260:1: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:119:13: note: (1) entry to ‘command_merge’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:129:12: note: (2) following ‘false’ branch (when ‘argc <= 8’)... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:134:23: note: (4) following ‘true’ branch (when ‘num_input < argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:138:39: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:138:22: note: (6) calling ‘open_btsnoop’ from ‘command_merge’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:80:12: note: (7) entry to ‘open_btsnoop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:86:14: note: (8) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:87:12: note: (9) assuming ‘open(path, 524288)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:87:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:92:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:93:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:99:13: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:99:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /usr/include/sys/types.h:176, <--[csmock-gcc-wrapper] from /usr/include/stdlib.h:514, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:21: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:105:13: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:105:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:111:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:111:12: note: (18) following ‘true’ branch (when ‘type’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:112:25: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:138:22: note: (20) returning to ‘command_merge’ from ‘open_btsnoop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:139:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:142:26: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:142:20: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:149:35: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:134:23: note: (25) following ‘true’ branch (when ‘num_input < argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:138:39: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:138:22: note: (27) calling ‘open_btsnoop’ from ‘command_merge’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:80:12: note: (28) entry to ‘open_btsnoop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:86:14: note: (29) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:87:12: note: (30) assuming ‘open(path, 524288)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:87:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:92:15: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:93:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:99:13: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:99:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:105:13: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:105:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:111:12: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:111:12: note: (39) following ‘true’ branch (when ‘type’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:112:25: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:138:22: note: (41) returning to ‘command_merge’ from ‘open_btsnoop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:139:20: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:142:26: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:142:20: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:149:35: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btsnoop.c:260:1: note: (46) leaks here; was opened at (29) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btproxy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btiotest.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c: In function ‘exit_handler’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:483:9: warning: call to ‘printf’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:549:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:35: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:55:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:555:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:557:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:557:9: note: (4) registering ‘exit_handler’ as signal handler <--[csmock-gcc-wrapper] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:481:13: note: (6) entry to ‘exit_handler’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:483:9: note: (7) call to ‘printf’ from within signal handler <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:490:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:549:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:55:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:555:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:557:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:557:9: note: (4) registering ‘exit_handler’ as signal handler <--[csmock-gcc-wrapper] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:481:13: note: (6) entry to ‘exit_handler’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:490:9: note: (7) call to ‘exit’ from within signal handler <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bneptest.c:490:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c: In function ‘send_message’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:62:13: warning: ‘connect’ on file descriptor ‘fd’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:239:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:246:14: note: (2) calling ‘find_controllers’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:180:13: note: (3) entry to ‘find_controllers’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:187:14: note: (4) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:188:12: note: (5) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:193:14: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:246:14: note: (7) returning to ‘main’ from ‘find_controllers’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:246:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:26: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:416:35: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:249:33: note: in expansion of macro ‘BDADDR_ANY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:249:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:416:35: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:250:53: note: in expansion of macro ‘BDADDR_ANY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:249:45: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:255:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:262:9: note: (14) calling ‘create_receiver’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:112:13: note: (15) entry to ‘create_receiver’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:117:14: note: (16) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:118:12: note: (17) following ‘true’ branch (when ‘fd < 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:119:17: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:262:9: note: (19) returning to ‘main’ from ‘create_receiver’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:263:9: note: (20) calling ‘send_message’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:33:13: note: (21) entry to ‘send_message’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:41:14: note: (22) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:41:14: note: (23) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:42:12: note: (24) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:47:9: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:51:13: note: (26) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:51:13: note: (27) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:51:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:57:9: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/cltest.c:62:13: note: (30) ‘connect’ expects a new socket file descriptor but ‘fd’ is bound <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/seq2bseq.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/advtest.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c: In function ‘write_block’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:108:9: warning: use of possibly-NULL ‘fp’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:142:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:152:20: note: (2) following ‘false’ branch (when ‘opt >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:155:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:155:17: note: (4) following ‘case 111:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:156:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:170:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:175:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:175:12: note: (8) following ‘false’ branch (when ‘output_pathname’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:180:14: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:180:14: note: (10) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:182:21: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:184:64: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:183:17: note: (13) calling ‘write_block’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:67:13: note: (14) entry to ‘write_block’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:75:12: note: (15) following ‘false’ branch (when ‘pathname’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:82:14: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:83:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:86:28: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:108:9: note: (19) argument 1 (‘fp’) from (10) could be NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/create-image.c:16: <--[csmock-gcc-wrapper] /usr/include/stdio.h:357:12: note: argument 1 of ‘fprintf’ must be non-null <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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/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/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/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/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/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/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/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 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 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/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/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/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/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/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/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 -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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/obex-server-tool.o tools/obex-server-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/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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/oobtest.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c: In function ‘listen_iso_sock’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2791:26: warning: dereference of possibly-NULL ‘addr’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:3311:13: note: (1) entry to ‘test_bcast_recv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:3315:9: note: (2) calling ‘setup_listen’ from ‘test_bcast_recv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2860:13: note: (3) entry to ‘setup_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2866:14: note: (4) calling ‘listen_iso_sock’ from ‘setup_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2766:12: note: (5) entry to ‘listen_iso_sock’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2773:14: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2774:12: note: (7) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2781:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2782:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2789:16: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2789:16: note: (11) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/iso-tester.c:2791:26: note: (12) ‘addr’ could be NULL: unchecked value from (11) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btgatt-server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c: In function ‘handle_put’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:133:20: warning: use of NULL ‘name’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:120:22: note: (1) ‘type’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:123:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:126:22: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:126:22: note: (4) ‘name’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:129:62: note: (5) ‘name’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:128:9: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:128:55: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:133:20: note: (8) ‘name’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:133:20: note: (9) ‘name’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:133:20: note: (10) ‘name’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:133:20: note: (11) argument 1 (‘name’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:17: <--[csmock-gcc-wrapper] /usr/include/fcntl.h:209:12: note: argument 1 of ‘open’ must be non-null <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c: In function ‘handle_get’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:192:20: warning: use of NULL ‘name’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:179:22: note: (1) ‘type’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:182:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:185:22: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:185:22: note: (4) ‘name’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:188:62: note: (5) ‘name’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:187:9: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:187:55: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:192:20: note: (8) ‘name’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:192:20: note: (9) ‘name’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:192:20: note: (10) ‘name’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/obex-server-tool.c:192:20: note: (11) argument 1 (‘name’) NULL where non-null expected <--[csmock-gcc-wrapper] /usr/include/fcntl.h:209:12: note: argument 1 of ‘open’ must be non-null <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btgatt-client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/test-runner.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/test-runner.c:951: warning: uninitvar(CWE-457): Uninitialized variable: argv <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/network/connection.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/network/server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 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/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 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/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/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/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 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-micp.o `test -f 'profiles/audio/micp.c' || echo './'`profiles/audio/micp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/plugins/sixaxis.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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/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-bass.o `test -f 'profiles/audio/bass.c' || echo './'`profiles/audio/bass.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/bass.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 profiles/audio/bluetoothd-asha.o `test -f 'profiles/audio/asha.c' || echo './'`profiles/audio/asha.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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/att.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c: In function ‘construct_full_pdu’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:207:17: warning: use of uninitialized value ‘pdu’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:348:13: note: (1) entry to ‘client_notify_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:351:24: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:351:24: note: (3) capacity: ‘(int)length + 2’ bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:355:12: note: (4) following ‘false’ branch (when ‘length == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:358:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:358:9: note: (6) calling ‘attrib_callback_notify’ from ‘client_notify_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:240:13: note: (7) entry to ‘attrib_callback_notify’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:247:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:250:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:257:15: note: (10) calling ‘construct_full_pdu’ from ‘attrib_callback_notify’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:196:17: note: (11) entry to ‘construct_full_pdu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:201:12: note: (12) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:204:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:206:12: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:207:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:207:17: note: (16) use of uninitialized value ‘pdu’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 attrib/bluetoothd-gatt.o `test -f 'attrib/gatt.c' || echo './'`attrib/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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.c:159: 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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/rfkill.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-service.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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-main.o `test -f 'src/main.c' || echo './'`src/main.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/main.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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’, /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] inlined from ‘bt_search_service’ at src/sdp-client.c:393:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:353:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c: In function ‘bt_search_service’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:382:5: note: (1) entry to ‘bt_search_service’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:386:32: note: (2) ‘ctxt’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:389:12: note: (3) following ‘false’ branch (when ‘cb’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:393:15: note: (4) inlined call to ‘create_search_context_full’ from ‘bt_search_service’ <--[csmock-gcc-wrapper] In function ‘create_search_context_full’, inlined from ‘bt_search_service’ at src/sdp-client.c:393:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:348:19: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:348:19: note: (6) calling ‘create_search_context’ from ‘bt_search_service’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c: In function ‘bt_search_service’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:292:12: note: (7) entry to ‘create_search_context’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:302:12: note: (8) following ‘false’ branch (when ‘ctxt’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:305:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:305:13: note: (10) calling ‘get_cached_sdp_session’ from ‘create_search_context’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:58:23: note: (11) entry to ‘get_cached_sdp_session’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:63:41: note: (12) following ‘false’ branch (when ‘l’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:305:13: note: (14) returning to ‘create_search_context’ from ‘get_cached_sdp_session’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:306:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:307:21: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:309:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:15: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:310:25: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:393:15: note: (19) inlined call to ‘create_search_context_full’ from ‘bt_search_service’ <--[csmock-gcc-wrapper] In function ‘create_search_context_full’, inlined from ‘bt_search_service’ at src/sdp-client.c:393:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:348:19: note: (20) returning to ‘bt_search_service’ from ‘create_search_context’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:350:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:353:10: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:353:10: note: (23) ‘ctxt’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:353:21: note: (24) dereference of NULL ‘ctxt’ <--[csmock-gcc-wrapper] In function ‘create_search_context_full’, inlined from ‘bt_search’ at src/sdp-client.c:372:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:353:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c: In function ‘bt_search’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:361:5: note: (1) entry to ‘bt_search’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:365:32: note: (2) ‘ctxt’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:368:12: note: (3) following ‘false’ branch (when ‘cb’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:372:15: note: (4) inlined call to ‘create_search_context_full’ from ‘bt_search’ <--[csmock-gcc-wrapper] In function ‘create_search_context_full’, inlined from ‘bt_search’ at src/sdp-client.c:372:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:348:19: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:348:19: note: (6) calling ‘create_search_context’ from ‘bt_search’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c: In function ‘bt_search’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:292:12: note: (7) entry to ‘create_search_context’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:302:12: note: (8) following ‘false’ branch (when ‘ctxt’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:305:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:305:13: note: (10) calling ‘get_cached_sdp_session’ from ‘create_search_context’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:58:23: note: (11) entry to ‘get_cached_sdp_session’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:63:41: note: (12) following ‘false’ branch (when ‘l’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:305:13: note: (14) returning to ‘create_search_context’ from ‘get_cached_sdp_session’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:306:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:307:21: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:309:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:310:25: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:372:15: note: (19) inlined call to ‘create_search_context_full’ from ‘bt_search’ <--[csmock-gcc-wrapper] In function ‘create_search_context_full’, inlined from ‘bt_search’ at src/sdp-client.c:372:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:348:19: note: (20) returning to ‘bt_search’ from ‘create_search_context’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:350:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:353:10: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:353:10: note: (23) ‘ctxt’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-client.c:353:21: note: (24) dereference of NULL ‘ctxt’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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-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-sdp-xml.o `test -f 'src/sdp-xml.c' || echo './'`src/sdp-xml.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c: In function ‘element_start.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:461:31: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:447:12: note: (1) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:459:21: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:459:12: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:460:48: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:462:38: note: (5) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:461:31: note: (6) dereference of NULL ‘sdp_xml_data_alloc()’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:465:44: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:447:12: note: (1) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:459:21: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:459:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:464:40: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:465:44: note: (5) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:465:44: note: (6) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdp-xml.c:465:44: note: (7) dereference of NULL ‘sdp_xml_data_alloc()’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/plugin.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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-sdpd-request.o `test -f 'src/sdpd-request.c' || echo './'`src/sdpd-request.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:28: <--[csmock-gcc-wrapper] In function ‘put_be16’, inlined from ‘extract_des’ at src/sdpd-request.c:212:5: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: warning: dereference of possibly-NULL ‘pElem’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:265:9: note: in expansion of macro ‘put_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1133:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:23: <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1028:29: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1030:9: note: (16) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1031:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1033:26: note: (18) calling ‘service_search_req’ from ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:390:12: note: (19) entry to ‘service_search_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:405:19: note: (20) calling ‘extract_des’ from ‘service_search_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:137:12: note: (21) entry to ‘extract_des’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:152:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:156:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:166:20: note: (24) following ‘false’ branch (when ‘bufsize != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:171:26: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:175:20: note: (26) following ‘true’ branch (when ‘expectedType == 254’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:176:52: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:176:28: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (30) following ‘case 9:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:191:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:195:28: note: (32) following ‘false’ branch (when ‘bufsize > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:200:28: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:200:28: note: (34) following ‘false’ branch (when ‘expectedType != 255’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:209:33: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:211:41: note: (36) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:212:33: note: (37) inlined call to ‘put_be16’ from ‘extract_des’ <--[csmock-gcc-wrapper] In function ‘put_be16’, inlined from ‘extract_des’ at src/sdpd-request.c:212:5: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: note: (38) ‘pElem’ could be NULL: unchecked value from (36) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:265:9: note: in expansion of macro ‘put_unaligned’ <--[csmock-gcc-wrapper] In function ‘put_be32’, inlined from ‘extract_des’ at src/sdpd-request.c:240:5: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: warning: dereference of possibly-NULL ‘pElem’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:287:9: note: in expansion of macro ‘put_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1133:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1028:29: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1030:9: note: (16) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1031:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1033:26: note: (18) calling ‘service_search_req’ from ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:390:12: note: (19) entry to ‘service_search_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:405:19: note: (20) calling ‘extract_des’ from ‘service_search_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:137:12: note: (21) entry to ‘extract_des’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:152:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:156:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:166:20: note: (24) following ‘false’ branch (when ‘bufsize != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:171:26: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:175:20: note: (26) following ‘true’ branch (when ‘expectedType == 254’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:176:52: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:176:28: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (30) following ‘case 10:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:218:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:222:28: note: (32) following ‘false’ branch (when ‘bufsize > 3’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:227:28: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:227:28: note: (34) following ‘false’ branch (when ‘expectedType != 255’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:237:33: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:239:41: note: (36) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:240:33: note: (37) inlined call to ‘put_be32’ from ‘extract_des’ <--[csmock-gcc-wrapper] In function ‘put_be32’, inlined from ‘extract_des’ at src/sdpd-request.c:240:5: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: note: (38) ‘pElem’ could be NULL: unchecked value from (36) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:287:9: note: in expansion of macro ‘put_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:105:9: warning: use of possibly-NULL ‘data’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1133:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1028:29: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1030:9: note: (16) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1031:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1033:26: note: (18) calling ‘service_search_req’ from ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:390:12: note: (19) entry to ‘service_search_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:405:19: note: (20) calling ‘extract_des’ from ‘service_search_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:137:12: note: (21) entry to ‘extract_des’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:152:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:156:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:166:20: note: (24) following ‘false’ branch (when ‘bufsize != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:171:26: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:175:20: note: (26) following ‘true’ branch (when ‘expectedType == 254’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:176:52: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:176:28: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (30) following ‘case 9:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:191:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:195:28: note: (32) following ‘false’ branch (when ‘bufsize > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:200:28: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:200:28: note: (34) following ‘false’ branch (when ‘expectedType != 255’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:209:33: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:264:20: note: (36) following ‘true’ branch (when ‘status == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:265:32: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:405:19: note: (38) returning to ‘service_search_req’ from ‘extract_des’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:407:12: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:411:15: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:417:12: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:422:12: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:422:12: note: (43) following ‘false’ branch (when ‘data_left > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:427:20: note: (44) inlined call to ‘get_be16’ from ‘service_search_req’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:25: <--[csmock-gcc-wrapper] In function ‘get_be16’, inlined from ‘service_search_req’ at src/sdpd-request.c:427:13: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:216:16: note: in expansion of macro ‘be16_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:216:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:439:12: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:444:18: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:462:12: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:464:36: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:487:20: note: (50) following ‘true’ branch (when ‘rsp_count > actual’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:489:36: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:489:36: note: (52) calling ‘sdp_cstate_alloc_buf’ from ‘service_search_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:100:17: note: (53) entry to ‘sdp_cstate_alloc_buf’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:103:25: note: (54) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:105:9: note: (55) argument 1 (‘data’) from (54) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:106:9: warning: use of possibly-NULL ‘cinfo’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1133:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1028:29: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1030:9: note: (16) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1031:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1033:26: note: (18) calling ‘service_search_req’ from ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:390:12: note: (19) entry to ‘service_search_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:405:19: note: (20) calling ‘extract_des’ from ‘service_search_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:137:12: note: (21) entry to ‘extract_des’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:152:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:156:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:166:20: note: (24) following ‘false’ branch (when ‘bufsize != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:171:26: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:175:20: note: (26) following ‘true’ branch (when ‘expectedType == 254’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:176:52: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:176:28: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (30) following ‘case 9:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:191:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:195:28: note: (32) following ‘false’ branch (when ‘bufsize > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:200:28: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:200:28: note: (34) following ‘false’ branch (when ‘expectedType != 255’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:209:33: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:264:20: note: (36) following ‘true’ branch (when ‘status == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:265:32: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:405:19: note: (38) returning to ‘service_search_req’ from ‘extract_des’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:407:12: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:411:15: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:417:12: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:422:12: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:422:12: note: (43) following ‘false’ branch (when ‘data_left > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:427:20: note: (44) inlined call to ‘get_be16’ from ‘service_search_req’ <--[csmock-gcc-wrapper] In function ‘get_be16’, inlined from ‘service_search_req’ at src/sdpd-request.c:427:13: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:216:16: note: in expansion of macro ‘be16_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:216:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘sdp_cstate_alloc_buf’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:439:12: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:444:18: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:462:12: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:464:36: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:487:20: note: (50) following ‘true’ branch (when ‘rsp_count > actual’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:489:36: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:489:36: note: (52) calling ‘sdp_cstate_alloc_buf’ from ‘service_search_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:100:17: note: (53) entry to ‘sdp_cstate_alloc_buf’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:102:34: note: (54) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:106:9: note: (55) argument 1 (‘cinfo’) from (54) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:203:42: warning: dereference of possibly-NULL ‘aid’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1133:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1028:29: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1030:9: note: (16) following ‘case 4:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1036:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1038:26: note: (18) calling ‘service_attr_req’ from ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:700:12: note: (19) entry to ‘service_attr_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:714:12: note: (20) following ‘false’ branch (when ‘data_left > 3’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:719:18: note: (21) inlined call to ‘get_be32’ from ‘service_attr_req’ <--[csmock-gcc-wrapper] In function ‘get_be32’, inlined from ‘service_attr_req’ at src/sdpd-request.c:719:11: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:240:16: note: in expansion of macro ‘be32_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:240:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:724:12: note: (23) following ‘false’ branch (when ‘data_left > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:729:24: note: (24) inlined call to ‘get_be16’ from ‘service_attr_req’ <--[csmock-gcc-wrapper] In function ‘get_be16’, inlined from ‘service_attr_req’ at src/sdpd-request.c:729:17: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:216:16: note: in expansion of macro ‘be16_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:216:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:734:12: note: (26) following ‘false’ branch (when ‘data_left > 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:740:19: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:740:19: note: (28) calling ‘extract_des’ from ‘service_attr_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:137:12: note: (29) entry to ‘extract_des’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:152:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:156:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:166:20: note: (32) following ‘false’ branch (when ‘bufsize != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:171:26: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:175:20: note: (34) following ‘false’ branch (when ‘expectedType != 254’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:180:27: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:180:27: note: (36) following ‘true’ branch (when ‘expectedType == 255’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:181:57: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:180:60: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:185:41: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:185:27: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (42) following ‘case 9:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:191:17: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:195:28: note: (44) following ‘false’ branch (when ‘bufsize > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:200:28: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:200:28: note: (46) following ‘true’ branch (when ‘expectedType == 255’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:202:39: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:202:39: note: (48) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:203:42: note: (49) ‘aid’ could be NULL: unchecked value from (48) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:230:42: warning: dereference of possibly-NULL ‘aid’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1133:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1023:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1028:29: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1030:9: note: (16) following ‘case 4:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1036:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1038:26: note: (18) calling ‘service_attr_req’ from ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:700:12: note: (19) entry to ‘service_attr_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:714:12: note: (20) following ‘false’ branch (when ‘data_left > 3’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:719:18: note: (21) inlined call to ‘get_be32’ from ‘service_attr_req’ <--[csmock-gcc-wrapper] In function ‘get_be32’, inlined from ‘service_attr_req’ at src/sdpd-request.c:719:11: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:240:16: note: in expansion of macro ‘be32_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:240:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:724:12: note: (23) following ‘false’ branch (when ‘data_left > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:729:24: note: (24) inlined call to ‘get_be16’ from ‘service_attr_req’ <--[csmock-gcc-wrapper] In function ‘get_be16’, inlined from ‘service_attr_req’ at src/sdpd-request.c:729:17: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:216:16: note: in expansion of macro ‘be16_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:216:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘extract_des’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:734:12: note: (26) following ‘false’ branch (when ‘data_left > 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:740:19: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:740:19: note: (28) calling ‘extract_des’ from ‘service_attr_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:137:12: note: (29) entry to ‘extract_des’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:152:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:156:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:166:20: note: (32) following ‘false’ branch (when ‘bufsize != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:171:26: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:175:20: note: (34) following ‘false’ branch (when ‘expectedType != 254’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:180:27: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:180:27: note: (36) following ‘true’ branch (when ‘expectedType == 255’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:181:57: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:180:60: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:185:41: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:185:27: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:190:17: note: (42) following ‘case 10:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:218:17: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:222:28: note: (44) following ‘false’ branch (when ‘bufsize > 3’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:227:28: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:227:28: note: (46) following ‘true’ branch (when ‘expectedType == 255’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:229:39: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:229:39: note: (48) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:230:42: note: (49) ‘aid’ could be NULL: unchecked value from (48) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘process_request’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1017:9: warning: use of possibly-NULL ‘buf’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1118:6: note: (1) entry to ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1125:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1130:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1133:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1136:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1141:17: note: (7) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1141:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘process_request’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1147:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1152:17: note: (10) inlined call to ‘bacpy’ from ‘handle_request’ <--[csmock-gcc-wrapper] In function ‘bacpy’, inlined from ‘handle_request’ at src/sdpd-request.c:1152:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:427:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c: In function ‘process_request’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1164:9: note: (12) calling ‘process_request’ from ‘handle_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1009:13: note: (13) entry to ‘process_request’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1014:24: note: (14) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/sdpd-request.c:1017:9: note: (15) argument 1 (‘buf’) from (14) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memset’ must be non-null gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/bap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 btio/bluetoothd-btio.o `test -f 'btio/btio.c' || echo './'`btio/btio.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c: In function ‘server_cb.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:256:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:256:12: note: (1) ‘g_io_channel_unix_get_fd(io)’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c: In function ‘sco_connect’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2009:13: note: (1) entry to ‘bt_io_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2024:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2027:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2027:14: note: (4) calling ‘create_io’ from ‘bt_io_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:36: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:771:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:51: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1996:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2027:14: note: (19) returning to ‘bt_io_connect’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2028:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2031:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2043:9: note: (22) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2051:9: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2052:23: note: (24) calling ‘sco_connect’ from ‘bt_io_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:826:12: note: (25) entry to ‘sco_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:835:15: note: (26) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:835:15: note: (27) when ‘connect’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:836:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:21: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:836:26: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2043:21: note: (30) ‘g_io_channel_unix_get_fd(create_io(0, &opts, gerr))’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c: In function ‘bt_io_listen’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:36: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:771:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:51: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1996:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2099:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:36: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:771:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:51: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1996:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2099:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/service.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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-advertising.o `test -f 'src/advertising.c' || echo './'`src/advertising.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/advertising.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/gatt-client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/eir.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/mgmt-tester.o tools/mgmt-tester.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mgmt-tester.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mgmt-tester.c: internal warning: child 6347 timed out after 30s <--[csmock-gcc-wrapper] cswrap: error: child 6347 (/usr/bin/csmock-gcc-wrapper) 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-profile.o `test -f 'src/profile.c' || echo './'`src/profile.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /usr/include/glib-2.0/glib.h:52, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:21: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c: In function ‘parse_ext_opt’: <--[csmock-gcc-wrapper] /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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2286:21: note: in expansion of macro ‘g_str_equal’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2233:12: note: (1) entry to ‘parse_ext_opt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2241:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2247:20: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2247:19: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2252:20: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2252:19: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2257:20: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2257:19: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2265:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2265:19: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2274:20: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2274:19: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2279:20: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2279:19: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2280:20: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2280:20: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2282:17: note: (17) ...to here <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:56: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (18) inlined call to ‘g_strdup_inline’ from ‘parse_ext_opt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2284:29: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] In function ‘g_strdup_inline’, inlined from ‘parse_ext_opt’ at src/profile.c:2284:15: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c: In function ‘parse_ext_opt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2284:27: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2284:27: note: (21) ‘*ext.role’ is NULL <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (22) argument 1 (‘’) NULL where non-null expected <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2286:21: note: in expansion of macro ‘g_str_equal’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/galloca.h:35, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32: <--[csmock-gcc-wrapper] /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/ghash.h:175:30: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2286:21: note: in expansion of macro ‘g_str_equal’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2354:28: note: (1) entry to ‘create_ext’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2364:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (3) inlined call to ‘g_strdup_inline’ from ‘create_ext’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2369:22: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] In function ‘g_strdup_inline’, inlined from ‘create_ext’ at src/profile.c:2369:15: /usr/include/glib-2.0/glib/gstrfuncs.h:311:7: note: (4) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c: In function ‘parse_ext_opt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2369:20: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2369:20: note: (7) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2372:9: note: (8) calling ‘ext_set_defaults’ from ‘create_ext’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2174:13: note: (9) entry to ‘ext_set_defaults’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2183:26: note: (10) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2185:23: note: (11) following ‘true’ branch (when ‘i != 13’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2189:21: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2189:20: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2189:20: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2372:9: note: (15) returning to ‘create_ext’ from ‘ext_set_defaults’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2374:53: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2378:17: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2384:21: note: (18) calling ‘parse_ext_opt’ from ‘create_ext’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2233:12: note: (19) entry to ‘parse_ext_opt’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (20) inlined call to ‘g_strdup_inline’ from ‘parse_ext_opt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2284:29: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] In function ‘g_strdup_inline’, inlined from ‘parse_ext_opt’ at src/profile.c:2284:15: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c: In function ‘parse_ext_opt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2284:27: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2284:27: note: (23) ‘0’ is NULL <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (24) argument 1 (‘’) NULL where non-null expected <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/profile.c:2286:21: note: in expansion of macro ‘g_str_equal’ <--[csmock-gcc-wrapper] /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/settings.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/set.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:28: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c: In function ‘btd_battery_update’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:56:17: warning: dereference of NULL ‘battery’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:222:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:279:13: note: (1) entry to ‘provided_battery_added_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:290:12: note: (2) following ‘false’ branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:294:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:294:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:299:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:303:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:309:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:309:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:315:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:318:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:321:69: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:328:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:331:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:333:9: note: (14) calling ‘btd_battery_update’ from ‘provided_battery_added_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:220:6: note: (15) entry to ‘btd_battery_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:55:12: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:222:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:56:17: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:222:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:56:17: note: (18) dereference of NULL ‘battery’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:222:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:234:20: warning: dereference of NULL ‘battery’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:279:13: note: (1) entry to ‘provided_battery_added_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:290:12: note: (2) following ‘false’ branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:294:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:294:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:299:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:303:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:309:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:309:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:315:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:318:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:321:69: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:328:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:331:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:333:9: note: (14) calling ‘btd_battery_update’ from ‘provided_battery_added_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:220:6: note: (15) entry to ‘btd_battery_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:55:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.h:60:9: note: in expansion of macro ‘DBG_IDX’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:222:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:224:14: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:224:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:229:12: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:229:12: note: (20) following ‘false’ branch (when ‘percentage <= 100’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:234:20: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/battery.c:234:20: note: (22) dereference of NULL ‘battery’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-packet.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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:129:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:95:9: warning: use of NULL ‘utf16’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c: In function ‘g_obex_header_encode’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:105:8: note: (1) entry to ‘g_obex_header_encode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:116:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:119:15: note: (3) inlined call to ‘put_bytes’ from ‘g_obex_header_encode’ <--[csmock-gcc-wrapper] In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:119:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:95:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c: In function ‘g_obex_header_encode’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:121:9: note: (5) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:122:9: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:123:29: note: (7) calling ‘utf8_to_utf16’ from ‘g_obex_header_encode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:42:14: note: (8) entry to ‘utf8_to_utf16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:46:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:47:24: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:47:24: note: (11) ‘utf16’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:123:29: note: (12) returning to ‘g_obex_header_encode’ from ‘utf8_to_utf16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:124:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:89, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.h:13, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:16: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:126:44: note: (14) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:60:62: note: in definition of macro ‘g_assert_cmpuint’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:129:17: note: (15) ‘utf16’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:129:17: note: (16) inlined call to ‘put_bytes’ from ‘g_obex_header_encode’ <--[csmock-gcc-wrapper] In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:129:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:95:9: note: (17) argument 2 (‘utf16’) NULL where non-null expected <--[csmock-gcc-wrapper] : In function ‘g_obex_header_encode’: : note: argument 2 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c: In function ‘g_obex_header_create_list’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:563:34: warning: dereference of NULL ‘hdr’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:523:9: note: (1) entry to ‘g_obex_header_create_list’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:533:19: note: (2) following ‘true’ branch (when ‘id != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:26:39: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:540:25: note: in expansion of macro ‘G_OBEX_HDR_ENC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:543:31: note: (4) calling ‘g_obex_header_new_unicode’ from ‘g_obex_header_create_list’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:404:14: note: (5) entry to ‘g_obex_header_new_unicode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:411:12: note: (6) following ‘true’ branch (when ‘id > 63’)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:543:31: note: (8) returning to ‘g_obex_header_create_list’ from ‘g_obex_header_new_unicode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:563:34: note: (9) dereference of NULL ‘hdr’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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.79-build/bluez-5.79/src/adv_monitor.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c: In function ‘monitor_process’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:976:48: warning: dereference of possibly-NULL ‘*monitor.merged_pattern’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:36: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:88:21: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:975:35: note: in expansion of macro ‘malloc0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:976:48: note: (2) ‘calloc(1, 56)’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:976:48: warning: dereference of possibly-NULL ‘calloc(1, 56)’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1192:13: note: (1) entry to ‘monitor_proxy_added_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1202:12: note: (2) following ‘false’ branch (when the strings are equal)... <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:56, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:20: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1203:44: note: (3) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:180:30: note: in definition of macro ‘g_str_has_prefix’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1202:55: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1207:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1207:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1214:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1214:19: note: (8) calling ‘monitor_new’ from ‘monitor_proxy_added_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:687:28: note: (9) entry to ‘monitor_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:692:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:695:19: note: in expansion of macro ‘new0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1214:19: note: (12) returning to ‘monitor_proxy_added_cb’ from ‘monitor_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1215:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1222:14: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:1222:14: note: (15) calling ‘monitor_process’ from ‘monitor_proxy_added_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:969:13: note: (16) entry to ‘monitor_process’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:88:21: note: (17) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:975:35: note: in expansion of macro ‘malloc0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adv_monitor.c:976:48: note: (18) ‘calloc(1, 56)’ could be NULL: unchecked value from (17) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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.79-build/bluez-5.79/gobex/gobex-apparam.c: In function ‘tag_new’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:174:15: note: (1) entry to ‘g_obex_apparam_set_uint8’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:179:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint8’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: note: (6) allocated 3 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:182:15: note: (1) entry to ‘g_obex_apparam_set_uint16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:189:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: note: (6) allocated 4 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:192:15: note: (1) entry to ‘g_obex_apparam_set_uint32’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:199:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint32’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: note: (6) allocated 6 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/gatt-database.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 gobex/obexd-gobex-transfer.o `test -f 'gobex/gobex-transfer.c' || echo './'`gobex/gobex-transfer.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-transfer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bluetooth.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/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-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 gobex/obexd-gobex.o `test -f 'gobex/gobex.c' || echo './'`gobex/gobex.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/client/obexd-pbap.o `test -f 'obexd/client/pbap.c' || echo './'`obexd/client/pbap.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/pbap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/client/obexd-bip.o `test -f 'obexd/client/bip.c' || echo './'`obexd/client/bip.c In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:19: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c: In function ‘parse_get_image_dict’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/src/log.h:42:17: warning: use of uninitialized value ‘*maxsize’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:264:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:278:21: note: (1) entry to ‘get_image’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:284:18: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:284:18: note: (3) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:293:14: note: (4) calling ‘parse_get_image_dict’ from ‘get_image’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:186:17: note: (5) entry to ‘parse_get_image_dict’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:203:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:205:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:207:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:209:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:213:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:216:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:218:55: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:222:17: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:224:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:226:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:229:17: note: (16) following ‘case 115:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:230:17: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:232:28: note: (18) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:52, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/gdbus.h:20, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:16: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:236:36: note: in expansion of macro ‘g_str_equal’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:236:35: note: (20) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:242:36: note: in expansion of macro ‘g_str_equal’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:242:35: note: (22) following ‘true’ branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:243:46: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:244:36: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:256:17: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:259:12: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:260:26: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:261:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:262:29: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/src/log.h:41:12: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:264:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/src/log.h:42:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:264:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/src/log.h:42:17: note: (32) use of uninitialized value ‘*maxsize’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip.c:264:9: note: in expansion of macro ‘DBG’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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-session.o `test -f 'obexd/client/session.c' || echo './'`obexd/client/session.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/session.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/client/obexd-transport.o `test -f 'obexd/client/transport.c' || echo './'`obexd/client/transport.c /usr/bin/mkdir -p ell for f in ; do \ if [ ! -f $f ] ; then \ ln -s -t ell -f /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/../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 obexd/client/obexd-driver.o `test -f 'obexd/client/driver.c' || echo './'`obexd/client/driver.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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/map.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/client/obexd-transfer.o `test -f 'obexd/client/transfer.c' || echo './'`obexd/client/transfer.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/transfer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 btio/obexd-btio.o `test -f 'btio/btio.c' || echo './'`btio/btio.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c: In function ‘server_cb.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:256:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:256:12: note: (1) ‘g_io_channel_unix_get_fd(io)’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c: In function ‘sco_connect’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2009:13: note: (1) entry to ‘bt_io_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2024:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2027:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2027:14: note: (4) calling ‘create_io’ from ‘bt_io_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:36: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:771:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:51: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1996:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2027:14: note: (19) returning to ‘bt_io_connect’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2028:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2031:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2043:9: note: (22) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2051:9: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2052:23: note: (24) calling ‘sco_connect’ from ‘bt_io_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:826:12: note: (25) entry to ‘sco_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:835:15: note: (26) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:835:15: note: (27) when ‘connect’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:836:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:21: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:836:26: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2043:21: note: (30) ‘g_io_channel_unix_get_fd(create_io(0, &opts, gerr))’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c: In function ‘bt_io_listen’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:36: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:771:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:51: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1996:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2099:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:36: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:771:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:51: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1996:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2099:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/mesh-mgmt.o mesh/mesh-mgmt.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-mgmt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/net-keys.o mesh/net-keys.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net-keys.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/client/obexd-bip-common.o `test -f 'obexd/client/bip-common.c' || echo './'`obexd/client/bip-common.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/client/bip-common.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/mesh-io-unit.o mesh/mesh-io-unit.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-unit.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-unit.c: In function ‘unit_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-unit.c:238:12: warning: leak of file descriptor ‘*(struct mesh_io_private *).fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-unit.c:219:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/ell.h:1, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-unit.c:22: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/util.h:273:23: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-unit.c:224:15: note: in expansion of macro ‘l_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-unit.c:230:19: note: (3) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-unit.c:231:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-unit.c:234:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-unit.c:238:12: note: (6) ‘*(struct mesh_io_private *).fd’ leaks here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/friend.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/mesh-io-mgmt.o mesh/mesh-io-mgmt.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-mgmt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/mesh-io-generic.o mesh/mesh-io-generic.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-io-generic.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/appkey.o mesh/appkey.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/appkey.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/remprv-server.o mesh/remprv-server.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/remprv-server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/cfgmod-server.o mesh/cfgmod-server.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/cfgmod-server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/node.o mesh/node.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/node.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/node.c:2152: error: uninitvar(CWE-457): Uninitialized variable: data <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/node.c: In function ‘check_req_node’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/node.c:1549:33: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/node.c:1549:12: note: (1) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/node.c:1549:33: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/node.c:1549:33: note: (3) argument 1 (‘node_get_comp(node, 0, & node_len)’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/util.h:11, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/ell.h:1, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/node.c:21: <--[csmock-gcc-wrapper] /usr/include/string.h:64:12: note: argument 1 of ‘memcmp’ must be non-null <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/agent.o mesh/agent.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/agent.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/prov-acceptor.o mesh/prov-acceptor.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c: In function ‘acp_prov_rx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:685:12: warning: check of ‘prov’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:437:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:437:37: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:437:37: note: (3) pointer ‘prov’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:437:29: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/ell.h:2, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:15: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:64:19: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:440:9: note: in expansion of macro ‘l_debug’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:443:12: note: (6) following ‘false’ branch (when ‘type <= 9’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:449:18: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:449:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:452:24: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:452:19: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:459:37: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:459:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:466:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-acceptor.c:685:12: note: (14) pointer ‘prov’ is checked for NULL here but it was already dereferenced at (3) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/manager.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/model.o mesh/model.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/model.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/pb-adv.o mesh/pb-adv.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/pb-adv.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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.79-build/bluez-5.79/src/device.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/device.c: In function ‘device_bonding_retry’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/device.c:6681:29: warning: dereference of NULL ‘data’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/device.c:6677:17: note: (1) entry to ‘device_bonding_retry’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/device.c:6680:39: note: (2) inlined call to ‘device_get_adapter’ from ‘device_bonding_retry’ <--[csmock-gcc-wrapper] In function ‘device_get_adapter’, inlined from ‘device_bonding_retry’ at src/device.c:6680:32: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/device.c:6109:12: note: (3) following ‘true’ branch (when ‘data’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/device.c: In function ‘device_bonding_retry’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/device.c:6681:29: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/device.c:6681:29: note: (5) dereference of NULL ‘data’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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.79-build/bluez-5.79/mesh/prov-initiator.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c: In function ‘int_prov_rx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:837:12: warning: check of ‘prov’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:661:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:661:37: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:661:37: note: (3) pointer ‘prov’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:661:29: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/ell.h:2, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:15: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:64:19: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:664:9: note: in expansion of macro ‘l_debug’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:667:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:670:31: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:670:19: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:676:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:676:12: note: (10) following ‘false’ branch (when ‘type <= 9’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:682:37: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:682:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:689:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:689:9: note: (14) following ‘case 4:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:760:9: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:837:12: note: (16) pointer ‘prov’ is checked for NULL here but it was already dereferenced at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:837:12: warning: check of ‘prov’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1007:13: note: (1) entry to ‘remprv_cli_pkt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1017:12: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1018:22: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1023:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1027:21: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1027:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1031:21: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1031:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1034:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1039:9: note: (10) following ‘case 32863:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1078:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:1079:17: note: (12) calling ‘int_prov_rx’ from ‘remprv_cli_pkt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:653:13: note: (13) entry to ‘int_prov_rx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:661:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:661:37: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:661:37: note: (16) pointer ‘prov’ is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:661:29: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:64:19: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:664:9: note: in expansion of macro ‘l_debug’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:667:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:670:31: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:670:19: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:676:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:676:12: note: (23) following ‘false’ branch (when ‘type <= 9’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:682:37: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:682:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:689:9: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:689:9: note: (27) following ‘case 4:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:760:9: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prov-initiator.c:837:12: note: (29) pointer ‘prov’ is checked for NULL here but it was already dereferenced at (16) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/keyring.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/rpl.o mesh/rpl.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/rpl.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/rpl.c:277: error: legacyUninitvar(CWE-457): Uninitialized variable: val <--[cppcheck] /usr/bin/mkdir -p src/ && rst2man --strict --no-raw --no-generator --no-datestamp src/bluetoothd.rst src/bluetoothd.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 mesh/prvbeac-server.o mesh/prvbeac-server.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/prvbeac-server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/hci.rst doc/hci.7 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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.79-build/bluez-5.79/mesh/main.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/hid2hci.o tools/hid2hci.c /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/l2cap.rst doc/l2cap.7 /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/rfcomm.rst doc/rfcomm.7 /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.Profile.rst doc/org.bluez.Profile.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.Network.rst doc/org.bluez.Network.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.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 /usr/bin/mkdir -p doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.AdminPolicyStatus.rst doc/org.bluez.AdminPolicyStatus.5 /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.MediaFolder.rst doc/org.bluez.MediaFolder.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.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.MediaAssistant.rst doc/org.bluez.MediaAssistant.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.GattCharacteristic.rst doc/org.bluez.GattCharacteristic.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.LEAdvertisingManager.rst doc/org.bluez.LEAdvertisingManager.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.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.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.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.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 doc/ && rst2man --strict --no-raw --no-generator --no-datestamp doc/org.bluez.obex.Image.rst doc/org.bluez.obex.Image.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/btmgmt.rst tools/btmgmt.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 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-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-endpoint.rst client/bluetoothctl-endpoint.1 /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-player.rst client/bluetoothctl-player.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-scan.rst client/bluetoothctl-scan.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-assistant.rst client/bluetoothctl-assistant.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/hciattach.rst tools/hciattach.1 /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/hciconfig.rst tools/hciconfig.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 cp ./tools/hid2hci.rules tools/97-hid2hci.rules /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/ciptool.rst tools/ciptool.1 /usr/bin/mkdir -p mesh/ && rst2man --strict --no-raw --no-generator --no-datestamp mesh/bluetooth-meshd.rst mesh/bluetooth-meshd.8 /usr/bin/mkdir -p tools/ && rst2man --strict --no-raw --no-generator --no-datestamp tools/hid2hci.rst tools/hid2hci.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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh-config-json.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 client/display.o client/display.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c: In function ‘rl_printf’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:53:17: warning: use of uninitialized value ‘saved_line’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:34:15: note: (1) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:34:15: note: (2) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:39:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:47:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:51:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:52:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:53:17: note: (7) use of uninitialized value ‘saved_line’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:53:17: warning: use of uninitialized value ‘saved_line’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:60:6: note: (1) entry to ‘rl_hexdump’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:66:12: note: (2) following ‘false’ branch (when ‘len != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:69:16: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:77:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:86:12: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:97:17: note: (8) calling ‘rl_printf’ from ‘rl_hexdump’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:30:6: note: (9) entry to ‘rl_printf’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:34:15: note: (10) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:34:15: note: (11) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:39:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:47:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:51:12: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:52:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/display.c:53:17: note: (16) use of uninitialized value ‘saved_line’ here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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/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/advertising.o client/advertising.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c: In function ‘ad_register’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c:519:14: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c:509:6: note: (1) entry to ‘ad_register’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c:511:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c:516:18: note: (3) ...to here <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:56, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/gdbus.h:20, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c:22: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (4) inlined call to ‘g_strdup_inline’ from ‘ad_register’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c:517:19: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] In function ‘g_strdup_inline’, inlined from ‘ad_register’ at client/advertising.c:517:12: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c: In function ‘ad_register’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c:517:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c:517:17: note: (7) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c:519:14: note: (8) argument 1 (‘’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /usr/include/string.h:462, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/advertising.c:20: <--[csmock-gcc-wrapper] /usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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/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 -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.79-build/bluez-5.79/src/adapter.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/adapter.c: internal warning: child 7497 timed out after 30s <--[csmock-gcc-wrapper] cswrap: error: child 7497 (/usr/bin/csmock-gcc-wrapper) 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 client/assistant.o client/assistant.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/assistant.c:181: warning: uninitvar(CWE-457): Uninitialized variable: value <--[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 client/main.o client/main.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/main.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/uuid.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/gatt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/gatt.c:730: warning: uninitvar(CWE-457): Uninitialized variable: value <--[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 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.79-build/bluez-5.79/lib/hci.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 client/mgmt.o client/mgmt.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c: In function ‘parse_bytes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:16: warning: leak of ‘adv_data’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4659:13: note: (1) entry to ‘cmd_add_adv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4678:73: note: (2) following ‘true’ branch (when ‘opt != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4679:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4679:17: note: (4) following ‘case 100:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4716:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4717:28: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4722:30: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4722:30: note: (8) calling ‘parse_bytes’ from ‘cmd_add_adv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4617:13: note: (9) entry to ‘parse_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4621:12: note: (10) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4626:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4628:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4633:14: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4634:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (16) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4640:12: note: (17) assuming ‘adv_data’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4640:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4645:23: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4722:30: note: (22) returning to ‘cmd_add_adv’ from ‘parse_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4722:28: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4678:73: note: (25) following ‘true’ branch (when ‘opt != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4679:17: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4679:17: note: (27) following ‘case 100:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4716:17: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4717:28: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4722:30: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4722:30: note: (31) calling ‘parse_bytes’ from ‘cmd_add_adv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4617:13: note: (32) entry to ‘parse_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4621:12: note: (33) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4626:16: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4628:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4633:14: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4634:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:16: note: (39) ‘adv_data’ leaks here; was allocated at (16) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:16: warning: leak of ‘adv_data’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5125:13: note: (1) entry to ‘cmd_add_ext_adv_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5142:66: note: (2) following ‘true’ branch (when ‘opt != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5143:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5143:17: note: (4) following ‘case 100:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5180:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5181:28: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5186:30: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5186:30: note: (8) calling ‘parse_bytes’ from ‘cmd_add_ext_adv_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4617:13: note: (9) entry to ‘parse_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4621:12: note: (10) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4626:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4628:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4633:14: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4634:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (16) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4640:12: note: (17) assuming ‘adv_data’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4640:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4645:23: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5186:30: note: (22) returning to ‘cmd_add_ext_adv_data’ from ‘parse_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5186:28: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5142:66: note: (25) following ‘true’ branch (when ‘opt != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5143:17: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5143:17: note: (27) following ‘case 100:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5180:17: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5181:28: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5186:30: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5186:30: note: (31) calling ‘parse_bytes’ from ‘cmd_add_ext_adv_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4617:13: note: (32) entry to ‘parse_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4621:12: note: (33) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4626:16: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4628:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4633:14: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4634:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:16: note: (39) ‘adv_data’ leaks here; was allocated at (16) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c: In function ‘cmd_add_adv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4818:17: warning: use of uninitialized value ‘adv_data’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4659:13: note: (1) entry to ‘cmd_add_adv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4678:73: note: (2) following ‘true’ branch (when ‘opt != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4679:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4679:17: note: (4) following ‘case 100:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4716:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4717:28: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4722:30: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4722:30: note: (8) calling ‘parse_bytes’ from ‘cmd_add_adv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4617:13: note: (9) entry to ‘parse_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4621:12: note: (10) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4626:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4628:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4633:14: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4634:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (16) region created on heap here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (17) capacity: ‘adv_len’ bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4640:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4645:23: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4722:30: note: (22) returning to ‘cmd_add_adv’ from ‘parse_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4722:28: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4678:73: note: (25) following ‘false’ branch (when ‘opt == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4781:14: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4785:12: note: (27) following ‘false’ branch (when ‘argc == 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4790:12: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4790:12: note: (29) following ‘false’ branch (when ‘uuid_bytes == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4793:20: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4801:12: note: (31) following ‘false’ branch (when ‘cp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4804:22: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4811:12: note: (33) following ‘false’ branch (when ‘uuid_bytes == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4817:12: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4817:12: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4818:17: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4818:17: note: (37) use of uninitialized value ‘adv_data’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c: In function ‘cmd_add_ext_adv_data’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5242:17: warning: use of uninitialized value ‘adv_data’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5125:13: note: (1) entry to ‘cmd_add_ext_adv_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5142:66: note: (2) following ‘true’ branch (when ‘opt != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5143:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5143:17: note: (4) following ‘case 100:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5180:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5181:28: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5186:30: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5186:30: note: (8) calling ‘parse_bytes’ from ‘cmd_add_ext_adv_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4617:13: note: (9) entry to ‘parse_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4621:12: note: (10) following ‘false’ branch (when ‘optarg’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4626:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4628:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4633:14: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4634:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (16) region created on heap here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4639:18: note: (17) capacity: ‘adv_len’ bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4640:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:4645:23: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5186:30: note: (22) returning to ‘cmd_add_ext_adv_data’ from ‘parse_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5186:28: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5142:66: note: (25) following ‘false’ branch (when ‘opt == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5208:14: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5212:12: note: (27) following ‘false’ branch (when ‘argc == 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5217:12: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5217:12: note: (29) following ‘false’ branch (when ‘uuid_bytes == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5220:20: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5228:12: note: (31) following ‘false’ branch (when ‘cp’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5231:22: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5235:12: note: (33) following ‘false’ branch (when ‘uuid_bytes == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5241:12: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5241:12: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5242:17: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/mgmt.c:5242:17: note: (37) use of uninitialized value ‘adv_data’ here <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/gdbus/watch.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/net.o mesh/net.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2214: error: uninitvar(CWE-457): Uninitialized variable: msg <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c: In function ‘friend_packet_queue’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3804:13: note: (1) entry to ‘hb_pub_timeout_func’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3809:9: note: (2) calling ‘send_hb_publication’ from ‘hb_pub_timeout_func’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:261:13: note: (3) entry to ‘send_hb_publication’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:265:17: note: (4) capacity: 4 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:268:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:271:18: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:276:9: note: (7) calling ‘mesh_net_transport_send’ from ‘send_hb_publication’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3407:6: note: (8) entry to ‘mesh_net_transport_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3418:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3421:12: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3421:12: note: (11) following ‘true’ branch (when ‘src == 0’)... <--[csmock-gcc-wrapper] cc1: note: (12) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3424:12: note: (13) following ‘false’ branch (when ‘src != dst’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3427:12: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3431:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3438:12: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3438:12: note: (17) following ‘false’ branch (when ‘ttl != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3442:12: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3442:12: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3442:62: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3446:21: note: (21) calling ‘friend_packet_queue’ from ‘mesh_net_transport_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1327:13: note: (22) entry to ‘friend_packet_queue’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1339:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1342:20: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1342:20: note: (25) calling ‘mesh_friend_msg_new’ from ‘friend_packet_queue’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1186:32: note: (26) entry to ‘mesh_friend_msg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1190:12: note: (27) following ‘false’ branch (when ‘seg_max == 0’)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/ell.h:1, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:19: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/util.h:273:23: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1198:28: note: in expansion of macro ‘l_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1342:20: note: (29) returning to ‘friend_packet_queue’ from ‘mesh_friend_msg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1344:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1361:38: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1363:20: note: (32) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:26: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.h:107:42: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1366:29: note: in expansion of macro ‘FRND_OPCODE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1366:28: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1371:25: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3446:21: note: (36) returning to ‘mesh_net_transport_send’ from ‘friend_packet_queue’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3446:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3453:13: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3453:12: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3456:69: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3454:26: note: (41) calling ‘ctl_received’ from ‘mesh_net_transport_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2086:13: note: (42) entry to ‘ctl_received’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2098:12: note: (43) following ‘true’ branch (when ‘ttl > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2099:39: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2102:21: note: (45) calling ‘friend_packet_queue’ from ‘ctl_received’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1327:13: note: (46) entry to ‘friend_packet_queue’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1339:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1342:20: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1344:12: note: (49) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1345:54: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1348:31: note: (51) following ‘true’ branch (when ‘i <= seg_max’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:50: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: note: (53) out-of-bounds read from byte 4 till byte 12 but ‘msg’ ends at byte 4 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: note: read of 9 bytes from after the end of ‘msg’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: note: valid subscripts for ‘msg’ are ‘[0]’ to ‘[3]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2467:13: note: (1) entry to ‘net_rx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2487:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2490:18: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2501:19: note: (4) calling ‘key_id_to_net_idx’ from ‘net_rx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1807:17: note: (5) entry to ‘key_id_to_net_idx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1813:12: note: (6) following ‘false’ branch (when ‘net’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1816:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1816:12: note: (8) following ‘true’ branch (when ‘frnd’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1817:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2501:19: note: (10) returning to ‘net_rx’ from ‘key_id_to_net_idx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2503:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2506:24: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2506:24: note: (13) calling ‘packet_received’ from ‘net_rx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2326:27: note: (14) entry to ‘packet_received’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2344:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2354:21: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2354:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2361:13: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2361:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2368:13: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2368:13: note: (21) calling ‘msg_in_cache’ from ‘packet_received’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1048:13: note: (22) entry to ‘msg_in_cache’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1060:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/util.h:273:23: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1066:15: note: in expansion of macro ‘l_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2368:13: note: (25) returning to ‘packet_received’ from ‘msg_in_cache’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2368:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/ell.h:2: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:64:19: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2371:9: note: in expansion of macro ‘l_debug’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2380:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2406:28: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2406:27: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2411:29: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2411:28: note: (32) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2412:57: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2411:57: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2417:45: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2417:36: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2418:41: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2418:41: note: (38) calling ‘friend_seg_rxed’ from ‘packet_received’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1852:13: note: (39) entry to ‘friend_seg_rxed’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1870:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1873:27: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1873:12: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1875:17: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1875:17: note: (44) calling ‘send_frnd_ack’ from ‘friend_seg_rxed’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1427:13: note: (45) entry to ‘send_frnd_ack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1431:17: note: (46) capacity: 7 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1434:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1438:38: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1458:12: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1463:17: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1463:17: note: (51) calling ‘mesh_net_transport_send’ from ‘send_frnd_ack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3407:6: note: (52) entry to ‘mesh_net_transport_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3418:12: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3421:12: note: (54) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3421:12: note: (55) following ‘true’ branch (when ‘src == 0’)... <--[csmock-gcc-wrapper] cc1: note: (56) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3424:12: note: (57) following ‘false’ branch (when ‘src != dst’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3427:12: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3427:12: note: (59) following ‘true’ branch (when ‘ttl == 255’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3428:21: note: (60) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3431:12: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3438:12: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3438:12: note: (63) following ‘false’ branch (when ‘ttl != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3442:12: note: (64) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3442:12: note: (65) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3443:39: note: (66) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3446:21: note: (67) calling ‘friend_packet_queue’ from ‘mesh_net_transport_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1327:13: note: (68) entry to ‘friend_packet_queue’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1339:12: note: (69) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1342:20: note: (70) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1344:12: note: (71) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1345:54: note: (72) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1348:31: note: (73) following ‘true’ branch (when ‘i <= seg_max’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:50: note: (74) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: note: (75) out-of-bounds read from byte 7 till byte 12 but ‘msg’ ends at byte 7 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: note: read of 6 bytes from after the end of ‘msg’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: note: valid subscripts for ‘msg’ are ‘[0]’ to ‘[6]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2467:13: note: (1) entry to ‘net_rx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2487:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2490:18: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2501:19: note: (4) calling ‘key_id_to_net_idx’ from ‘net_rx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1807:17: note: (5) entry to ‘key_id_to_net_idx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1813:12: note: (6) following ‘false’ branch (when ‘net’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1816:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1816:12: note: (8) following ‘true’ branch (when ‘frnd’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1817:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2501:19: note: (10) returning to ‘net_rx’ from ‘key_id_to_net_idx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2503:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2506:24: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2506:24: note: (13) calling ‘packet_received’ from ‘net_rx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2326:27: note: (14) entry to ‘packet_received’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2344:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2354:21: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2354:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2361:13: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2361:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2368:13: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2368:13: note: (21) calling ‘msg_in_cache’ from ‘packet_received’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1048:13: note: (22) entry to ‘msg_in_cache’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1060:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/util.h:273:23: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1066:15: note: in expansion of macro ‘l_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2368:13: note: (25) returning to ‘packet_received’ from ‘msg_in_cache’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2368:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:64:19: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2371:9: note: in expansion of macro ‘l_debug’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2380:20: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2406:28: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2406:27: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2411:29: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2424:33: note: (32) calling ‘seg_rxed’ from ‘packet_received’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1950:13: note: (33) entry to ‘seg_rxed’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1973:12: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1973:30: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1973:20: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1974:39: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1973:51: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1994:38: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1996:12: note: (40) following ‘true’ branch (when ‘sar_in’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:64:19: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ell/log.h:90:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1997:17: note: in expansion of macro ‘l_debug’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2000:20: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2001:39: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2000:56: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2004:27: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2004:20: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2006:25: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:2006:25: note: (48) calling ‘send_net_ack’ from ‘seg_rxed’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1469:13: note: (49) entry to ‘send_net_ack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1472:17: note: (50) capacity: 7 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1478:12: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1482:19: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1491:12: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1498:9: note: (54) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1498:9: note: (55) calling ‘mesh_net_transport_send’ from ‘send_net_ack’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3407:6: note: (56) entry to ‘mesh_net_transport_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3418:12: note: (57) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3421:12: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3424:12: note: (59) following ‘false’ branch (when ‘src != dst’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3427:12: note: (60) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3427:12: note: (61) following ‘true’ branch (when ‘ttl == 255’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3428:21: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3431:12: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3438:12: note: (64) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3438:12: note: (65) following ‘false’ branch (when ‘ttl != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3442:12: note: (66) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3442:12: note: (67) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3443:39: note: (68) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:3446:21: note: (69) calling ‘friend_packet_queue’ from ‘mesh_net_transport_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1327:13: note: (70) entry to ‘friend_packet_queue’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1339:12: note: (71) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1342:20: note: (72) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1344:12: note: (73) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1345:54: note: (74) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1348:31: note: (75) following ‘true’ branch (when ‘i <= seg_max’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:50: note: (76) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: note: (77) out-of-bounds read from byte 7 till byte 12 but ‘msg’ ends at byte 7 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: note: read of 6 bytes from after the end of ‘msg’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/net.c:1349:25: note: valid subscripts for ‘msg’ are ‘[0]’ to ‘[6]’ <--[csmock-gcc-wrapper] /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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/polkit.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/queue.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 client/player.o client/player.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c: In function ‘codec_preset_add.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:3493:20: warning: dereference of NULL ‘preset’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:3482:29: note: (1) entry to ‘codec_preset_add’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:3487:17: note: (2) calling ‘preset_find_name’ from ‘codec_preset_add’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:1571:29: note: (3) entry to ‘preset_find_name’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:1576:12: note: (4) following ‘true’ branch (when ‘preset’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:3487:17: note: (6) returning to ‘codec_preset_add’ from ‘preset_find_name’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:3488:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (8) ...to here cc1: note: (9) calling ‘codec_preset_add.part.0’ from ‘codec_preset_add’ /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:3482:29: note: (10) entry to ‘codec_preset_add.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:3493:20: note: (11) dereference of NULL ‘preset’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c: In function ‘transport_send_seq.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5415:23: warning: ‘read’ on possibly invalid file descriptor ‘fd’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5548:13: note: (1) entry to ‘cmd_send_transport’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5557:23: note: (2) following ‘true’ branch (when ‘i < argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5558:67: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5560:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5565:29: note: (5) inlined call to ‘find_transport’ from ‘cmd_send_transport’ <--[csmock-gcc-wrapper] In function ‘find_transport’, inlined from ‘cmd_send_transport’ at client/player.c:5565:15: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5109:16: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c: In function ‘transport_send_seq.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5566:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5571:30: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5571:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5576:23: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5576:20: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5583:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5588:20: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:20: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5591:66: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5592:31: note: (15) calling ‘transport_send’ from ‘cmd_send_transport’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5503:12: note: (16) entry to ‘transport_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5511:12: note: (17) following ‘true’ branch (when ‘qos’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5512:24: note: (19) inlined call to ‘transport_send_seq’ from ‘transport_send’ <--[csmock-gcc-wrapper] In function ‘transport_send_seq’, inlined from ‘transport_send’ at client/player.c:5512:10: cc1: note: (20) calling ‘transport_send_seq.part.0’ from ‘transport_send’ /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c: In function ‘transport_send_seq.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5398:12: note: (21) entry to ‘transport_send_seq.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5407:12: note: (22) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[csmock-gcc-wrapper] cc1: note: (23) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5410:23: note: (24) following ‘true’ branch (when ‘i < num’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5412:21: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5415:23: note: (26) ‘fd’ could be invalid <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c: In function ‘cmd_send_transport’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5562:32: warning: leak of file descriptor ‘fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5548:13: note: (1) entry to ‘cmd_send_transport’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5557:23: note: (2) following ‘true’ branch (when ‘i < argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5558:67: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5560:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5565:29: note: (5) inlined call to ‘find_transport’ from ‘cmd_send_transport’ <--[csmock-gcc-wrapper] In function ‘find_transport’, inlined from ‘cmd_send_transport’ at client/player.c:5565:15: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5109:16: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c: In function ‘cmd_send_transport’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5566:20: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5571:30: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5571:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5576:23: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5577:30: note: (11) calling ‘open_file’ from ‘cmd_send_transport’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5351:12: note: (12) entry to ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5357:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5360:22: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5360:22: note: (15) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5577:30: note: (16) returning to ‘cmd_send_transport’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5578:28: note: (17) assuming ‘open_file(*, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5578:28: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5583:17: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5609:20: note: (20) following ‘false’ branch (when ‘err >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5557:32: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/client/player.c:5562:32: note: (22) ‘fd’ leaks here; was opened at (15) <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/gdbus/object.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c: In function 'invalidate_parent_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:772:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1962:10: note: (1) entry to 'g_dbus_detach_object_manager' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1964:14: note: (2) calling 'g_dbus_unregister_interface' from 'g_dbus_detach_object_manager' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1475:10: note: (3) entry to 'g_dbus_unregister_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1480:12: note: (4) following 'false' branch (when 'path' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1483:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1483:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1487:18: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1487:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1490:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1490:13: note: (10) calling 'remove_interface' from 'g_dbus_unregister_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:723:17: note: (11) entry to 'remove_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:727:17: note: (12) inlined call to 'find_interface' from 'remove_interface' <--[csmock-gcc-wrapper] In function 'find_interface', inlined from 'remove_interface' at gdbus/object.c:727:10: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:672:12: note: (13) following 'false' branch (when 'name' is non-NULL)... <--[csmock-gcc-wrapper] In function 'invalidate_parent_data': cc1: note: (14) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:727:17: note: (15) inlined call to 'find_interface' from 'remove_interface' <--[csmock-gcc-wrapper] In function 'find_interface', inlined from 'remove_interface' at gdbus/object.c:727:10: cc1: note: (16) calling 'find_interface.part.0' from 'remove_interface' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c: In function 'invalidate_parent_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:667:31: note: (17) entry to 'find_interface.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:675:33: note: (18) following 'true' branch (when 'list' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:676:40: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:727:17: note: (20) inlined call to 'find_interface' from 'remove_interface' <--[csmock-gcc-wrapper] In function 'find_interface', inlined from 'remove_interface' at gdbus/object.c:727:10: cc1: note: (21) returning to 'remove_interface' from 'find_interface.part.0' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c: In function 'invalidate_parent_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1490:13: note: (22) returning to 'g_dbus_unregister_interface' from 'remove_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1490:12: note: (23) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1493:20: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1496:9: note: (25) calling 'object_path_unref' from 'g_dbus_unregister_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1363:13: note: (26) entry to 'object_path_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1367:12: note: (27) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1371:18: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1371:12: note: (29) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1374:13: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1376:12: note: (31) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1379:9: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1379:9: note: (33) calling 'remove_interface' from 'object_path_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:723:17: note: (34) entry to 'remove_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:727:17: note: (35) inlined call to 'find_interface' from 'remove_interface' <--[csmock-gcc-wrapper] In function 'find_interface', inlined from 'remove_interface' at gdbus/object.c:727:10: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:672:12: note: (36) following 'false' branch (when 'name' is non-NULL)... <--[csmock-gcc-wrapper] In function 'invalidate_parent_data': cc1: note: (37) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:728:12: note: (38) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (39) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1379:9: note: (40) returning to 'object_path_unref' from 'remove_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1380:9: note: (41) calling 'remove_interface' from 'object_path_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:723:17: note: (42) entry to 'remove_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:727:17: note: (43) inlined call to 'find_interface' from 'remove_interface' <--[csmock-gcc-wrapper] In function 'find_interface', inlined from 'remove_interface' at gdbus/object.c:727:10: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:672:12: note: (44) following 'false' branch (when 'name' is non-NULL)... <--[csmock-gcc-wrapper] In function 'invalidate_parent_data': cc1: note: (45) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:728:12: note: (46) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (47) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1380:9: note: (48) returning to 'object_path_unref' from 'remove_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:1382:9: note: (49) calling 'invalidate_parent_data' from 'object_path_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:765:29: note: (50) entry to 'invalidate_parent_data' <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:56, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:19: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (51) inlined call to 'g_strdup_inline' from 'invalidate_parent_data' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:771:23: note: in expansion of macro 'g_strdup' <--[csmock-gcc-wrapper] In function 'g_strdup_inline', inlined from 'invalidate_parent_data' at gdbus/object.c:771:16: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (52) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c: In function 'invalidate_parent_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:772:17: note: (53) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:772:17: note: (54) argument 1 ('') NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/object.c:16: <--[csmock-gcc-wrapper] /usr/include/string.h:273:14: note: argument 1 of 'strrchr' must be non-null <--[csmock-gcc-wrapper] /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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:39: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c: In function 'util_iov_dup': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:83:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:342:15: note: (1) entry to 'util_iov_dup' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:347:12: note: (2) following 'false' branch (when 'iov' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (4) calling 'util_malloc' from 'util_iov_dup' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:41:7: note: (5) entry to 'util_malloc' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:43:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (8) returning to 'util_iov_dup' from 'util_malloc' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:83:17: note: (9) argument 1 ('util_malloc(cnt * 16)') NULL where non-null expected <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:350:15: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c: In function 'util_iov_memcpy.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:379:9: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:377:25: note: (1) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:377:23: note: (2) '*iov.iov_base' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:379:9: note: (3) argument 1 ('realloc(*iov.iov_base, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c: In function 'strdelimit': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1852:16: warning: dereference of possibly-NULL 'dup' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1848:12: note: (1) following 'false' branch (when 'str' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1851:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1851:15: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.c:1852:16: note: (4) 'dup' could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /usr/include/glib-2.0/glib.h:52, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:20: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c: In function 'g_dbus_proxy_lookup': <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/ghash.h:175:30: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:493:21: note: in expansion of macro 'g_str_equal' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1204:13: note: (1) entry to 'parse_interfaces.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1214:54: note: (2) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1218:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1220:20: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1223:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1226:17: note: (6) calling 'parse_properties' from 'parse_interfaces.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1175:13: note: (7) entry to 'parse_properties' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1180:12: note: (8) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1183:13: note: in expansion of macro 'g_str_equal' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1183:12: note: (10) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1186:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:1186:17: note: (12) calling 'g_dbus_proxy_lookup' from 'parse_properties' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:477:13: note: (13) entry to 'g_dbus_proxy_lookup' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:482:12: note: (14) following 'false' branch (when 'interface' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:485:18: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:485:18: note: (16) following 'false' branch (when 'index' is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:485:18: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:485:56: note: (18) following 'true' branch (when 'l' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:486:29: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:487:43: note: (20) calling 'g_dbus_proxy_get_interface' from 'g_dbus_proxy_lookup' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:731:13: note: (21) entry to 'g_dbus_proxy_get_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:733:12: note: (22) following 'true' branch (when 'proxy' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (23) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:487:43: note: (24) returning to 'g_dbus_proxy_lookup' from 'g_dbus_proxy_get_interface' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:488:42: note: (25) calling 'g_dbus_proxy_get_path' from 'g_dbus_proxy_lookup' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:723:13: note: (26) entry to 'g_dbus_proxy_get_path' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:725:12: note: (27) following 'true' branch (when 'proxy' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:488:42: note: (29) returning to 'g_dbus_proxy_lookup' from 'g_dbus_proxy_get_path' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:490:20: note: (30) following 'false' branch (when 'index' is NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/ghash.h:175:30: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:493:21: note: in expansion of macro 'g_str_equal' <--[csmock-gcc-wrapper] /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 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:493:21: note: in expansion of macro 'g_str_equal' <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gdbus/client.c:18: <--[csmock-gcc-wrapper] /usr/include/string.h:156:12: note: argument 1 of 'strcmp' must be non-null <--[csmock-gcc-wrapper] /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 /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 /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.79-build/bluez-5.79/src/shared/mgmt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:724:6: note: (1) entry to 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:731:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (4) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (1) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (2) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (4) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (5) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (8) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (9) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (10) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:852:13: note: (1) entry to 'sef_k1' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:859:14: note: (2) calling 'aes_cmac_be' from 'sef_k1' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (3) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (6) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (7) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (10) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (11) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (12) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:897:6: note: (1) entry to 'bt_crypto_sef' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:907:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:911:14: note: (3) inlined call to 'sef_s1' from 'bt_crypto_sef' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:822:16: note: (4) inlined call to 'aes_cmac_zero' from 'sef_s1' <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/src/shared/crypto.c:794:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:796:16: note: (6) calling 'aes_cmac_be' from 'bt_crypto_sef' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (7) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (8) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (10) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (11) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (14) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (15) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (16) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:935:6: note: (1) entry to 'bt_crypto_sirk' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:943:12: note: (2) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:946:25: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:950:14: note: (4) calling 'bt_crypto_gatt_hash' from 'bt_crypto_sirk' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:724:6: note: (5) entry to 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:731:12: note: (6) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:734:14: note: (8) calling 'alg_new' from 'bt_crypto_gatt_hash' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (9) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (12) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (13) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (14) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.ecb_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:785:6: note: (1) entry to 'bt_crypto_sih' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:788:16: note: (2) calling 'bt_crypto_ah' from 'bt_crypto_sih' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:422:6: note: (3) entry to 'bt_crypto_ah' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:428:12: note: (4) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:432:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:436:14: note: (6) calling 'bt_crypto_e' from 'bt_crypto_ah' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:357:6: note: (7) entry to 'bt_crypto_e' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:363:12: note: (8) following 'false' branch (when 'crypto' is non-NULL)... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:367:9: note: (10) inlined call to 'swap_buf' from 'bt_crypto_e' <--[csmock-gcc-wrapper] In function 'swap_buf', inlined from 'bt_crypto_e' at src/shared/crypto.c:367:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (11) following 'true' branch (when 'i != 16')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:259:39: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (13) following 'false' branch (when 'i == 16')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:369:14: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:369:14: note: (15) calling 'alg_new' from 'bt_crypto_e' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (16) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (17) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (19) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (20) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (21) '*crypto.ecb_aes' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: warning: leak of file descriptor '*crypto.cmac_aes' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:697:6: note: (1) entry to 'bt_crypto_g2' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:706:14: note: (2) calling 'aes_cmac' from 'bt_crypto_g2' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:619:13: note: (3) entry to 'aes_cmac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:624:12: note: (4) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:627:9: note: (6) inlined call to 'swap_buf' from 'aes_cmac' <--[csmock-gcc-wrapper] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:627:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (7) following 'true' branch (when 'i != 16')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:259:39: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (9) following 'false' branch (when 'i == 16')... <--[csmock-gcc-wrapper] In function 'alg_new': cc1: note: (10) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:628:9: note: (11) inlined call to 'swap_buf' from 'aes_cmac' <--[csmock-gcc-wrapper] In function 'swap_buf', inlined from 'aes_cmac' at src/shared/crypto.c:628:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:258:23: note: (12) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:259:39: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c: In function 'alg_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:630:14: note: (14) calling 'aes_cmac_be' from 'aes_cmac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:589:13: note: (15) entry to 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:595:12: note: (16) following 'false' branch (when 'msg_len <= 80')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:598:14: note: (18) calling 'alg_new' from 'aes_cmac_be' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:206:12: note: (19) entry to 'alg_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:208:12: note: (20) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (22) stream socket marked as passive here via 'listen' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (23) when 'accept' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/crypto.c:212:16: note: (24) '*crypto.cmac_aes' leaks here <--[csmock-gcc-wrapper] /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 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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/pcap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/uhid.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/btsnoop.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ecc.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-helpers.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/hfp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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.79-build/bluez-5.79/src/shared/ad.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c: In function 'ad_replace_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:394:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:366:9: note: (1) following 'default:' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:26: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:72:35: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:389:58: note: in expansion of macro 'UINT_TO_PTR' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:390:12: note: (3) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:391:29: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:393:34: note: (5) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:393:32: note: (6) '0' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:394:17: note: (7) argument 1 ('realloc(*.data, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c: In function 'bt_ad_add_manufacturer_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:852:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:840:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:843:22: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:843:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:72:35: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:847:49: note: in expansion of macro 'UINT_TO_PTR' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:848:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:849:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:851:34: note: (7) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:851:32: note: (8) '0' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:852:17: note: (9) argument 1 ('realloc(*.data, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memcpy' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c: In function 'bt_ad_add_service_data': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:988:17: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:977:12: note: (1) following 'false' branch (when 'ad' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:980:22: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:980:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:983:20: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:984:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:985:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:987:34: note: (7) when 'realloc' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:987:32: note: (8) '0' is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ad.c:988:17: note: (9) argument 1 ('realloc(*.data, len)') NULL where non-null expected <--[csmock-gcc-wrapper] : 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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/att.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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-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.79-build/bluez-5.79/src/shared/gatt-server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'read_by_grp_type_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:322:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:270:13: note: (1) entry to 'read_by_grp_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:276:19: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:276:19: note: (3) capacity: 20 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:284:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:289:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:293:9: note: (6) calling 'get_uuid_le' from 'read_by_grp_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:169:13: note: (7) entry to 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:173:9: note: (8) following 'default:' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/att.h:11, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:19: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:176:24: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:293:9: note: (10) returning to 'read_by_grp_type_cb' from 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:297:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:304:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:304:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:315:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:322:9: note: (15) use of uninitialized value 'type' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'read_by_type_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:528:9: warning: use of uninitialized value 'type' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:491:13: note: (1) entry to 'read_by_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:497:19: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:497:19: note: (3) capacity: 20 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:503:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:508:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:512:9: note: (6) calling 'get_uuid_le' from 'read_by_type_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:169:13: note: (7) entry to 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:173:9: note: (8) following 'default:' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:176:24: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:512:9: note: (10) returning to 'read_by_type_cb' from 'get_uuid_le' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:516:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:523:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:523:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:528:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:528:9: note: (15) use of uninitialized value 'type' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'prep_write_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1347:9: warning: use of possibly-NULL 'malloc((long unsigned int)length)' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1304:13: note: (1) entry to 'prep_write_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1315:12: note: (2) following 'false' branch (when 'length > 3')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1320:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1320:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1325:18: note: (5) inlined call to 'get_le16' from 'prep_write_cb' <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:26: <--[csmock-gcc-wrapper] In function 'get_le16', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1325:11: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:26:27: note: in definition of macro 'le16_to_cpu' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:211:28: note: in expansion of macro 'get_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'prep_write_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1329:12: note: (7) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:46:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1334:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:46:9: note: (9) calling 'gatt_log' from 'prep_write_cb' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1334:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:258:13: note: (10) entry to 'gatt_log' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:262:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:262:42: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:46:9: note: (13) returning to 'prep_write_cb' from 'gatt_log' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1334:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1336:17: note: (14) inlined call to 'check_length' from 'prep_write_cb' <--[csmock-gcc-wrapper] In function 'check_length', inlined from 'prep_write_cb' at src/shared/gatt-server.c:1336:10: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:808:12: note: (15) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:811:12: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:811:12: note: (17) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:814:20: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:814:12: note: (19) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c: In function 'prep_write_cb': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1340:17: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1341:12: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1344:16: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1346:21: note: (23) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-server.c:1347:9: note: (24) argument 1 ('malloc((long unsigned int)length)') from (23) could be NULL where non-null expected <--[csmock-gcc-wrapper] : 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-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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-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.79-build/bluez-5.79/src/shared/micp.c: In function 'micp_get_session': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:271:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:258:24: note: (1) entry to 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:270:16: note: (2) calling 'bt_micp_new' from 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:587:17: note: (3) entry to 'bt_micp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:592:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:270:16: note: (6) returning to 'micp_get_session' from 'bt_micp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:271:19: note: (7) dereference of NULL 'bt_micp_new(db, 0)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_muted': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:339:21: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:323:16: note: (1) entry to 'mics_muted' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:331:15: note: (2) inlined call to 'micp_get_mdb' from 'mics_muted' <--[csmock-gcc-wrapper] In function 'micp_get_mdb', inlined from 'mics_muted' at src/shared/micp.c:331:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:97:12: note: (3) following 'false' branch (when 'micp' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:100:17: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_muted': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:332:12: note: (5) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:337:22: note: (6) inlined call to 'mdb_get_mute_state' from 'mics_muted' <--[csmock-gcc-wrapper] In function 'mdb_get_mute_state', inlined from 'mics_muted' at src/shared/micp.c:337:15: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:12: note: (8) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_muted': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:339:21: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:339:21: note: (10) dereference of NULL '' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:421:13: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:368:13: note: (1) entry to 'mics_mute_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:375:32: note: (2) calling 'micp_get_session' from 'mics_mute_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:258:24: note: (3) entry to 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:266:28: note: (4) calling 'bt_micp_get_att' from 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:205:16: note: (5) entry to 'bt_micp_get_att' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:207:12: note: (6) following 'false' branch (when 'micp' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:210:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:266:28: note: (8) returning to 'micp_get_session' from 'bt_micp_get_att' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:375:32: note: (9) returning to 'mics_mute_write' from 'micp_get_session' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:387:12: note: (10) following 'false' branch (when 'offset == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:393:12: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:393:12: note: (12) following 'false' branch (when 'len != 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:400:19: note: (13) inlined call to 'iov_pull_mem' from 'mics_mute_write' <--[csmock-gcc-wrapper] In function 'iov_pull_mem', inlined from 'mics_mute_write' at src/shared/micp.c:400:12: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:84:15: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:86:12: note: (15) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:89:23: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:401:12: note: (17) following 'false' branch (when 'data' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:406:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:406:12: note: (19) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:414:15: note: (20) inlined call to 'micp_get_mdb' from 'mics_mute_write' <--[csmock-gcc-wrapper] In function 'micp_get_mdb', inlined from 'mics_mute_write' at src/shared/micp.c:414:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:97:12: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:97:12: note: (22) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:100:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:415:12: note: (24) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:420:22: note: (25) inlined call to 'mdb_get_mute_state' from 'mics_mute_write' <--[csmock-gcc-wrapper] In function 'mdb_get_mute_state', inlined from 'mics_mute_write' at src/shared/micp.c:420:15: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:17: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:108:12: note: (27) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'mics_mute_write': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:421:13: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:421:13: note: (29) dereference of NULL '' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c: In function 'foreach_mics_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:786:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:780:13: note: (1) entry to 'foreach_mics_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:784:32: note: (2) calling 'micp_get_mics' from 'foreach_mics_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:114:17: note: (3) entry to 'micp_get_mics' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:116:12: note: (4) following 'true' branch (when 'micp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:784:32: note: (6) returning to 'foreach_mics_service' from 'micp_get_mics' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/micp.c:786:23: note: (7) dereference of NULL 'micp_get_mics(user_data)' <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/src/shared/csip.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:20: <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:390:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:382:9: note: (1) following 'case 10240 ... 10243:' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:383:9: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:389:24: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:390:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:390:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:402:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: warning: dereference of possibly-NULL 'data' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c: In function 'gen_hash_m.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:382:9: note: (1) following 'case 10497 ... 10501:' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:394:9: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:401:24: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:402:17: note: (4) inlined call to 'put_le16' from 'gen_hash_m.part.0' <--[csmock-gcc-wrapper] In function 'put_le16', inlined from 'gen_hash_m.part.0' at src/shared/gatt-db.c:402:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:18: note: (5) 'data' could be NULL: unchecked value from (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:260:9: note: in expansion of macro 'put_unaligned' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c: In function 'read_ext_prop_value': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1902:37: warning: dereference of NULL 'value' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1905:13: note: (1) entry to 'read_ext_prop.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1920:9: note: (2) calling 'gatt_db_attribute_read' from 'read_ext_prop.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2102:6: note: (3) entry to 'gatt_db_attribute_read' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2108:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/src/shared/gatt-db.c:2102:6: note: (7) entry to 'gatt_db_attribute_read.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2117:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2143:52: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2143:52: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2145:38: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:2145:9: note: (12) calling 'read_ext_prop_value' from 'gatt_db_attribute_read.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1893:13: note: (13) entry to 'read_ext_prop_value' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1899:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1902:37: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-db.c:1902:37: note: (16) dereference of NULL 'value' <--[csmock-gcc-wrapper] /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-asha.lo `test -f 'src/shared/asha.c' || echo './'`src/shared/asha.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/asha.c -fPIC -DPIC -o src/shared/.libs/libshared_glib_la-asha.o /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/asha.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] 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.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4709:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4711:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: note: (5) when 'connect' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4741:20: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (8) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:29: note: (9) ...to here <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4709:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4711:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: note: (5) when 'connect' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4741:20: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (8) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:29: note: (9) ...to here <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4709:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4711:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: note: (5) when 'connect' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4741:20: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (8) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:29: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4746:33: note: (10) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4746:33: note: (11) ...to here <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4709:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4711:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4720:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4721:30: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (7) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (8) when 'bind' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:20: note: (9) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4726:12: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4726:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4732:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4732:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4736:19: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: note: (15) when 'connect' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4741:20: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (18) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:29: note: (19) ...to here <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4709:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4711:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4720:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4721:30: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (7) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (8) when 'bind' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:20: note: (9) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4726:12: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4726:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4732:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4732:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4736:19: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: note: (15) when 'connect' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4741:20: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (18) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:29: note: (19) ...to here <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4709:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4711:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4720:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4721:30: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (7) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (8) when 'bind' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:20: note: (9) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4726:12: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4726:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4732:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4732:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4736:19: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: note: (15) when 'connect' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4741:20: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (18) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:29: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4746:33: note: (20) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4746:33: note: (21) ...to here <--[csmock-gcc-wrapper] cc1: note: (22) 'socket(31, sockflags, 0)' leaks here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c: In function 'sdp_connect_local': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4674:16: warning: leak of file descriptor 'socket(1, 524289, 0)' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4666:25: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4666:25: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4667:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4669:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4674:16: note: (5) when 'connect' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4674:16: note: (6) 'socket(1, 524289, 0)' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c: In function 'sdp_connect_l2cap': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:20: warning: leak of file descriptor 'socket(31, sockflags, 0)' [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4709:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4711:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4720:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4721:30: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (7) when 'bind' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:20: note: (8) 'socket(31, sockflags, 0)' leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: warning: 'connect' on file descriptor '*session.sock' in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4709:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4711:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4720:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4721:30: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (7) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (8) when 'bind' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:20: note: (9) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4726:12: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4726:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4732:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4732:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4736:19: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: note: (15) 'connect' expects a new socket file descriptor but '*session.sock' is bound <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: warning: 'connect' on file descriptor 'socket(31, sockflags, 0)' in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4708:25: note: (2) when 'socket' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4709:12: note: (3) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4711:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4720:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4721:30: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (7) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:21: note: (8) when 'bind' succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4722:20: note: (9) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4726:12: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4726:12: note: (11) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4732:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4732:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4736:19: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: note: (15) when 'connect' fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4741:20: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:20: note: (18) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4743:29: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4746:33: note: (20) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/sdp.c:4740:27: note: (22) 'connect' expects a new socket file descriptor but 'socket(31, sockflags, 0)' is bound <--[csmock-gcc-wrapper] /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 /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.79-build/bluez-5.79/src/shared/mcp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'mcp_send': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:586:17: warning: dereference of NULL 'mcp' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:578:21: note: (1) entry to 'mcp_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:580:30: note: (2) calling 'mcp_get_mcs' from 'mcp_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:580:30: note: (6) returning to 'mcp_send' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'mcp_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:111:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (11) returning to 'mcp_send' from 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:584:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:586:17: note: (12) dereference of NULL 'mcp' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_mp_name_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1068:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1063:13: note: (1) entry to 'bt_mcp_mp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1066:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_mp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1066:30: note: (6) returning to 'bt_mcp_mp_name_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1068:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_changed_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1086:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1081:13: note: (1) entry to 'bt_mcp_track_changed_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1084:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_changed_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1084:30: note: (6) returning to 'bt_mcp_track_changed_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1086:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_title_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1102:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1097:13: note: (1) entry to 'bt_mcp_track_title_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1100:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_title_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1100:30: note: (6) returning to 'bt_mcp_track_title_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1102:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_duration_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1120:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1115:13: note: (1) entry to 'bt_mcp_track_duration_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1118:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_duration_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1118:30: note: (6) returning to 'bt_mcp_track_duration_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1120:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_track_position_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1138:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1133:13: note: (1) entry to 'bt_mcp_track_position_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1136:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_track_position_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1136:30: note: (6) returning to 'bt_mcp_track_position_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1138:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_media_state_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1156:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1151:13: note: (1) entry to 'bt_mcp_media_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1154:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1154:30: note: (6) returning to 'bt_mcp_media_state_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1156:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_media_cp_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1174:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1169:13: note: (1) entry to 'bt_mcp_media_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1172:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1172:30: note: (6) returning to 'bt_mcp_media_cp_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1174:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_media_cp_op_supported_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1190:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1185:13: note: (1) entry to 'bt_mcp_media_cp_op_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1188:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_media_cp_op_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1188:30: note: (6) returning to 'bt_mcp_media_cp_op_supported_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1190:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'bt_mcp_content_control_id_supported_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1209:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1204:13: note: (1) entry to 'bt_mcp_content_control_id_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1207:30: note: (2) calling 'mcp_get_mcs' from 'bt_mcp_content_control_id_supported_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1207:30: note: (6) returning to 'bt_mcp_content_control_id_supported_attach' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1209:49: note: (7) dereference of NULL 'mcp_get_mcs(mcp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c: In function 'foreach_mcs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1376:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1368:13: note: (1) entry to 'foreach_mcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1372:30: note: (2) calling 'mcp_get_mcs' from 'foreach_mcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:564:23: note: (3) entry to 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:566:12: note: (4) following 'true' branch (when 'mcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1372:30: note: (6) returning to 'foreach_mcs_service' from 'mcp_get_mcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (7) calling 'mcp_debug' from 'foreach_mcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1374:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:106:13: note: (8) entry to 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:110:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:111:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:33:9: note: (11) returning to 'foreach_mcs_service' from 'mcp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1374:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mcp.c:1376:22: note: (12) dereference of NULL 'mcp_get_mcs(user_data)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_incom_call_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:661:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:654:13: note: (1) entry to 'bt_ccp_incom_call_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:657:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_incom_call_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:657:30: note: (6) returning to 'bt_ccp_incom_call_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_incom_call_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_incom_call_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:659:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:661:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_call_state_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:683:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:676:13: note: (1) entry to 'bt_ccp_call_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:679:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:679:30: note: (6) returning to 'bt_ccp_call_state_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_state_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_state_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:681:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:683:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_call_list_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:705:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:698:13: note: (1) entry to 'bt_ccp_call_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:701:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_call_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:701:30: note: (6) returning to 'bt_ccp_call_list_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_call_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_call_list_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:703:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:705:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_name_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:727:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:720:13: note: (1) entry to 'bt_ccp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:723:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:723:30: note: (6) returning to 'bt_ccp_name_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_name_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:725:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:727:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_term_reason_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:749:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:742:13: note: (1) entry to 'bt_ccp_term_reason_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:745:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_term_reason_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:745:30: note: (6) returning to 'bt_ccp_term_reason_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_term_reason_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_term_reason_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:747:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:749:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_status_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:770:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:763:13: note: (1) entry to 'bt_ccp_status_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:766:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_status_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:766:30: note: (6) returning to 'bt_ccp_status_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_status_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_status_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:768:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:770:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_uci_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:792:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:785:13: note: (1) entry to 'bt_ccp_uci_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:788:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uci_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:788:30: note: (6) returning to 'bt_ccp_uci_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uci_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uci_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:790:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:792:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_technology_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:813:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:806:13: note: (1) entry to 'bt_ccp_technology_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:809:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_technology_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:809:30: note: (6) returning to 'bt_ccp_technology_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_technology_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_technology_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:811:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:813:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_strength_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:833:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:826:13: note: (1) entry to 'bt_ccp_strength_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:829:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_strength_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:829:30: note: (6) returning to 'bt_ccp_strength_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_strength_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_strength_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:831:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:833:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_ccid_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:853:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:846:13: note: (1) entry to 'bt_ccp_ccid_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:849:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ccid_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:849:30: note: (6) returning to 'bt_ccp_ccid_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ccid_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ccid_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:851:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:853:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_tar_uri_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:872:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:865:13: note: (1) entry to 'bt_ccp_tar_uri_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:868:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_tar_uri_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:868:30: note: (6) returning to 'bt_ccp_tar_uri_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_tar_uri_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_tar_uri_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:870:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:872:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_ctrl_point_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:893:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:886:13: note: (1) entry to 'bt_ccp_ctrl_point_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:889:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_point_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:889:30: note: (6) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_point_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_point_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:891:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:893:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_ctrl_opcode_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:913:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:906:13: note: (1) entry to 'bt_ccp_ctrl_opcode_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:909:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_ctrl_opcode_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:909:30: note: (6) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_ctrl_opcode_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_ctrl_opcode_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:911:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:913:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_friendly_name_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:933:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:926:13: note: (1) entry to 'bt_ccp_friendly_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:929:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_friendly_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:929:30: note: (6) returning to 'bt_ccp_friendly_name_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_friendly_name_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_friendly_name_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:931:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:933:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_signal_intrvl_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:953:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:946:13: note: (1) entry to 'bt_ccp_signal_intrvl_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:949:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_signal_intrvl_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:949:30: note: (6) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_signal_intrvl_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_signal_intrvl_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:951:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:953:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'bt_ccp_uri_list_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:973:49: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:966:13: note: (1) entry to 'bt_ccp_uri_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:969:30: note: (2) calling 'ccp_get_ccs' from 'bt_ccp_uri_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:969:30: note: (6) returning to 'bt_ccp_uri_list_attach' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (7) calling 'ccp_debug' from 'bt_ccp_uri_list_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:116:13: note: (8) entry to 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:120:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:121:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:32:9: note: (11) returning to 'bt_ccp_uri_list_attach' from 'ccp_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:971:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:973:49: note: (12) dereference of NULL 'ccp_get_ccs(ccp)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c: In function 'foreach_ccs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1129:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1123:13: note: (1) entry to 'foreach_ccs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1127:30: note: (2) calling 'ccp_get_ccs' from 'foreach_ccs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:432:23: note: (3) entry to 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:434:12: note: (4) following 'true' branch (when 'ccp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1127:30: note: (6) returning to 'foreach_ccs_service' from 'ccp_get_ccs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/ccp.c:1129:22: note: (7) dereference of NULL 'ccp_get_ccs(user_data)' <--[csmock-gcc-wrapper] /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-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-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.79-build/bluez-5.79/src/shared/bass.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c: In function 'bass_build_bcast_src': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:420:17: warning: dereference of NULL 'bad_code' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1182:13: note: (1) entry to 'read_bcast_recv_state.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1201:13: note: (2) calling 'bass_build_bcast_src' from 'read_bcast_recv_state.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:261:12: note: (3) entry to 'bass_build_bcast_src' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:284:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:289:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:289:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:294:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:295:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:300:14: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:300:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:305:14: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:305:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:310:14: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:310:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:315:14: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:315:12: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:320:17: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:320:12: note: (18) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:329:14: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:329:12: note: (20) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:334:27: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:334:12: note: (22) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:335:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:404:12: note: (24) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:411:23: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:419:12: note: (26) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:420:17: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:420:17: note: (28) dereference of NULL 'bad_code' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c: In function 'bass_get_session.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:705:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:691:24: note: (1) entry to 'bass_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:704:16: note: (2) calling 'bt_bass_new' from 'bass_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1597:17: note: (3) entry to 'bt_bass_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:1603:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:704:16: note: (6) returning to 'bass_get_session.part.0' from 'bt_bass_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bass.c:705:19: note: (7) dereference of NULL 'bt_bass_new(db, 0, adapter_bdaddr)' <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/src/shared/gatt-client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c: In function 'request_unref': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:199:32: warning: use after 'free' of 'data' [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3245:13: note: (1) entry to 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3255:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3204:13: note: (5) entry to 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3242:9: note: (6) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3292:13: note: (7) entry to 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3303:12: note: (8) following 'false' branch (when 'success == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3306:21: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3314:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3317:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3317:9: note: (12) calling 'request_unref' from 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:196:13: note: (13) entry to 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:201:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:204:16: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:213:9: note: (16) freed here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3317:9: note: (17) returning to 'complete_write_long_op' from 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3242:9: note: (18) returning to 'handle_next_prep_write' from 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (19) returning to 'start_next_long_write.part.0' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3264:9: note: (20) calling 'request_unref' from 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:196:13: note: (21) entry to 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:199:32: note: (22) use after 'free' of 'data'; freed at (16) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c: In function 'complete_write_long_op': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3295:31: warning: use after 'free' of 'req' [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3245:13: note: (1) entry to 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3255:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3258:9: note: (4) calling 'handle_next_prep_write' from 'start_next_long_write.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3204:13: note: (5) entry to 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3212:12: note: (6) following 'false' branch (when 'pdu' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3217:20: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3227:12: note: (8) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3228:17: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3228:17: note: (10) calling 'request_unref' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:196:13: note: (11) entry to 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:201:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:204:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:213:9: note: (14) freed here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3228:17: note: (15) returning to 'handle_next_prep_write' from 'request_unref' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3238:12: note: (16) following 'false' branch (when 'success == 0')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3241:1: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3242:9: note: (18) calling 'complete_write_long_op' from 'handle_next_prep_write' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3292:13: note: (19) entry to 'complete_write_long_op' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/gatt-client.c:3295:31: note: (20) use after 'free' of 'req'; freed at (14) <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/src/shared/vcp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'vcp_get_session.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:501:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:488:23: note: (1) entry to 'vcp_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:500:15: note: (2) calling 'bt_vcp_new' from 'vcp_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1921:16: note: (3) entry to 'bt_vcp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1926:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:500:15: note: (6) returning to 'vcp_get_session.part.0' from 'bt_vcp_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:501:18: note: (7) dereference of NULL 'bt_vcp_new(db, 0)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'aics_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1733:9: warning: use of possibly-NULL 'ip_descr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1725:12: note: (1) following 'false' branch (when 'db' is non-NULL)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:22: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1728:16: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1732:20: note: (3) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1733:9: note: (4) argument 1 ('ip_descr') from (3) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'vcp_audio_loc_notify': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1981:27: warning: dereference of possibly-NULL 'vocs_audio_loc_n' [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1980:38: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:1981:27: note: (2) 'vocs_audio_loc_n' could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'aics_audio_ip_desr_notify': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2555:9: warning: use of possibly-NULL 'aud_ip_desr' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2554:23: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2555:9: note: (2) argument 1 ('aud_ip_desr') from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of '__builtin_memset' must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c: In function 'foreach_vcs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2691:22: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2685:13: note: (1) entry to 'foreach_vcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2689:30: note: (2) calling 'vcp_get_vcs' from 'foreach_vcs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:329:23: note: (3) entry to 'vcp_get_vcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:331:12: note: (4) following 'true' branch (when 'vcp' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2689:30: note: (6) returning to 'foreach_vcs_service' from 'vcp_get_vcs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/vcp.c:2691:22: note: (7) dereference of NULL 'vcp_get_vcs(user_data)' <--[csmock-gcc-wrapper] /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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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/ellisys.o monitor/ellisys.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/mainloop-notify.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/main.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 monitor/display.o monitor/display.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/crc.o monitor/crc.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c: In function ‘open_pager’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:164:1: warning: leak of file descriptor ‘fd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:100:6: note: (1) entry to ‘open_pager’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:106:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:109:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:115:15: note: (4) when ‘isatty’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:115:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:118:9: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:13: note: (7) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:13: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:125:22: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:128:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:134:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:134:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:13: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:163:9: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:163:9: note: (17) calling ‘close_pipe’ from ‘open_pager’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:75:13: note: (18) entry to ‘close_pipe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:77:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:79:14: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:79:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:81:1: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:163:9: note: (23) returning to ‘open_pager’ from ‘close_pipe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:164:1: note: (24) ‘fd[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:164:1: warning: leak of file descriptor ‘fd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:100:6: note: (1) entry to ‘open_pager’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:106:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:109:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:115:15: note: (4) when ‘isatty’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:115:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:118:9: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:13: note: (7) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:13: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:125:22: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:128:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:134:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:134:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:13: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:163:9: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:163:9: note: (17) calling ‘close_pipe’ from ‘open_pager’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:75:13: note: (18) entry to ‘close_pipe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:77:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:79:14: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:79:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:81:1: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:163:9: note: (23) returning to ‘open_pager’ from ‘close_pipe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:164:1: note: (24) ‘fd[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:107:17: warning: leak of file descriptor ‘fd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:106:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:109:17: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:115:15: note: (3) when ‘isatty’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:115:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:118:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:125:22: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:134:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:13: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:12: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:159:17: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:107:17: note: (14) ‘fd[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:107:17: warning: leak of file descriptor ‘fd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:106:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:109:17: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:115:15: note: (3) when ‘isatty’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:115:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:118:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:125:22: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:134:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:13: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:12: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:159:17: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:107:17: note: (14) ‘fd[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:12: warning: leak of file descriptor ‘dup2(fd[1], 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:106:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:109:17: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:115:15: note: (3) when ‘isatty’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:115:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:118:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:13: note: (6) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:120:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:125:22: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:128:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:134:12: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:134:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:13: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:13: note: (13) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.c:158:12: note: (14) ‘dup2(fd[1], 1)’ leaks here; was opened at (13) <--[csmock-gcc-wrapper] /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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c: In function 'tester_setup_io': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1041:19: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1029:12: note: (1) entry to 'tester_setup_io' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1031:34: note: (2) inlined call to 'tester_get_test' from 'tester_setup_io' <--[csmock-gcc-wrapper] In function 'tester_get_test', inlined from 'tester_setup_io' at src/shared/tester.c:1031:27: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:355:12: note: (3) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c: In function 'tester_setup_io': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1033:17: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1041:19: note: (5) dereference of NULL '' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c: In function 'tester_io_send': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1051:17: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1047:6: note: (1) entry to 'tester_io_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1049:34: note: (2) inlined call to 'tester_get_test' from 'tester_io_send' <--[csmock-gcc-wrapper] In function 'tester_get_test', inlined from 'tester_io_send' at src/shared/tester.c:1049:27: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:355:12: note: (3) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c: In function 'tester_io_send': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1051:17: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1051:17: note: (5) dereference of NULL '' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c: In function 'tester_io_set_complete_func': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1059:32: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1055:6: note: (1) entry to 'tester_io_set_complete_func' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1057:34: note: (2) inlined call to 'tester_get_test' from 'tester_io_set_complete_func' <--[csmock-gcc-wrapper] In function 'tester_get_test', inlined from 'tester_io_set_complete_func' at src/shared/tester.c:1057:27: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:355:12: note: (3) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c: In function 'tester_io_set_complete_func': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1059:32: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/tester.c:1059:32: note: (5) dereference of NULL '' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/hcidump.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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/ll.o monitor/ll.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/ll.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 monitor/control.o monitor/control.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/control.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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_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.79-build/bluez-5.79/src/shared/shell.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c: In function 'bt_shell_printf': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (1) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (2) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (3) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (4) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (5) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:29: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (12) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (14) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (16) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:401:13: note: (1) entry to 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:409:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1536:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:782:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:786:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:789:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:793:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (11) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (12) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (13) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (14) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (16) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (18) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (20) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (22) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (24) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1604:6: note: (1) entry to 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (2) calling 'input_new' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:358:22: note: (3) entry to 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:364:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:35: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:367:17: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (6) returning to 'bt_shell_attach' from 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1609:12: note: (7) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1612:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1617:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:21: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:20: note: (11) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1619:25: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1619:25: note: (13) calling 'bt_shell_noninteractive_quit' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1536:6: note: (14) entry to 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1538:24: note: (15) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (17) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:782:13: note: (18) entry to 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:786:12: note: (19) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:789:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:793:12: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (23) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (24) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (25) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (26) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (27) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1447:5: note: (1) entry to 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1479:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (4) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:674:12: note: (5) entry to 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:678:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (8) calling 'menu_exec' from 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:625:12: note: (9) entry to 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:628:16: note: (10) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:21: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:20: note: (12) following 'false' branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:633:25: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:637:44: note: (14) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (16) calling 'cmd_exec' from 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:521:12: note: (17) entry to 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:540:12: note: (18) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (20) following 'false' branch (when 'argc <= 1')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:545:17: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:612:12: note: (22) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (24) calling 'cmd_back' from 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (25) entry to 'cmd_back' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:235:12: note: (26) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (27) ...to here cc1: note: (28) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (29) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (30) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (31) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (32) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (33) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (34) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (36) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (38) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (40) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (42) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (44) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1604:6: note: (1) entry to 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (2) calling 'input_new' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:358:22: note: (3) entry to 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:364:12: note: (4) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:82:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:367:17: note: in expansion of macro 'new0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1608:17: note: (6) returning to 'bt_shell_attach' from 'input_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1609:12: note: (7) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1612:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1617:12: note: (9) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:21: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1618:21: note: (11) calling 'shell_exec' from 'bt_shell_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:674:12: note: (12) entry to 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:678:12: note: (13) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (15) calling 'menu_exec' from 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:625:12: note: (16) entry to 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:628:16: note: (17) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:21: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:20: note: (19) following 'false' branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:633:25: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:637:44: note: (21) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (23) calling 'cmd_exec' from 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:521:12: note: (24) entry to 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:540:12: note: (25) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (27) following 'false' branch (when 'argc <= 1')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:545:17: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:612:12: note: (29) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (31) calling 'cmd_back' from 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (32) entry to 'cmd_back' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:235:12: note: (33) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here cc1: note: (35) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (36) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (37) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (38) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (39) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (40) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (41) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (43) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (45) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (47) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (49) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (51) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: warning: use of uninitialized value 'saved_line' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:401:13: note: (1) entry to 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:409:17: note: (2) calling 'bt_shell_noninteractive_quit' from 'cmd_script.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1536:6: note: (3) entry to 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1539:17: note: (4) calling 'bt_shell_dequeue_exec' from 'bt_shell_noninteractive_quit' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:782:13: note: (5) entry to 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:786:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:789:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:793:12: note: (8) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (10) calling 'bt_shell_printf' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (11) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (12) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (13) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:796:9: note: (14) returning to 'bt_shell_dequeue_exec' from 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:811:15: note: (15) calling 'bt_shell_exec' from 'bt_shell_dequeue_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1447:5: note: (16) entry to 'bt_shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1453:12: note: (17) following 'false' branch (when 'input' is non-NULL)... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here cc1: note: (19) calling 'bt_shell_exec.part.0' from 'bt_shell_exec' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1447:5: note: (20) entry to 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1479:12: note: (21) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:1484:15: note: (23) calling 'shell_exec' from 'bt_shell_exec.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:674:12: note: (24) entry to 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:678:12: note: (25) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:681:16: note: (27) calling 'menu_exec' from 'shell_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:625:12: note: (28) entry to 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:628:16: note: (29) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:21: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:629:20: note: (31) following 'false' branch (when the strings are equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:633:25: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:637:44: note: (33) following 'false' branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:640:24: note: (35) calling 'cmd_exec' from 'menu_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:521:12: note: (36) entry to 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:540:12: note: (37) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:541:20: note: (39) following 'false' branch (when 'argc <= 1')... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:545:17: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:612:12: note: (41) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:613:17: note: (43) calling 'cmd_back' from 'cmd_exec' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (44) entry to 'cmd_back' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:235:12: note: (45) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (46) ...to here cc1: note: (47) calling 'cmd_back.part.0' from 'cmd_back' /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:233:13: note: (48) entry to 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:236:17: note: (49) calling 'bt_shell_printf' from 'cmd_back.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:698:6: note: (50) entry to 'bt_shell_printf' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (51) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:702:15: note: (52) capacity: 8 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:705:12: note: (53) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:17: note: (54) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:708:12: note: (55) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:715:23: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:717:12: note: (57) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:725:9: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:729:12: note: (59) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (60) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:735:12: note: (61) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:736:26: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/shell.c:738:17: note: (63) use of uninitialized value 'saved_line' here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/rfcomm.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 monitor/avdtp.o monitor/avdtp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/avdtp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 monitor/hwdb.o monitor/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 monitor/keys.o monitor/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 monitor/sdp.o monitor/sdp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/sdp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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/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/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/bnep.o monitor/bnep.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:62:66: warning: use of uninitialized value ‘addr[5]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:212:13: note: (1) entry to ‘filter_multaddr_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:219:14: note: (2) calling ‘l2cap_frame_get_be16’ from ‘filter_multaddr_req’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:30: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:103:20: note: (3) entry to ‘l2cap_frame_get_be16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:109:12: note: (4) following ‘true’ branch (when ‘value’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:110:26: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:112:9: note: (6) calling ‘l2cap_frame_pull’ from ‘l2cap_frame_get_be16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:58:21: note: (7) entry to ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:63:9: note: (8) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:55:9: note: (9) calling ‘l2cap_frame_clone_size’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:34:20: note: (10) entry to ‘l2cap_frame_clone_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:38:12: note: (11) following ‘false’ branch (when ‘frame == source’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:50:1: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:63:9: note: (13) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:55:9: note: (14) returning to ‘l2cap_frame_pull’ from ‘l2cap_frame_clone_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:112:9: note: (15) returning to ‘l2cap_frame_get_be16’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:219:14: note: (16) returning to ‘filter_multaddr_req’ from ‘l2cap_frame_get_be16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:219:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:29: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.h:49:17: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/display.h:56:17: note: in expansion of macro ‘print_indent’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:222:9: note: in expansion of macro ‘print_field’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:224:23: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:226:22: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:226:22: note: (21) calling ‘get_macaddr’ from ‘filter_multaddr_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:51:13: note: (22) entry to ‘get_macaddr’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:53:17: note: (23) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:57:23: note: (24) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:58:22: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:58:22: note: (26) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[csmock-gcc-wrapper] In function ‘l2cap_frame_get_u8’, inlined from ‘get_macaddr’ at monitor/bnep.c:58:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:77:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] In function ‘get_macaddr’: cc1: note: (28) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:58:22: note: (29) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/monitor/l2cap.h: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:75:20: note: (31) entry to ‘l2cap_frame_get_u8.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:80:12: note: (32) following ‘true’ branch (when ‘value’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:81:45: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:83:9: note: (34) calling ‘l2cap_frame_pull’ from ‘l2cap_frame_get_u8.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:58:21: note: (35) entry to ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:63:9: note: (36) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:55:9: note: (37) calling ‘l2cap_frame_clone_size’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:34:20: note: (38) entry to ‘l2cap_frame_clone_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:38:12: note: (39) following ‘false’ branch (when ‘frame == source’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:50:1: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:63:9: note: (41) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:55:9: note: (42) returning to ‘l2cap_frame_pull’ from ‘l2cap_frame_clone_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:65:12: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:68:14: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:83:9: note: (45) returning to ‘l2cap_frame_get_u8.part.0’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:58:22: note: (46) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/monitor/bnep.c: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:58:20: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:57:29: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:57:23: note: (50) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:58:22: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:58:22: note: (52) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[csmock-gcc-wrapper] In function ‘l2cap_frame_get_u8’, inlined from ‘get_macaddr’ at monitor/bnep.c:58:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:77:12: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] In function ‘get_macaddr’: cc1: note: (54) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:58:22: note: (55) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/monitor/l2cap.h: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:75:20: note: (57) entry to ‘l2cap_frame_get_u8.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:80:12: note: (58) following ‘true’ branch (when ‘value’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:81:45: note: (59) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:83:9: note: (60) calling ‘l2cap_frame_pull’ from ‘l2cap_frame_get_u8.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:58:21: note: (61) entry to ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:63:9: note: (62) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:55:9: note: (63) calling ‘l2cap_frame_clone_size’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:34:20: note: (64) entry to ‘l2cap_frame_clone_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:38:12: note: (65) following ‘false’ branch (when ‘frame == source’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:50:1: note: (66) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:63:9: note: (67) inlined call to ‘l2cap_frame_clone’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] In function ‘l2cap_frame_clone’, inlined from ‘l2cap_frame_pull’ at monitor/l2cap.h:63:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:55:9: note: (68) returning to ‘l2cap_frame_pull’ from ‘l2cap_frame_clone_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.h:83:9: note: (69) returning to ‘l2cap_frame_get_u8.part.0’ from ‘l2cap_frame_pull’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:58:22: note: (70) inlined call to ‘l2cap_frame_get_u8’ from ‘get_macaddr’ <--[csmock-gcc-wrapper] 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.79-build/bluez-5.79/monitor/bnep.c: In function ‘get_macaddr’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:58:20: note: (72) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:57:29: note: (73) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/bnep.c:62:66: note: (74) use of uninitialized value ‘addr[5]’ here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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.79-build/bluez-5.79/monitor/jlink.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/jlink.c: In function ‘jlink_start_rtt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/jlink.c:207:13: warning: dereference of NULL ‘tok’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/jlink.c:203:12: note: (1) following ‘false’ branch (when ‘cfg’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/jlink.c:206:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/jlink.c:206:15: note: (3) when ‘strtok’ on non-NULL string returns NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/jlink.c:207:13: note: (4) dereference of NULL ‘tok’ <--[csmock-gcc-wrapper] /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.79-build/bluez-5.79/src/shared/bap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_get_session.part.0': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:661:18: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:648:23: note: (1) entry to 'bap_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:660:15: note: (2) calling 'bt_bap_new' from 'bap_get_session.part.0' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:4293:16: note: (3) entry to 'bt_bap_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:4298:12: note: (4) following 'true' branch (when 'ldb' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:660:15: note: (6) returning to 'bap_get_session.part.0' from 'bt_bap_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:661:18: note: (7) dereference of NULL 'bt_bap_new(db, 0)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_send': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1535:50: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5060:13: note: (1) entry to 'bap_cp_notify' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5069:12: note: (2) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5073:18: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5105:9: note: (4) calling 'bap_req_complete' from 'bap_cp_notify' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1159:13: note: (5) entry to 'bap_req_complete' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1164:12: note: (6) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1167:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1183:9: note: (8) calling 'bap_req_free' from 'bap_req_complete' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1145:13: note: (9) entry to 'bap_req_free' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1152:23: note: (10) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1155:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1183:9: note: (12) returning to 'bap_req_complete' from 'bap_req_free' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5105:9: note: (13) returning to 'bap_cp_notify' from 'bap_req_complete' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5106:9: note: (14) calling 'bap_process_queue' from 'bap_cp_notify' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1569:13: note: (15) entry to 'bap_process_queue' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (16) calling 'bap_debug' from 'bap_process_queue' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1574:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:625:13: note: (17) entry to 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:12: note: (18) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:36: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (20) returning to 'bap_process_queue' from 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1574:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1581:16: note: (21) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1582:21: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1582:21: note: (23) calling 'bap_send' from 'bap_process_queue' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1517:13: note: (24) entry to 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1519:32: note: (25) calling 'bap_get_ascs' from 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1492:24: note: (26) entry to 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:12: note: (27) following 'false' branch (when 'bap' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:25: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:18: note: (29) following 'true' branch... <--[csmock-gcc-wrapper] cc1: note: (30) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1519:32: note: (31) returning to 'bap_send' from 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1526:37: note: (32) calling 'bap_req_len' from 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1468:17: note: (33) entry to 'bap_req_len' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1478:16: note: (34) following 'false' branch (when 'e' is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1481:16: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1526:37: note: (36) returning to 'bap_send' from 'bap_req_len' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (37) calling 'bap_debug' from 'bap_send' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1528:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:625:13: note: (38) entry to 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:12: note: (39) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:629:36: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:40:9: note: (41) returning to 'bap_send' from 'bap_debug' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1528:9: note: in expansion of macro 'DBG' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1535:50: note: (42) dereference of NULL 'bap_get_ascs(bap)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_cp_attach': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5114:50: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5109:13: note: (1) entry to 'bap_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5112:32: note: (2) calling 'bap_get_ascs' from 'bap_cp_attach' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1492:24: note: (3) entry to 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5112:32: note: (6) returning to 'bap_cp_attach' from 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5114:50: note: (7) dereference of NULL 'bap_get_ascs(bap)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'foreach_ascs_service': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5179:23: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5173:13: note: (1) entry to 'foreach_ascs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5177:32: note: (2) calling 'bap_get_ascs' from 'foreach_ascs_service' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1492:24: note: (3) entry to 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:1494:12: note: (4) following 'true' branch (when 'bap' is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5177:32: note: (6) returning to 'foreach_ascs_service' from 'bap_get_ascs' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5179:23: note: (7) dereference of NULL 'bap_get_ascs(user_data)' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c: In function 'bap_bcast_stream_new': <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5843:20: warning: check of 'lpac' for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5825:30: note: (1) entry to 'bap_bcast_stream_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5834:12: note: (2) following 'false' branch (when 'bap' is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5837:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5837:17: note: (4) pointer 'lpac' is dereferenced here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5837:12: note: (5) following 'true' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5838:28: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5842:17: note: (7) calling 'bt_bap_foreach_pac' from 'bap_bcast_stream_new' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5569:6: note: (8) entry to 'bt_bap_foreach_pac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5572:12: note: (9) following 'false' branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5572:34: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5842:17: note: (11) returning to 'bap_bcast_stream_new' from 'bt_bap_foreach_pac' <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/bap.c:5843:20: note: (12) pointer 'lpac' is checked for NULL here but it was already dereferenced at (4) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 monitor/analyze.o monitor/analyze.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/analyze.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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-asha.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-asha.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 src/log.o src/log.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/log.c:159: 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 -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/settings.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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 monitor/avctp.o monitor/avctp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/avctp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/bluemoon.o tools/bluemoon.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/bluemoon.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/hex2hcd.o tools/hex2hcd.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/hex2hcd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/btattach.o tools/btattach.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/btattach.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/rctest.o tools/rctest.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/rctest.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 monitor/l2cap.o monitor/l2cap.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/l2cap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/mesh/agent.o tools/mesh/agent.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh/agent.c:94: error: uninitvar(CWE-457): Uninitialized variable: buf <--[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 tools/mesh-gatt/node.o tools/mesh-gatt/node.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/node.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/mesh-gatt/gatt.o tools/mesh-gatt/gatt.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/gatt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/isotest.o tools/isotest.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c: In function ‘do_listen’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:519:26: warning: dereference of possibly-NULL ‘addr’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1202:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1420:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1425:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1432:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1433:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1433:17: note: (6) following ‘case 1:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1434:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1435:25: note: (8) calling ‘do_listen’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:485:13: note: (9) entry to ‘do_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:495:12: note: (10) following ‘false’ branch (when ‘filename’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:504:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:504:9: note: (12) calling ‘mgmt_set_experimental’ from ‘do_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:225:12: note: (13) entry to ‘mgmt_set_experimental’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:229:14: note: (14) calling ‘mgmt_open’ from ‘mgmt_set_experimental’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:165:12: note: (15) entry to ‘mgmt_open’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:173:14: note: (16) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:175:12: note: (17) following ‘true’ branch (when ‘fd < 0’)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:17: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:177:74: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:229:14: note: (19) returning to ‘mgmt_set_experimental’ from ‘mgmt_open’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:230:12: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:504:9: note: (22) returning to ‘do_listen’ from ‘mgmt_set_experimental’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:507:14: note: (23) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:508:12: note: (24) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:517:16: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:517:16: note: (26) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:519:26: note: (27) ‘addr’ could be NULL: unchecked value from (26) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1214:18: warning: dereference of possibly-NULL ‘iso_qos’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1212:19: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/isotest.c:1214:18: note: (2) ‘malloc(60)’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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 tools/mesh-gatt/crypto.o tools/mesh-gatt/crypto.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:17, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:32: <--[csmock-gcc-wrapper] In function ‘get_be32’, inlined from ‘mesh_crypto_aes_ccm_decrypt’ at tools/mesh-gatt/crypto.c:540:28: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: warning: use of uninitialized value ‘*(struct *)(&mic[0]).__v’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:240:16: note: in expansion of macro ‘be32_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:240:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1054:6: note: (1) entry to ‘mesh_crypto_packet_decode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1065:12: note: (2) following ‘false’ branch (when ‘packet_len > 13’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1068:9: note: (3) inlined call to ‘put_be32’ from ‘mesh_crypto_packet_decode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:36:26: note: (4) inlined call to ‘__bswap_32’ from ‘put_be32’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:21: note: in definition of macro ‘put_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:287:23: note: in expansion of macro ‘cpu_to_be32’ <--[csmock-gcc-wrapper] In file included from /usr/include/endian.h:35, <--[csmock-gcc-wrapper] from /usr/include/sys/types.h:176, <--[csmock-gcc-wrapper] from /usr/include/bits/socket.h:29, <--[csmock-gcc-wrapper] from /usr/include/sys/socket.h:33, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:18: <--[csmock-gcc-wrapper] In function ‘__bswap_32’, inlined from ‘put_be32’ at ./src/shared/util.h:287: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 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1071:14: note: (6) calling ‘aes_ecb_one’ from ‘mesh_crypto_packet_decode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:131:13: note: (7) entry to ‘aes_ecb_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:137:14: note: (8) calling ‘aes_ecb_setup’ from ‘aes_ecb_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:95:12: note: (9) entry to ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:100:14: note: (10) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:101:12: note: (11) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:104:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:109:13: note: (13) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:109:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (16) calling ‘alg_new’ from ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:37:12: note: (17) entry to ‘alg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:40:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:45:12: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:45:12: note: (20) following ‘false’ branch (when ‘mic_size == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:53:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:53:16: note: (22) when ‘accept’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (23) returning to ‘aes_ecb_setup’ from ‘alg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:137:14: note: (24) returning to ‘aes_ecb_one’ from ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:138:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:141:18: note: (26) inlined call to ‘aes_ecb’ from ‘aes_ecb_one’ <--[csmock-gcc-wrapper] In function ‘aes_ecb’, inlined from ‘aes_ecb_one’ at tools/mesh-gatt/crypto.c:141:11: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:123:16: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1071:14: note: (28) returning to ‘mesh_crypto_packet_decode’ from ‘aes_ecb_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1071:12: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1074:9: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1075:23: note: (31) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1076:20: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1075:23: note: (33) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1076:20: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1081:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1085:17: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1108:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1124:22: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1124:22: note: (39) calling ‘mesh_crypto_aes_ccm_decrypt’ from ‘mesh_crypto_packet_decode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:397:6: note: (40) entry to ‘mesh_crypto_aes_ccm_decrypt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:404:17: note: (41) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:411:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:414:14: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:414:14: note: (44) calling ‘aes_ecb_setup’ from ‘mesh_crypto_aes_ccm_decrypt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:95:12: note: (45) entry to ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:100:14: note: (46) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:101:12: note: (47) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:104:9: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:109:13: note: (49) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:109:12: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (52) calling ‘alg_new’ from ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:37:12: note: (53) entry to ‘alg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:40:12: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:45:12: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:45:12: note: (56) following ‘false’ branch (when ‘mic_size == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:53:16: note: (57) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:53:16: note: (58) when ‘accept’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (59) returning to ‘aes_ecb_setup’ from ‘alg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:414:14: note: (60) returning to ‘mesh_crypto_aes_ccm_decrypt’ from ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:415:12: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:419:17: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:424:12: note: (63) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:428:12: note: (64) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:428:12: note: (65) following ‘false’ branch (when ‘mic_size != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:431:25: note: (66) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:431:25: note: (67) following ‘false’ branch (when ‘aad_len == 0’)... <--[csmock-gcc-wrapper] cc1: note: (68) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:437:12: note: (69) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:441:12: note: (70) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:441:12: note: (71) following ‘false’ branch (when ‘aad_len == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:474:18: note: (72) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:479:23: note: (73) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:537:9: note: (74) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:537:9: note: (75) following ‘case 4:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:538:17: note: (76) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:539:28: note: (77) following ‘true’ branch (when ‘out_mic’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:540:56: note: (78) inlined call to ‘get_be32’ from ‘mesh_crypto_aes_ccm_decrypt’ <--[csmock-gcc-wrapper] In function ‘get_be32’, inlined from ‘mesh_crypto_aes_ccm_decrypt’ at tools/mesh-gatt/crypto.c:540:28: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (79) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:240:16: note: in expansion of macro ‘be32_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:240:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (80) use of uninitialized value ‘*(struct *)(&mic[0]).__v’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:240:16: note: in expansion of macro ‘be32_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:240:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] In function ‘get_be64’, inlined from ‘mesh_crypto_aes_ccm_decrypt’ at tools/mesh-gatt/crypto.c:548:28: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: warning: use of uninitialized value ‘*(struct *)(&mic[0]).__v’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:250:16: note: in expansion of macro ‘be64_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:250:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1054:6: note: (1) entry to ‘mesh_crypto_packet_decode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1065:12: note: (2) following ‘false’ branch (when ‘packet_len > 13’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1068:9: note: (3) inlined call to ‘put_be32’ from ‘mesh_crypto_packet_decode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:36:26: note: (4) inlined call to ‘__bswap_32’ from ‘put_be32’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:68:21: note: in definition of macro ‘put_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:287:23: note: in expansion of macro ‘cpu_to_be32’ <--[csmock-gcc-wrapper] In function ‘__bswap_32’, inlined from ‘put_be32’ at ./src/shared/util.h:287: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 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1071:14: note: (6) calling ‘aes_ecb_one’ from ‘mesh_crypto_packet_decode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:131:13: note: (7) entry to ‘aes_ecb_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:137:14: note: (8) calling ‘aes_ecb_setup’ from ‘aes_ecb_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:95:12: note: (9) entry to ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:100:14: note: (10) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:101:12: note: (11) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:104:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:109:13: note: (13) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:109:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (16) calling ‘alg_new’ from ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:37:12: note: (17) entry to ‘alg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:40:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:45:12: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:45:12: note: (20) following ‘false’ branch (when ‘mic_size == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:53:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:53:16: note: (22) when ‘accept’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (23) returning to ‘aes_ecb_setup’ from ‘alg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:137:14: note: (24) returning to ‘aes_ecb_one’ from ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:138:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:141:18: note: (26) inlined call to ‘aes_ecb’ from ‘aes_ecb_one’ <--[csmock-gcc-wrapper] In function ‘aes_ecb’, inlined from ‘aes_ecb_one’ at tools/mesh-gatt/crypto.c:141:11: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:123:16: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_decrypt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1071:14: note: (28) returning to ‘mesh_crypto_packet_decode’ from ‘aes_ecb_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1071:12: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1074:9: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1075:23: note: (31) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1076:20: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1075:23: note: (33) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1076:20: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1081:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1085:17: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1108:12: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1111:22: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1111:22: note: (39) calling ‘mesh_crypto_aes_ccm_decrypt’ from ‘mesh_crypto_packet_decode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:397:6: note: (40) entry to ‘mesh_crypto_aes_ccm_decrypt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:404:17: note: (41) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:411:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:414:14: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:414:14: note: (44) calling ‘aes_ecb_setup’ from ‘mesh_crypto_aes_ccm_decrypt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:95:12: note: (45) entry to ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:100:14: note: (46) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:101:12: note: (47) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:104:9: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:109:13: note: (49) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:109:12: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (52) calling ‘alg_new’ from ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:37:12: note: (53) entry to ‘alg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:40:12: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:45:12: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:45:12: note: (56) following ‘false’ branch (when ‘mic_size == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:53:16: note: (57) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:53:16: note: (58) when ‘accept’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (59) returning to ‘aes_ecb_setup’ from ‘alg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:414:14: note: (60) returning to ‘mesh_crypto_aes_ccm_decrypt’ from ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:415:12: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:419:17: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:424:12: note: (63) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:428:12: note: (64) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:428:12: note: (65) following ‘true’ branch (when ‘mic_size == 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:429:25: note: (66) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:429:25: note: (67) following ‘false’ branch (when ‘aad_len == 0’)... <--[csmock-gcc-wrapper] cc1: note: (68) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:437:12: note: (69) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:441:12: note: (70) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:441:12: note: (71) following ‘false’ branch (when ‘aad_len == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:474:18: note: (72) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:479:23: note: (73) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:537:9: note: (74) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:537:9: note: (75) following ‘case 8:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:546:17: note: (76) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:547:28: note: (77) following ‘true’ branch (when ‘out_mic’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:548:56: note: (78) inlined call to ‘get_be64’ from ‘mesh_crypto_aes_ccm_decrypt’ <--[csmock-gcc-wrapper] In function ‘get_be64’, inlined from ‘mesh_crypto_aes_ccm_decrypt’ at tools/mesh-gatt/crypto.c:548:28: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (79) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:250:16: note: in expansion of macro ‘be64_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:250:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:60:12: note: (80) use of uninitialized value ‘*(struct *)(&mic[0]).__v’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:250:16: note: in expansion of macro ‘be64_to_cpu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:250:28: note: in expansion of macro ‘get_unaligned’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c: In function ‘mesh_crypto_aes_ccm_encrypt’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:376:17: warning: use of uninitialized value ‘&mic’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:994:6: note: (1) entry to ‘mesh_crypto_packet_encode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1005:31: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1009:34: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1028:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1029:22: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:1029:22: note: (6) calling ‘mesh_crypto_aes_ccm_encrypt’ from ‘mesh_crypto_packet_encode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:232:6: note: (7) entry to ‘mesh_crypto_aes_ccm_encrypt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:239:17: note: (8) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:239:17: note: (9) capacity: 16 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:245:12: note: (10) following ‘false’ branch (when ‘aad_len <= 65279’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:250:14: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:250:14: note: (12) calling ‘aes_ecb_setup’ from ‘mesh_crypto_aes_ccm_encrypt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:95:12: note: (13) entry to ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:100:14: note: (14) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:101:12: note: (15) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:104:9: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:109:13: note: (17) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:109:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (20) calling ‘alg_new’ from ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:37:12: note: (21) entry to ‘alg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:40:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:45:12: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:45:12: note: (24) following ‘false’ branch (when ‘mic_size == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:53:16: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:53:16: note: (26) when ‘accept’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:114:15: note: (27) returning to ‘aes_ecb_setup’ from ‘alg_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:250:14: note: (28) returning to ‘mesh_crypto_aes_ccm_encrypt’ from ‘aes_ecb_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:251:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:255:17: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:260:12: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:264:12: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:264:12: note: (33) following ‘true’ branch (when ‘mic_size == 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:265:25: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:265:25: note: (35) following ‘false’ branch (when ‘aad_len == 0’)... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:273:12: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:277:12: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:277:12: note: (39) following ‘false’ branch (when ‘aad_len == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:310:18: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:315:23: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:375:12: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:375:12: note: (43) following ‘true’ branch (when ‘out_msg’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:376:17: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/crypto.c:376:17: note: (45) use of uninitialized value ‘&mic’ here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:56, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:26: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c: In function ‘mpris_busname’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1863:33: warning: dereference of NULL ‘name’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:71:29: note: in definition of macro ‘g_ascii_isdigit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1941:13: note: (1) entry to ‘register_player’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1949:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1952:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1955:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1958:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1958:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1961:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1963:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1967:27: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (10) inlined call to ‘g_strdup_inline’ from ‘register_player’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1967:27: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] 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... <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/glist.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/ghash.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:52: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c: In function ‘mpris_busname’: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmem.h:271:19: note: (12) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1969:18: note: in expansion of macro ‘g_new0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1970:28: note: (13) calling ‘mpris_busname’ from ‘register_player’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1861:14: note: (14) entry to ‘mpris_busname’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mpris-proxy.c:1863:33: note: (15) dereference of NULL ‘name’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:71:29: note: in definition of macro ‘g_ascii_isdigit’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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.79-build/bluez-5.79/tools/meshctl.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/meshctl.c:762: warning: uninitvar(CWE-457): Uninitialized variable: addr <--[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 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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/mesh-gatt/net.o tools/mesh-gatt/net.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/net.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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-client.o tools/mesh-gatt/config-client.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/config-client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/l2test.o tools/l2test.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/l2test.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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-asha.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-asha.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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/crypto.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/parser/parser.o tools/parser/parser.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/parser/amp.o tools/parser/amp.c In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/amp.c:15: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h: In function ‘p_indent’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:129:33: warning: dereference of NULL ‘f’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/amp.c:58:6: note: (1) entry to ‘amp_assoc_dump’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/amp.c:62:9: note: (2) calling ‘p_indent’ from ‘amp_assoc_dump’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:110:20: note: (3) entry to ‘p_indent’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:112:12: note: (4) following ‘false’ branch (when ‘level >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:117:20: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:117:12: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:118:27: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:129:33: note: (8) dereference of NULL ‘f’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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/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/mesh-gatt/prov-db.o tools/mesh-gatt/prov-db.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov-db.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov-db.c: In function ‘prov_file_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov-db.c:56:12: warning: leak of file descriptor ‘open(filename, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov-db.c:1472:13: note: (1) entry to ‘read_json_db’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov-db.c:1489:15: note: (2) calling ‘prov_file_read’ from ‘read_json_db’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov-db.c:45:14: note: (3) entry to ‘prov_file_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov-db.c:52:12: note: (4) following ‘false’ branch (when ‘filename’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov-db.c:55:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov-db.c:55:14: note: (6) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/mesh-gatt/prov-db.c:56:12: note: (7) ‘open(filename, 0)’ leaks here; was opened at (6) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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/cmtp.o tools/parser/cmtp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/cmtp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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 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/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/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/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/sdp.o tools/parser/sdp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:24: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h: In function ‘p_indent’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:129:33: warning: dereference of NULL ‘f’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:659:6: note: (1) entry to ‘sdp_dump’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:673:9: note: (2) following ‘case 5:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:739:25: note: (3) inlined call to ‘p_get_u16’ from ‘sdp_dump’ <--[csmock-gcc-wrapper] In function ‘p_get_u16’, inlined from ‘sdp_dump’ at tools/parser/sdp.c:739:11: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:161:19: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c: In function ‘p_indent’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:746:20: note: (5) following ‘true’ branch (when ‘cont == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:748:25: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:748:25: note: (7) calling ‘frame_get’ from ‘sdp_dump’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:646:22: note: (8) entry to ‘frame_get’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:650:15: note: (9) calling ‘frame_add’ from ‘frame_get’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:594:12: note: (10) entry to ‘frame_add’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:600:23: note: (11) following ‘true’ branch (when ‘i != 10’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:601:35: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:650:15: note: (13) returning to ‘frame_get’ from ‘frame_add’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:748:25: note: (14) returning to ‘sdp_dump’ from ‘frame_get’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:748:25: note: (15) calling ‘print_attr_list’ from ‘sdp_dump’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:499:20: note: (16) entry to ‘print_attr_list’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:505:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:506:26: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:507:50: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:509:29: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:509:28: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:511:43: note: (22) inlined call to ‘p_get_u16’ from ‘print_attr_list’ <--[csmock-gcc-wrapper] In function ‘p_get_u16’, inlined from ‘print_attr_list’ at tools/parser/sdp.c:511:15: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:161:19: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c: In function ‘p_indent’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:512:33: note: (24) calling ‘p_indent’ from ‘print_attr_list’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:110:20: note: (25) entry to ‘p_indent’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:112:12: note: (26) following ‘true’ branch (when ‘level < 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:113:30: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:512:33: note: (28) returning to ‘print_attr_list’ from ‘p_indent’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:513:40: note: (29) inlined call to ‘get_attr_id_name’ from ‘print_attr_list’ <--[csmock-gcc-wrapper] In function ‘get_attr_id_name’, inlined from ‘print_attr_list’ at tools/parser/sdp.c:513:12: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:223:23: note: (30) following ‘true’ branch (when ‘i != 33’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:224:52: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c: In function ‘p_indent’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/sdp.c:522:33: note: (32) calling ‘p_indent’ from ‘print_attr_list’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:110:20: note: (33) entry to ‘p_indent’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:112:12: note: (34) following ‘false’ branch (when ‘level >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:117:20: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:117:12: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:118:27: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:129:33: note: (38) dereference of NULL ‘f’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 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 tools/parser/avdtp.o tools/parser/avdtp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/avdtp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/parser/ppp.o tools/parser/ppp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/ppp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 tools/parser/l2cap.o tools/parser/l2cap.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:24: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h: In function ‘p_indent’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:129:33: warning: dereference of NULL ‘f’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1538:6: note: (1) entry to ‘l2cap_dump’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1548:20: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1554:20: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1554:20: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1556:25: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1556:25: note: (6) calling ‘l2cap_parse’ from ‘l2cap_dump’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1202:13: note: (7) entry to ‘l2cap_parse’ <--[csmock-gcc-wrapper] cc1: note: (8) following ‘case 1:’ branch... cc1: note: (9) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1215:33: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1216:40: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1226:25: note: (12) following ‘case 4:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1239:25: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:1240:33: note: (14) calling ‘conf_req’ from ‘l2cap_parse’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:731:20: note: (15) entry to ‘conf_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:737:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:19: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:741:38: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/lib/bluetooth.h:250:20: note: in definition of macro ‘btohs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:743:12: note: (18) following ‘true’ branch (when ‘clen > 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:744:64: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:744:17: note: (20) calling ‘conf_opt’ from ‘conf_req’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:624:13: note: (21) entry to ‘conf_opt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/l2cap.c:628:9: note: (22) calling ‘p_indent’ from ‘conf_opt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:110:20: note: (23) entry to ‘p_indent’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:112:12: note: (24) following ‘false’ branch (when ‘level >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:117:20: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:117:12: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:118:27: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/parser.h:129:33: note: (28) dereference of NULL ‘f’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 monitor/packet.o monitor/packet.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/packet.c: internal warning: child 10719 timed out after 30s <--[csmock-gcc-wrapper] cswrap: error: child 10719 (/usr/bin/csmock-gcc-wrapper) 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/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/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 profiles/cups/sdp.o profiles/cups/sdp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/sdp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 profiles/cups/spp.o profiles/cups/spp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c: In function ‘spp_print’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:59:13: warning: ‘connect’ on file descriptor ‘sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:34:19: note: (1) stream socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:34:19: note: (2) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:34:12: note: (3) following ‘false’ branch (when ‘sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:42:24: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:46:13: note: (5) stream socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:46:13: note: (6) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:46:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:55:24: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:59:13: note: (9) ‘connect’ expects a new socket file descriptor but ‘sk’ is bound <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/spp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 profiles/cups/hcrp.o profiles/cups/hcrp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c: In function ‘hcrp_print’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:213:13: warning: ‘connect’ on file descriptor ‘ctrl_sk’ in wrong phase [CWE-666] [-Wanalyzer-fd-phase-mismatch] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:187:24: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:187:24: note: (2) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:187:12: note: (3) following ‘false’ branch (when ‘ctrl_sk >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:195:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:199:13: note: (5) socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:199:13: note: (6) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:199:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:208:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/hcrp.c:213:13: note: (9) ‘connect’ expects a new socket file descriptor but ‘ctrl_sk’ is bound <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/main.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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 emulator/serial.o emulator/serial.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:151: error: legacyUninitvar(CWE-457): Uninitialized variable: type <--[cppcheck] In file included from /usr/include/features.h:511, <--[gcc] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:214: error: legacyUninitvar(CWE-457): Uninitialized variable: dev_type <--[cppcheck] from /usr/include/bits/libc-header-start.h:33, <--[gcc] from /usr/include/stdio.h:28, <--[gcc] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:17: <--[gcc] In function ‘read’, inlined from ‘serial_read_callback’ at emulator/serial.c:90: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.79-build/bluez-5.79/emulator/serial.c: In function ‘serial_read_callback’: <--[gcc] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:78:24: note: destination object allocated here <--[gcc] 78 | 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.79-build/bluez-5.79/emulator/serial.c: In function ‘serial_read_callback.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:130: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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:98:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:101:23: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:103:22: note: (3) following ‘true’ branch (when ‘count != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:106:28: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:106:20: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:107:47: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:109:25: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:110:25: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:111:36: note: (9) following ‘false’ branch (when ‘count > 3’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:117:64: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:118:52: note: (11) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:129:20: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:130:25: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:130: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 <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:141: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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:98:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:101:23: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:103:22: note: (3) following ‘true’ branch (when ‘count != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:106:28: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:106:20: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:107:47: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:109:25: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:110:25: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:111:36: note: (9) following ‘false’ branch (when ‘count > 3’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:117:64: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:118:52: note: (11) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:129:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:141:25: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:141: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 <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c: In function ‘open_pty’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:192:25: warning: use of uninitialized value ‘type’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:151:43: note: (1) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:36:30: note: in definition of macro ‘uninitialized_var’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:151:43: note: (2) capacity: 4 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:36:30: note: in definition of macro ‘uninitialized_var’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:154:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:159:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:159:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:166:13: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:166:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:173:37: note: (8) ...to here <--[csmock-gcc-wrapper] cc1: note: (9) following ‘false’ branch... /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:192:50: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:192:25: note: (11) use of uninitialized value ‘type’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:192:25: warning: use of uninitialized value ‘type’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:75:13: note: (1) entry to ‘serial_read_callback’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:83:12: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:84:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:85:17: note: (4) calling ‘open_pty’ from ‘serial_read_callback’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:149:13: note: (5) entry to ‘open_pty’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:151:43: note: (6) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:36:30: note: in definition of macro ‘uninitialized_var’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:151:43: note: (7) capacity: 4 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:36:30: note: in definition of macro ‘uninitialized_var’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:154:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:159:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:159:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:166:13: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:166:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:173:37: note: (13) ...to here <--[csmock-gcc-wrapper] cc1: note: (14) following ‘false’ branch... /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:192:50: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:192:25: note: (16) use of uninitialized value ‘type’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:192:25: warning: use of uninitialized value ‘type’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:211:16: note: (1) entry to ‘serial_open’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:217:12: note: (2) following ‘false’ branch (when ‘serial’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:220:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:224:9: note: (4) calling ‘open_pty’ from ‘serial_open’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:149:13: note: (5) entry to ‘open_pty’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:151:43: note: (6) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:36:30: note: in definition of macro ‘uninitialized_var’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:151:43: note: (7) capacity: 4 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:36:30: note: in definition of macro ‘uninitialized_var’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:154:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:159:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:159:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:166:13: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:166:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:173:37: note: (13) ...to here <--[csmock-gcc-wrapper] cc1: note: (14) following ‘false’ branch... /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:192:50: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/serial.c:192:25: note: (16) use of uninitialized value ‘type’ here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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.79-build/bluez-5.79/emulator/server.c:200: error: legacyUninitvar(CWE-457): Uninitialized variable: type <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c: In function ‘client_read_callback.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:113:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:116:23: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:118:22: note: (3) following ‘true’ branch (when ‘count != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:122:28: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:122:20: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:123:47: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:140:52: note: (7) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:151:20: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:152:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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 <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:113:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:116:23: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:118:22: note: (3) following ‘true’ branch (when ‘count != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:122:28: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:122:20: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:123:47: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:140:52: note: (7) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:151:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:163:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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 <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c: In function ‘accept_client’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:182:24: warning: leak of file descriptor ‘((struct server)*(void *)user_data).fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:196:13: note: (1) entry to ‘server_accept_callback’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:202:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:207:18: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:208:12: note: (4) following ‘false’ branch (when ‘client’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:211:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:213:22: note: (6) calling ‘accept_client’ from ‘server_accept_callback’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:171:12: note: (7) entry to ‘accept_client’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:180:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:185:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:187:15: note: (10) stream socket marked as passive here via ‘listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:187:15: note: (11) when ‘accept’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:188:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:182:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/server.c:182:24: note: (14) ‘((struct server)*(void *)user_data).fd’ leaks here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 tools/parser/hci.o tools/parser/hci.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/tools/parser/hci.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 emulator/phy.o emulator/phy.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/phy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 profiles/cups/main.o profiles/cups/main.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:768:56: warning: use of uninitialized value ‘b[5]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:696:26: note: (1) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:718:12: note: (2) following ‘false’ branch (when ‘argc != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:723:19: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:734:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:741:12: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:741:12: note: (6) following ‘false’ branch (when ‘argc != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:745:27: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:745:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:749:26: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:756:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:761:19: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:762:23: note: (12) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:763:17: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:763:17: note: (14) when ‘strncpy’ copies the full source string <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:762:23: note: (15) following ‘false’ branch (when ‘i == 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:768:56: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/cups/main.c:768:56: note: (17) use of uninitialized value ‘b[5]’ here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/smp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 emulator/amp.o emulator/amp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/amp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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 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 peripheral/efivars.o peripheral/efivars.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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/monitor/att.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 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 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 peripheral/attach.o peripheral/attach.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/peripheral/attach.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 emulator/b1ee.o emulator/b1ee.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c: In function ‘server_read_callback.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:153:25: warning: use of possibly-NULL ‘server_pkt_data’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:124:22: note: (1) following ‘true’ branch (when ‘count != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:127:21: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:127:20: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:128:46: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:130:25: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:131:25: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:132:36: note: (7) following ‘false’ branch (when ‘count > 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:138:64: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:139:51: note: (9) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:150:20: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:153:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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 <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:166:25: warning: use of possibly-NULL ‘server_pkt_data’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:124:22: note: (1) following ‘true’ branch (when ‘count != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:127:21: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:127:20: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:128:46: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:130:25: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:131:25: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:132:36: note: (7) following ‘false’ branch (when ‘count > 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:138:64: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:139:51: note: (9) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:150:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:166:25: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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 <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:267:28: warning: leak of ‘server_port’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:249:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:261:20: note: (2) following ‘false’ branch (when ‘opt >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:264:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:264:17: note: (4) following ‘case 112:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:265:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:266:39: note: (6) calling ‘set_port’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:61:14: note: (7) entry to ‘set_port’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:65:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:69:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:68:36: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:72:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:75:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:75:16: note: (14) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:266:39: note: (15) returning to ‘main’ from ‘set_port’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:267:28: note: (16) assuming ‘set_port(optarg)’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:267:28: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:261:20: note: (19) following ‘false’ branch (when ‘opt >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:264:17: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:264:17: note: (21) following ‘case 112:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:265:17: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:266:39: note: (23) calling ‘set_port’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:61:14: note: (24) entry to ‘set_port’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:65:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (26) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:69:20: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:68:36: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:72:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:75:16: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:266:39: note: (31) returning to ‘main’ from ‘set_port’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:267:28: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (33) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:267:28: note: (34) ‘server_port’ leaks here; was allocated at (14) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:300:19: warning: ‘write’ on possibly invalid file descriptor ‘-1’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:249:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:261:20: note: (2) following ‘true’ branch (when ‘opt < 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:289:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:293:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:296:21: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:296:21: note: (6) following ‘false’ branch (when ‘server_port’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:296:21: note: (8) calling ‘do_connect’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:201:12: note: (9) entry to ‘do_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:212:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:217:19: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:243:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:246:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:296:21: note: (14) returning to ‘main’ from ‘do_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:297:22: note: (15) following ‘false’ branch (when ‘sniffer_port’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:297:22: note: (17) calling ‘do_connect’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:201:12: note: (18) entry to ‘do_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:212:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:217:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:217:26: note: (21) following ‘true’ branch (when ‘info’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:220:48: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:223:22: note: (23) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:225:20: note: (24) following ‘true’ branch (when ‘fd < 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:225:20: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:243:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:246:16: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:297:22: note: (28) returning to ‘main’ from ‘do_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:300:19: note: (29) ‘-1’ could be invalid <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:300:19: warning: ‘write’ on closed file descriptor ‘sniffer_fd’ [-Wanalyzer-fd-use-after-close] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:249:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:261:20: note: (2) following ‘true’ branch (when ‘opt < 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:289:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:293:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:296:21: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:296:21: note: (6) following ‘false’ branch (when ‘server_port’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:296:21: note: (8) calling ‘do_connect’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:201:12: note: (9) entry to ‘do_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:212:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:217:19: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:243:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:246:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:296:21: note: (14) returning to ‘main’ from ‘do_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:297:22: note: (15) following ‘false’ branch (when ‘sniffer_port’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:297:22: note: (17) calling ‘do_connect’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:201:12: note: (18) entry to ‘do_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:212:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:217:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:217:26: note: (21) following ‘true’ branch (when ‘info’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:220:48: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:223:22: note: (23) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:223:22: note: (24) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:225:20: note: (25) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:228:17: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:230:20: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:231:25: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:232:25: note: (29) closed here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:243:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:246:16: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:297:22: note: (32) returning to ‘main’ from ‘do_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/b1ee.c:300:19: note: (33) ‘write’ on closed file descriptor ‘sniffer_fd’; ‘close’ was at (29) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /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 -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 -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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/peripheral/gap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 -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 -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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/le.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 -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 -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 -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 -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 -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 /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 -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 -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 -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 -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 -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 -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 -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 -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 /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 -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 -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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 emulator/bthost.o emulator/bthost.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c: In function ‘queue_command’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3288:13: note: (1) entry to ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3302:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3310:26: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3321:9: note: (4) calling ‘send_command’ from ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:886:13: note: (5) entry to ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:891:22: note: (6) capacity: 48 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:909:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (9) calling ‘queue_command’ from ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:560:13: note: (10) entry to ‘queue_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:568:12: note: (11) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:571:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (13) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (15) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (19) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: note: (21) out-of-bounds read from byte 48 till byte 55 but ‘iov’ ends at byte 48 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: note: read of 8 bytes from after the end of ‘iov’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3330:6: note: (1) entry to ‘bthost_set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3333:9: note: (2) calling ‘set_pa_data’ from ‘bthost_set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3288:13: note: (3) entry to ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3302:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3310:26: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3312:20: note: (6) following ‘true’ branch (when ‘offset == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3313:39: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3321:9: note: (8) calling ‘send_command’ from ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:886:13: note: (9) entry to ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:891:22: note: (10) capacity: 48 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:909:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (13) calling ‘queue_command’ from ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:560:13: note: (14) entry to ‘queue_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:568:12: note: (15) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:571:9: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (19) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (21) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (23) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: note: (25) out-of-bounds read from byte 48 till byte 55 but ‘iov’ ends at byte 48 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: note: read of 8 bytes from after the end of ‘iov’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3336:6: note: (1) entry to ‘bthost_set_base’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3350:9: note: (2) inlined call to ‘bthost_set_pa_data’ from ‘bthost_set_base’ <--[csmock-gcc-wrapper] In function ‘bthost_set_pa_data’, inlined from ‘bthost_set_base’ at emulator/bthost.c:3350:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3333:9: note: (3) calling ‘set_pa_data’ from ‘bthost_set_base’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c: In function ‘queue_command’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3288:13: note: (4) entry to ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3302:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3310:26: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3312:20: note: (7) following ‘true’ branch (when ‘offset == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3313:39: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3321:9: note: (9) calling ‘send_command’ from ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:886:13: note: (10) entry to ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:891:22: note: (11) capacity: 48 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:909:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (14) calling ‘queue_command’ from ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:560:13: note: (15) entry to ‘queue_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:568:12: note: (16) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:571:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (18) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (20) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (22) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (24) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: note: (26) out-of-bounds read from byte 48 till byte 55 but ‘iov’ ends at byte 48 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: note: read of 8 bytes from after the end of ‘iov’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:52: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3288:13: note: (1) entry to ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3302:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3310:26: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3321:9: note: (4) calling ‘send_command’ from ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:886:13: note: (5) entry to ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:891:22: note: (6) capacity: 48 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:909:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (9) calling ‘queue_command’ from ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:560:13: note: (10) entry to ‘queue_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:568:12: note: (11) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:571:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (13) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (15) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (19) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: note: (21) out-of-bounds read from byte 56 till byte 63 but ‘iov’ ends at byte 48 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: note: read of 8 bytes from after the end of ‘iov’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3336:6: note: (1) entry to ‘bthost_set_base’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3350:9: note: (2) inlined call to ‘bthost_set_pa_data’ from ‘bthost_set_base’ <--[csmock-gcc-wrapper] In function ‘bthost_set_pa_data’, inlined from ‘bthost_set_base’ at emulator/bthost.c:3350:2: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3333:9: note: (3) calling ‘set_pa_data’ from ‘bthost_set_base’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c: In function ‘queue_command’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3288:13: note: (4) entry to ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3302:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3310:26: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3312:20: note: (7) following ‘true’ branch (when ‘offset == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3313:39: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3321:9: note: (9) calling ‘send_command’ from ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:886:13: note: (10) entry to ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:891:22: note: (11) capacity: 48 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:909:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (14) calling ‘queue_command’ from ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:560:13: note: (15) entry to ‘queue_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:568:12: note: (16) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:571:9: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (18) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (20) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (22) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (24) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: note: (26) out-of-bounds read from byte 56 till byte 63 but ‘iov’ ends at byte 48 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: note: read of 8 bytes from after the end of ‘iov’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3330:6: note: (1) entry to ‘bthost_set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3333:9: note: (2) calling ‘set_pa_data’ from ‘bthost_set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3288:13: note: (3) entry to ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3302:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3310:26: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3312:20: note: (6) following ‘true’ branch (when ‘offset == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3313:39: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3321:9: note: (8) calling ‘send_command’ from ‘set_pa_data’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:886:13: note: (9) entry to ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:891:22: note: (10) capacity: 48 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:909:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:913:17: note: (13) calling ‘queue_command’ from ‘send_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:560:13: note: (14) entry to ‘queue_command’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:568:12: note: (15) following ‘false’ branch (when ‘cmd’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:571:9: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (17) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (19) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (21) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:573:23: note: (23) following ‘true’ branch (when ‘i < iovlen’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:66: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: note: (25) out-of-bounds read from byte 56 till byte 63 but ‘iov’ ends at byte 48 <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: note: read of 8 bytes from after the end of ‘iov’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:574:69: note: valid subscripts for ‘iov’ are ‘[0]’ to ‘[2]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c: In function ‘bthost_set_cig_params’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3409:20: warning: dereference of possibly-NULL ‘cp’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3407:14: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3409:20: note: (2) ‘cp’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c: In function ‘bthost_create_cis’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3441:21: warning: dereference of possibly-NULL ‘cp’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3439:14: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/bthost.c:3441:21: note: (2) ‘cp’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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-header.o gobex/gobex-header.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-packet.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:129:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:95:9: warning: use of NULL ‘utf16’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c: In function ‘g_obex_header_encode’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:105:8: note: (1) entry to ‘g_obex_header_encode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:116:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:119:15: note: (3) inlined call to ‘put_bytes’ from ‘g_obex_header_encode’ <--[csmock-gcc-wrapper] In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:119:8: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:95:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c: In function ‘g_obex_header_encode’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:121:9: note: (5) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:122:9: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:123:29: note: (7) calling ‘utf8_to_utf16’ from ‘g_obex_header_encode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:42:14: note: (8) entry to ‘utf8_to_utf16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:46:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:47:24: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:47:24: note: (11) ‘utf16’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:123:29: note: (12) returning to ‘g_obex_header_encode’ from ‘utf8_to_utf16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:124:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:89, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.h:13, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:16: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:126:44: note: (14) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:60:62: note: in definition of macro ‘g_assert_cmpuint’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:129:17: note: (15) ‘utf16’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:129:17: note: (16) inlined call to ‘put_bytes’ from ‘g_obex_header_encode’ <--[csmock-gcc-wrapper] In function ‘put_bytes’, inlined from ‘g_obex_header_encode’ at gobex/gobex-header.c:129:3: /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:95:9: note: (17) argument 2 (‘utf16’) NULL where non-null expected <--[csmock-gcc-wrapper] : In function ‘g_obex_header_encode’: : note: argument 2 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c: In function ‘g_obex_header_create_list’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:563:34: warning: dereference of NULL ‘hdr’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:523:9: note: (1) entry to ‘g_obex_header_create_list’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:533:19: note: (2) following ‘true’ branch (when ‘id != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:26:39: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:540:25: note: in expansion of macro ‘G_OBEX_HDR_ENC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:543:31: note: (4) calling ‘g_obex_header_new_unicode’ from ‘g_obex_header_create_list’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:404:14: note: (5) entry to ‘g_obex_header_new_unicode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:411:12: note: (6) following ‘true’ branch (when ‘id > 63’)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:543:31: note: (8) returning to ‘g_obex_header_create_list’ from ‘g_obex_header_new_unicode’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-header.c:563:34: note: (9) dereference of NULL ‘hdr’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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.79-build/bluez-5.79/gobex/gobex-transfer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 gobex/gobex-apparam.o gobex/gobex-apparam.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c: In function ‘tag_new’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:182:15: note: (1) entry to ‘g_obex_apparam_set_uint16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:189:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: note: (6) allocated 4 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:174:15: note: (1) entry to ‘g_obex_apparam_set_uint8’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:179:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint8’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: note: (6) allocated 3 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: warning: allocated buffer size is not a multiple of the pointee's size [CWE-131] [-Wanalyzer-allocation-size] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:192:15: note: (1) entry to ‘g_obex_apparam_set_uint32’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:199:16: note: (2) calling ‘g_obex_apparam_set_bytes’ from ‘g_obex_apparam_set_uint32’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:159:15: note: (3) entry to ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:168:15: note: (4) calling ‘tag_new’ from ‘g_obex_apparam_set_bytes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:39:28: note: (5) entry to ‘tag_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex-apparam.c:43:15: note: (6) allocated 6 bytes and assigned to ‘struct apparam_tag *’ here; ‘sizeof (struct apparam_tag)’ is ‘10’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I./lib -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gatttool.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 attrib/att.o attrib/att.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/att.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 attrib/gattrib.o attrib/gattrib.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c: In function ‘construct_full_pdu’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:207:17: warning: use of uninitialized value ‘pdu’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:348:13: note: (1) entry to ‘client_notify_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:351:24: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:351:24: note: (3) capacity: ‘(int)length + 2’ bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:355:12: note: (4) following ‘false’ branch (when ‘length == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:358:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:358:9: note: (6) calling ‘attrib_callback_notify’ from ‘client_notify_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:240:13: note: (7) entry to ‘attrib_callback_notify’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:247:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:250:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:257:15: note: (10) calling ‘construct_full_pdu’ from ‘attrib_callback_notify’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:196:17: note: (11) entry to ‘construct_full_pdu’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:201:12: note: (12) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:204:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:206:12: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:207:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:207:17: note: (16) use of uninitialized value ‘pdu’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/gattrib.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 attrib/gatt.o attrib/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 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-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 -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/gobex/gobex.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 -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 profiles/health/mcap.o profiles/health/mcap.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/health/mcap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 attrib/interactive.o attrib/interactive.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/attrib/interactive.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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.79-build/bluez-5.79/btio/btio.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c: In function ‘server_cb.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:256:12: warning: leak of file descriptor ‘g_io_channel_unix_get_fd(io)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:256:12: note: (1) ‘g_io_channel_unix_get_fd(io)’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c: In function ‘sco_connect’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2009:13: note: (1) entry to ‘bt_io_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2024:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2027:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2027:14: note: (4) calling ‘create_io’ from ‘bt_io_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:36: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:771:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:51: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1996:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2027:14: note: (19) returning to ‘bt_io_connect’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2028:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2031:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2043:9: note: (22) following ‘case 2:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2051:9: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2052:23: note: (24) calling ‘sco_connect’ from ‘bt_io_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:826:12: note: (25) entry to ‘sco_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:835:15: note: (26) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:835:15: note: (27) when ‘connect’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:836:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:21: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:836:26: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2043:21: note: (30) ‘g_io_channel_unix_get_fd(create_io(0, &opts, gerr))’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c: In function ‘bt_io_listen’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:36: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:771:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:51: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1996:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2099:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2078:13: note: (1) entry to ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2092:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (4) calling ‘create_io’ from ‘bt_io_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1927:20: note: (5) entry to ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1962:24: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1963:20: note: (7) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:36: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (9) calling ‘sco_bind’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:760:12: note: (10) entry to ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:13: note: (11) when ‘bind’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:768:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:771:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:21: note: (14) returning to ‘create_io’ from ‘sco_bind’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1967:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:51: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1969:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:1996:14: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2095:14: note: (19) returning to ‘bt_io_listen’ from ‘create_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2096:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2099:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/btio/btio.c:2108:12: note: (22) ‘g_io_channel_unix_get_fd(create_io(1, &opts, err))’ leaks here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/source.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/sink.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/plugins/neard.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 -O0 -ffunction-sections -fdata-sections -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -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.79-build/bluez-5.79/emulator/btdev.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c: In function ‘le_meta_event’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:3740:17: warning: use of uninitialized value ‘data’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6393:12: note: (1) entry to ‘cmd_big_create_sync_complete’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6400:11: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6400:11: note: (3) capacity: 20 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6406:18: note: (4) calling ‘find_btdev_by_bdaddr_type’ from ‘cmd_big_create_sync_complete’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:356:29: note: (5) entry to ‘find_btdev_by_bdaddr_type’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:361:23: note: (6) following ‘true’ branch (when ‘i != 16’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:362:31: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6406:18: note: (8) returning to ‘cmd_big_create_sync_complete’ from ‘find_btdev_by_bdaddr_type’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6408:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6411:9: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6413:23: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6414:24: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6414:24: note: (13) calling ‘conn_link_bis’ from ‘cmd_big_create_sync_complete’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1210:27: note: (14) entry to ‘conn_link_bis’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1216:15: note: (15) calling ‘find_bis_index’ from ‘conn_link_bis’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1187:27: note: (16) entry to ‘find_bis_index’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1193:56: note: (17) following ‘true’ branch (when ‘entry’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1195:22: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1201:20: note: (19) following ‘true’ branch (when ‘index == 0’)... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1216:15: note: (21) returning to ‘conn_link_bis’ from ‘find_bis_index’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1217:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1220:49: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1220:16: note: (24) calling ‘conn_add_bis’ from ‘conn_link_bis’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1173:27: note: (25) entry to ‘conn_add_bis’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1178:16: note: (26) calling ‘conn_new’ from ‘conn_add_bis’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1096:27: note: (27) entry to ‘conn_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1110:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (29) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1178:16: note: (30) returning to ‘conn_add_bis’ from ‘conn_new’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1179:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1182:22: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1220:16: note: (33) returning to ‘conn_link_bis’ from ‘conn_add_bis’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1221:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:1224:19: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6414:24: note: (36) returning to ‘cmd_big_create_sync_complete’ from ‘conn_link_bis’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6415:20: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:31: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6418:46: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/src/shared/util.h:29:27: note: in definition of macro ‘cpu_to_le16’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6413:23: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6421:21: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6421:12: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6428:30: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6431:12: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6438:23: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:6448:9: note: (45) calling ‘le_meta_event’ from ‘cmd_big_create_sync_complete’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:3725:13: note: (46) entry to ‘le_meta_event’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:3739:12: note: (47) following ‘true’ branch (when ‘len != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:3740:17: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/emulator/btdev.c:3740:17: note: (49) use of uninitialized value ‘data’ here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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.79-build/bluez-5.79/profiles/audio/a2dp.c: In function ‘select_cb’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2811:19: warning: dereference of NULL ‘*setup.rsep’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2790:13: note: (1) entry to ‘select_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2796:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2799:12: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2799:12: note: (4) following ‘false’ branch (when ‘size < 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2804:22: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2805:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2810:23: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2810:23: note: (8) calling ‘find_remote_sep’ from ‘select_cb’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:1327:32: note: (9) entry to ‘find_remote_sep’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:1332:12: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2810:23: note: (12) returning to ‘select_cb’ from ‘find_remote_sep’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2810:21: note: (13) ‘*setup.rsep’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2811:19: note: (14) dereference of NULL ‘find_remote_sep(*setup.chan, queue_pop_head(*setup.eps))’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c: In function ‘a2dp_find_eps’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2857:25: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2827:22: note: (1) entry to ‘a2dp_find_eps’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2830:37: note: (2) calling ‘find_channel’ from ‘a2dp_find_eps’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:174:29: note: (3) entry to ‘find_channel’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:178:27: note: (4) following ‘false’ branch (when ‘l’ is NULL)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2830:37: note: (6) returning to ‘a2dp_find_eps’ from ‘find_channel’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2833:16: note: (7) following ‘true’ branch (when ‘list’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2834:34: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2850:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2853:20: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2853:20: note: (11) following ‘true’ branch (when ‘seps’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2854:32: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/a2dp.c:2857:25: note: (13) dereference of NULL ‘find_channel(session)’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/transport.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avctp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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.79-build/bluez-5.79/profiles/audio/player.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c: In function ‘media_player_set_setting’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1384:13: warning: use of NULL ‘value’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1353:6: note: (1) entry to ‘media_player_set_setting’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1361:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1371:18: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1372:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:56, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:25: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (5) inlined call to ‘g_strdup_inline’ from ‘media_player_set_setting’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1375:59: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] In function ‘g_strdup_inline’, inlined from ‘media_player_set_setting’ at profiles/audio/player.c:1375:52: /usr/include/glib-2.0/glib/gstrfuncs.h:311:7: note: (6) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c: In function ‘media_player_set_setting’: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (8) inlined call to ‘g_strdup_inline’ from ‘media_player_set_setting’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1375:44: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] In function ‘g_strdup_inline’, inlined from ‘media_player_set_setting’ at profiles/audio/player.c:1375:37: /usr/include/glib-2.0/glib/gstrfuncs.h:314:48: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c: In function ‘media_player_set_setting’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1380:13: note: (10) calling ‘find_pending’ from ‘media_player_set_setting’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:111:28: note: (11) entry to ‘find_pending’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:116:31: note: (12) following ‘true’ branch (when ‘l’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:117:37: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1380:13: note: (14) returning to ‘media_player_set_setting’ from ‘find_pending’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1381:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1384:13: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:1384:13: note: (17) argument 1 (‘value’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /usr/include/string.h:462, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/player.c:23: <--[csmock-gcc-wrapper] /usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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/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-avrcp.o `test -f 'profiles/audio/avrcp.c' || echo './'`profiles/audio/avrcp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:2376: warning: uninitvar(CWE-457): Uninitialized variable: attrs <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c: In function ‘play_status_to_val’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:742:14: warning: use of NULL ‘status’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:4566:6: note: (1) entry to ‘avrcp_unregister_player’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:4574:36: note: (2) following ‘true’ branch (when ‘l’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:4575:31: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:4589:25: note: (4) calling ‘notify_addressed_player_changed’ from ‘avrcp_unregister_player’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:1823:17: note: (5) entry to ‘notify_addressed_player_changed’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:1848:23: note: (6) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:1849:50: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:1849:17: note: (8) inlined call to ‘avrcp_player_event’ from ‘notify_addressed_player_changed’ <--[csmock-gcc-wrapper] In function ‘avrcp_player_event’, inlined from ‘notify_addressed_player_changed’ at profiles/audio/avrcp.c:1849:3: cc1: note: (9) calling ‘avrcp_player_event.part.0’ from ‘notify_addressed_player_changed’ /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c: In function ‘play_status_to_val’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:787:6: note: (10) entry to ‘avrcp_player_event.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:807:12: note: (11) following ‘true’ branch (when ‘id != 11’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:807:65: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:817:9: note: (13) following ‘case 1:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:818:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:820:34: note: (15) calling ‘play_status_to_val’ from ‘avrcp_player_event.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:740:12: note: (16) entry to ‘play_status_to_val’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:742:14: note: (17) argument 1 (‘status’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /usr/include/string.h:462, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:35, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:30: <--[csmock-gcc-wrapper] /usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c: In function ‘avrcp_player_event.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:825:17: warning: dereference of NULL ‘data’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:4566:6: note: (1) entry to ‘avrcp_unregister_player’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:4574:36: note: (2) following ‘true’ branch (when ‘l’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:4575:31: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:4589:25: note: (4) calling ‘notify_addressed_player_changed’ from ‘avrcp_unregister_player’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:1823:17: note: (5) entry to ‘notify_addressed_player_changed’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:1848:23: note: (6) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:1849:50: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:1849:17: note: (8) inlined call to ‘avrcp_player_event’ from ‘notify_addressed_player_changed’ <--[csmock-gcc-wrapper] In function ‘avrcp_player_event’, inlined from ‘notify_addressed_player_changed’ at profiles/audio/avrcp.c:1849:3: cc1: note: (9) calling ‘avrcp_player_event.part.0’ from ‘notify_addressed_player_changed’ /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c: In function ‘avrcp_player_event.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:787:6: note: (10) entry to ‘avrcp_player_event.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/audio/avrcp.c:825:17: note: (11) dereference of NULL ‘data’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/input/manager.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/input/server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/gap/gas.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/input/device.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-pcsuite.o `test -f 'obexd/plugins/pcsuite.c' || echo './'`obexd/plugins/pcsuite.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/pcsuite.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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-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-ftp.o `test -f 'obexd/plugins/ftp.c' || echo './'`obexd/plugins/ftp.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/ftp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-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-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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/pbap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-phonebook-dummy.o `test -f 'obexd/plugins/phonebook-dummy.c' || echo './'`obexd/plugins/phonebook-dummy.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/phonebook-dummy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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-messages-dummy.o `test -f 'obexd/plugins/messages-dummy.c' || echo './'`obexd/plugins/messages-dummy.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c: In function ‘return_folder_listing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:163:21: warning: dereference of NULL ‘cur’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:174:17: note: (1) entry to ‘get_folder_listing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:178:17: note: (2) ‘list’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:180:13: note: (3) calling ‘get_subdirs’ from ‘get_folder_listing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:121:16: note: (4) entry to ‘get_subdirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:130:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:18: <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:131:28: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:180:13: note: (7) returning to ‘get_folder_listing’ from ‘get_subdirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:182:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:187:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:187:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:192:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:192:9: note: (12) ‘list’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:192:9: note: (13) calling ‘return_folder_listing’ from ‘get_folder_listing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:155:13: note: (14) entry to ‘return_folder_listing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:162:31: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:163:21: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/messages-dummy.c:163:21: note: (17) dereference of NULL ‘cur’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/plugins/mas.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/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/src/obexd-plugin.o `test -f 'obexd/src/plugin.c' || echo './'`obexd/src/plugin.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/src/plugin.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/src/obexd-main.o `test -f 'obexd/src/main.c' || echo './'`obexd/src/main.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/src/main.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/src/obexd-log.o `test -f 'obexd/src/log.c' || echo './'`obexd/src/log.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/src/log.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/src/log.c:85: error: comparePointers(CWE-570): Comparing pointers that point to different objects <--[cppcheck] /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/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/src/obexd-mimetype.o `test -f 'obexd/src/mimetype.c' || echo './'`obexd/src/mimetype.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/src/mimetype.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/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 -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 /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/profiles/input/hog-lib.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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.79-build/bluez-5.79/profiles/audio/media.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/src/obexd-manager.o `test -f 'obexd/src/manager.c' || echo './'`obexd/src/manager.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/obexd/src/manager.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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/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-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 -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 -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" ) /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 -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 -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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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.79-build/bluez-5.79/obexd/plugins/vcard.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 mesh/mesh.o mesh/mesh.c /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/mesh/mesh.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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-asha.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-asha.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 -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 -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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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.79-build/bluez-5.79/obexd/src/obex.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 -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 -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 -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 -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 -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 -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 -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 -version-info 22:15:19 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -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 -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 -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.15 libtool: link: (cd "lib/.libs" && rm -f "libbluetooth.so.3" && ln -s "libbluetooth.so.3.19.15" "libbluetooth.so.3") libtool: link: (cd "lib/.libs" && rm -f "libbluetooth.so" && ln -s "libbluetooth.so.3.19.15" "libbluetooth.so") libtool: link: ( cd "lib/.libs" && rm -f "libbluetooth.la" && ln -s "../libbluetooth.la" "libbluetooth.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 -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 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -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 -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 -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 -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 gcc -DHAVE_CONFIG_H -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-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.79-build/bluez-5.79/profiles/audio/avdtp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 /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 -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 -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 -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 -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 -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 -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 -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 -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 /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 -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 -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 -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 -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 -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 -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 -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 -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 /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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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-bip.o obexd/client/obexd-bip-common.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 -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-bip.o obexd/client/obexd-bip-common.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 -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 -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 -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 client/assistant.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 -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 client/assistant.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 -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 profiles/audio/bluetoothd-asha.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 -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 profiles/audio/bluetoothd-asha.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 + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-12 23:28:53 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-11-12 23:28:54 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' 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' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' 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' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' 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'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' 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'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--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.9 INFO: Mock Version: 5.9 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/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1730505600 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gAGmNE + umask 022 + cd /builddir/build/BUILD/bluez-5.79-build + '[' /builddir/build/BUILD/bluez-5.79-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/bluez-5.79-build/BUILDROOT ++ dirname /builddir/build/BUILD/bluez-5.79-build/BUILDROOT + mkdir -p /builddir/build/BUILD/bluez-5.79-build + mkdir /builddir/build/BUILD/bluez-5.79-build/BUILDROOT + 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 -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.79 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/bluez-5.79-build/BUILDROOT 'INSTALL=/usr/bin/install -p' /usr/bin/make --no-print-directory install-am /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -p lib/libbluetooth.la '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib64' libtool: install: /usr/bin/install -p lib/.libs/libbluetooth.so.3.19.15 /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib64/libbluetooth.so.3.19.15 libtool: install: (cd /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib64 && { ln -s -f libbluetooth.so.3.19.15 libbluetooth.so.3 || { rm -f libbluetooth.so.3 && ln -s libbluetooth.so.3.19.15 libbluetooth.so.3; }; }) libtool: install: (cd /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib64 && { ln -s -f libbluetooth.so.3.19.15 libbluetooth.so || { rm -f libbluetooth.so && ln -s libbluetooth.so.3.19.15 libbluetooth.so; }; }) libtool: install: /usr/bin/install -p lib/.libs/libbluetooth.lai /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib64/libbluetooth.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/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/BUILD/bluez-5.79-build/BUILDROOT/usr/bin' libtool: install: /usr/bin/install -p client/bluetoothctl /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/bluetoothctl libtool: install: /usr/bin/install -p monitor/btmon /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/btmon libtool: install: /usr/bin/install -p tools/rctest /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/rctest libtool: install: /usr/bin/install -p tools/l2test /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/l2test libtool: install: /usr/bin/install -p tools/l2ping /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/l2ping libtool: install: /usr/bin/install -p tools/bluemoon /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/bluemoon libtool: install: /usr/bin/install -p tools/hex2hcd /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/hex2hcd libtool: install: /usr/bin/install -p tools/mpris-proxy /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/mpris-proxy libtool: install: /usr/bin/install -p tools/btattach /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/btattach libtool: install: /usr/bin/install -p tools/isotest /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/isotest libtool: install: /usr/bin/install -p tools/meshctl /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/meshctl libtool: install: /usr/bin/install -p tools/mesh-cfgclient /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/mesh-cfgclient libtool: install: /usr/bin/install -p tools/mesh-cfgtest /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/mesh-cfgtest libtool: install: /usr/bin/install -p tools/hciattach /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/hciattach libtool: install: /usr/bin/install -p tools/hciconfig /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/hciconfig libtool: install: /usr/bin/install -p tools/hcitool /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/hcitool libtool: install: /usr/bin/install -p tools/hcidump /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/hcidump libtool: install: /usr/bin/install -p tools/rfcomm /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/rfcomm libtool: install: /usr/bin/install -p tools/sdptool /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/sdptool libtool: install: /usr/bin/install -p tools/ciptool /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin/ciptool /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/libexec/bluetooth' /bin/sh ./libtool --mode=install /usr/bin/install -p src/bluetoothd obexd/src/obexd mesh/bluetooth-meshd '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/libexec/bluetooth' libtool: install: /usr/bin/install -p src/bluetoothd /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/libexec/bluetooth/bluetoothd libtool: install: /usr/bin/install -p obexd/src/obexd /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/libexec/bluetooth/obexd libtool: install: /usr/bin/install -p mesh/bluetooth-meshd /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/libexec/bluetooth/bluetooth-meshd /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/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/BUILD/bluez-5.79-build/BUILDROOT/etc/bluetooth' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/cups/backend' /bin/sh ./libtool --mode=install /usr/bin/install -p profiles/cups/bluetooth '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/cups/backend' libtool: install: /usr/bin/install -p profiles/cups/bluetooth /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/cups/backend/bluetooth /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/dbus-1/system.d' /usr/bin/install -p -m 644 src/bluetooth.conf mesh/bluetooth-mesh.conf '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/dbus-1/system.d' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/dbus-1/services' /usr/bin/install -p -m 644 obexd/src/org.bluez.obex.service '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/dbus-1/services' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/dbus-1/system-services' /usr/bin/install -p -m 644 src/org.bluez.service mesh/org.bluez.mesh.service '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/dbus-1/system-services' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/zsh/site-functions' /usr/bin/install -p -m 644 completion/zsh/_bluetoothctl '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/zsh/site-functions' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/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 client/bluetoothctl-assistant.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/BUILD/bluez-5.79-build/BUILDROOT/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/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.MediaAssistant.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 '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/man/man5' /usr/bin/install -p -m 644 doc/org.bluez.obex.Message.5 doc/org.bluez.obex.AgentManager.5 doc/org.bluez.obex.Agent.5 doc/org.bluez.obex.Image.5 '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/man/man7' /usr/bin/install -p -m 644 doc/hci.7 doc/l2cap.7 doc/rfcomm.7 '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/man/man7' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/man/man8' /usr/bin/install -p -m 644 src/bluetoothd.8 mesh/bluetooth-meshd.8 '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/man/man8' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 lib/bluez.pc '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib64/pkgconfig' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/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/BUILD/bluez-5.79-build/BUILDROOT/usr/include/bluetooth' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/udev/rules.d' /usr/bin/install -p -m 644 tools/97-hid2hci.rules '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/udev/rules.d' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/systemd/system' /usr/bin/install -p -m 644 src/bluetooth.service mesh/bluetooth-mesh.service '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/systemd/system' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/systemd/user' /usr/bin/install -p -m 644 tools/mpris-proxy.service obexd/src/obex.service '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/systemd/user' /usr/bin/mkdir -p '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/udev' /bin/sh ./libtool --mode=install /usr/bin/install -p tools/hid2hci '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/udev' libtool: install: /usr/bin/install -p tools/hid2hci /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/udev/hid2hci /usr/bin/make --no-print-directory install-data-hook ln -s -f obex.service /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/systemd/user/dbus-org.bluez.obex.service + install -m0755 attrib/gatttool /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin + install -m0755 tools/avinfo /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin + install -m0755 tools/btmgmt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/bin + find /builddir/build/BUILD/bluez-5.79-build/BUILDROOT -name '*.la' -delete + test -d /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib64/cups + rm -f '/builddir/build/BUILD/bluez-5.79-build/BUILDROOT//etc/udev/*.rules' /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/lib/udev/rules.d/97-hid2hci.rules + install -D -p -m0644 tools/hid2hci.rules /builddir/build/BUILD/bluez-5.79-build/BUILDROOT//usr/lib/udev/rules.d/97-hid2hci.rules + install -d -m0755 /builddir/build/BUILD/bluez-5.79-build/BUILDROOT//var/lib/bluetooth + install -d -m0755 /builddir/build/BUILD/bluez-5.79-build/BUILDROOT//var/lib/bluetooth/mesh + mkdir -p /builddir/build/BUILD/bluez-5.79-build/BUILDROOT//usr/lib64/bluetooth/ + install -D -p -m0644 src/main.conf /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/etc/bluetooth/main.conf + install -D -p -m0644 mesh/mesh-main.conf /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/etc/bluetooth/mesh-main.conf + install -D -p -m0644 profiles/input/input.conf /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/etc/bluetooth/input.conf + install -D -p -m0644 profiles/network/network.conf /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/etc/bluetooth/network.conf + install emulator/btvirt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT//usr/libexec/bluetooth/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 5.79-1.fc42 --unique-debug-suffix -5.79-1.fc42.x86_64 --unique-debug-src-base bluez-5.79-1.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bluez-5.79-build/bluez-5.79 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.79-1.fc42.x86_64 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 + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/bluez-5.79-build/BUILDROOT Scanned 81 directories and 729 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/bluez-5.79-build/SPECPARTS/rpm-debuginfo.specpart Processing files: bluez-5.79-1.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.la7G6o + umask 022 + cd /builddir/build/BUILD/bluez-5.79-build + cd bluez-5.79 + DOCDIR=/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/AUTHORS /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/ChangeLog /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6adW0N + umask 022 + cd /builddir/build/BUILD/bluez-5.79-build + cd bluez-5.79 + LICENSEDIR=/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/licenses/bluez + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/licenses/bluez + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/COPYING /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/licenses/bluez + RPM_EC=0 ++ jobs -p + exit 0 Provides: bluez = 5.79-1.fc42 bluez(x86-64) = 5.79-1.fc42 config(bluez) = 5.79-1.fc42 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.79-1.fc42.x86_64 Provides: bluez-cups = 5.79-1.fc42 bluez-cups(x86-64) = 5.79-1.fc42 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.79-1.fc42.x86_64 Provides: bluez-deprecated = 5.79-1.fc42 bluez-deprecated(x86-64) = 5.79-1.fc42 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.79-1.fc42.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.D15xPt + umask 022 + cd /builddir/build/BUILD/bluez-5.79-build + cd bluez-5.79 + LICENSEDIR=/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/licenses/bluez-libs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/licenses/bluez-libs + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/COPYING /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/licenses/bluez-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: bluez-libs = 5.79-1.fc42 bluez-libs(x86-64) = 5.79-1.fc42 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.79-1.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HnCT1U + umask 022 + cd /builddir/build/BUILD/bluez-5.79-build + cd bluez-5.79 + DOCDIR=/builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/assigned-numbers.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/btsnoop.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/health-api.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/mgmt-api.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/pics-opp.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/pixit-opp.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/pts-opp.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/sap-api.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/settings-storage.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/supported-features.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + cp -pr /builddir/build/BUILD/bluez-5.79-build/bluez-5.79/doc/test-coverage.txt /builddir/build/BUILD/bluez-5.79-build/BUILDROOT/usr/share/doc/bluez-libs-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: bluez-libs-devel = 5.79-1.fc42 bluez-libs-devel(x86-64) = 5.79-1.fc42 pkgconfig(bluez) = 5.79 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.79-1.fc42.x86_64 Provides: bluez-hid2hci = 5.79-1.fc42 bluez-hid2hci(x86-64) = 5.79-1.fc42 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.79-1.fc42.x86_64 Provides: bluez-mesh = 5.79-1.fc42 bluez-mesh(x86-64) = 5.79-1.fc42 config(bluez-mesh) = 5.79-1.fc42 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.79-1.fc42.x86_64 Provides: bluez-obexd = 5.79-1.fc42 bluez-obexd(x86-64) = 5.79-1.fc42 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.79-1.fc42.x86_64 Provides: bluez-debugsource = 5.79-1.fc42 bluez-debugsource(x86-64) = 5.79-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bluez-debuginfo-5.79-1.fc42.x86_64 Provides: bluez-debuginfo = 5.79-1.fc42 bluez-debuginfo(x86-64) = 5.79-1.fc42 debuginfo(build-id) = 01c0fd7747d960ef1a0276d8719cc08bb8efe6c9 debuginfo(build-id) = 3d208d655171e4b8e4898f0492cfcc7729561ff6 debuginfo(build-id) = 50b5d17046392e7bac9d466ac64537702304a818 debuginfo(build-id) = 9290c080d92aa316d379e5787822fffb8165363c debuginfo(build-id) = a5d5fa3ca9367f157b410bb0372b960224528846 debuginfo(build-id) = c310b1e96f16694c10593435590faf660e27df63 debuginfo(build-id) = c5ac8dea6f25b4ac420c1d2000c4449221b6e08d debuginfo(build-id) = da2443a12570035513ca56a4a1166bea8eab14b9 debuginfo(build-id) = da5502b5529ae8eb5a15380de585da48806a99ad 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.79-1.fc42 Processing files: bluez-cups-debuginfo-5.79-1.fc42.x86_64 Provides: bluez-cups-debuginfo = 5.79-1.fc42 bluez-cups-debuginfo(x86-64) = 5.79-1.fc42 debuginfo(build-id) = d4c507ab8ee51026664b8e3b7bda0bda6d6978b9 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.79-1.fc42 Processing files: bluez-deprecated-debuginfo-5.79-1.fc42.x86_64 Provides: bluez-deprecated-debuginfo = 5.79-1.fc42 bluez-deprecated-debuginfo(x86-64) = 5.79-1.fc42 debuginfo(build-id) = 3372cd1bc05bcc37e0a462970eccf3cb99aeaf81 debuginfo(build-id) = 366ef4a1df4c6101fbc430ba2a600cdba50991e9 debuginfo(build-id) = 3d2eb65a2803f72784e703e3e2df253b46fb72a4 debuginfo(build-id) = 48f63515ad3f2e501c84a8d36aef320464b882b2 debuginfo(build-id) = 5fe251ce698174224366aa4d83ada64ff6e28ba3 debuginfo(build-id) = 6d1b332a4740a7df208d156600875ee5c9053aca debuginfo(build-id) = 7f8423a30dd30233f9cf5924c3824547c05322f5 debuginfo(build-id) = ce080dfde8f396f8d6fa1e6a322db9b2c099aa9f debuginfo(build-id) = e81131fa190e3780dbab5bd90c2397b081cc27db 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.79-1.fc42 Processing files: bluez-libs-debuginfo-5.79-1.fc42.x86_64 Provides: bluez-libs-debuginfo = 5.79-1.fc42 bluez-libs-debuginfo(x86-64) = 5.79-1.fc42 debuginfo(build-id) = 82bef17cedd8f9dd8d7b27ac6430d4f415dd18ba libbluetooth.so.3.19.15-5.79-1.fc42.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.79-1.fc42 Processing files: bluez-libs-devel-debuginfo-5.79-1.fc42.x86_64 Provides: bluez-libs-devel-debuginfo = 5.79-1.fc42 bluez-libs-devel-debuginfo(x86-64) = 5.79-1.fc42 debuginfo(build-id) = 1f407bc460a88565abce06edec482a72121e55b0 debuginfo(build-id) = 351731e6ac35c18d9b06ca56c0cf4668e1ced4a8 debuginfo(build-id) = 3ccc990e0598f515068ec53e53e479095b1d62c1 debuginfo(build-id) = 6994a44e8b2af2174f29ad0ea9d0664b1d4080c9 debuginfo(build-id) = 6cfaea60512c401283b56e55f9712719d6303db1 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.79-1.fc42 Processing files: bluez-hid2hci-debuginfo-5.79-1.fc42.x86_64 Provides: bluez-hid2hci-debuginfo = 5.79-1.fc42 bluez-hid2hci-debuginfo(x86-64) = 5.79-1.fc42 debuginfo(build-id) = b09ecd75595d620b75c04bbd98dfe63e98bf72be 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.79-1.fc42 Processing files: bluez-mesh-debuginfo-5.79-1.fc42.x86_64 Provides: bluez-mesh-debuginfo = 5.79-1.fc42 bluez-mesh-debuginfo(x86-64) = 5.79-1.fc42 debuginfo(build-id) = 32f6a7340e20dba62259c5f8994296b6f8c025f7 debuginfo(build-id) = 364dd1e08fb1f4e8573ed4a9e01db8ea381489df debuginfo(build-id) = e54b25e3fb5161d7bfb947e25325a21e7dc0129b 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.79-1.fc42 Processing files: bluez-obexd-debuginfo-5.79-1.fc42.x86_64 Provides: bluez-obexd-debuginfo = 5.79-1.fc42 bluez-obexd-debuginfo(x86-64) = 5.79-1.fc42 debuginfo(build-id) = cacbcd28c1beb4f82391d105b3163ccf9e357e45 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.79-1.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/bluez-5.79-build/BUILDROOT Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-12 23:28:58 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*" Looking for shell scripts... done >>> 2024-11-12 23:29:00 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log" >>> 2024-11-12 23:29:06 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt'' | tar -xC '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/raw-results' tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-11-12 23:29:07 cat '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/uni-results/cswrap-capture.js' >>> 2024-11-12 23:29:08 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/uni-results/clippy-capture.err >>> 2024-11-12 23:29:08 cd /tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/uni-results/shellcheck-capture.json >>> 2024-11-12 23:29:08 csgrep --mode=json '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/uni-results/unicontrol-capture.js' scan.ini: time-finished = 2024-11-12 23:29:08 scan.ini: exit-code = 0 >>> 2024-11-12 23:29:08 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/scan.ini' '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/uni-results'/* > '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/scan-results-all.js' >>> 2024-11-12 23:29:08 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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/csmockmlfrimso/bluez-5.79-1.fc42/debug/scan-results-all.js' >'/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/scan-results-all.js.tmp' >>> 2024-11-12 23:29:09 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-11-12 23:29:11 cat '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/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/csmockmlfrimso/bluez-5.79-1.fc42/scan-results.js' >>> 2024-11-12 23:29:12 cat '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/scan-results.js' - | cssort > '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/suppressed-results.js' >>> 2024-11-12 23:29:12 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/suppressed-results.js' > '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/suppressed-results.err' >>> 2024-11-12 23:29:12 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/suppressed-results.js' | cshtml - > '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/suppressed-results.html' >>> 2024-11-12 23:29:12 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/suppressed-results.js' | tee '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/debug/suppressed-results-summary.txt' >>> 2024-11-12 23:29:12 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/scan-results.js' > '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/scan-results.err' >>> 2024-11-12 23:29:12 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/scan-results.js' | cshtml - > '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/scan-results.html' >>> 2024-11-12 23:29:12 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/scan-results.js' | tee '/tmp/csmockmlfrimso/bluez-5.79-1.fc42/scan-results-summary.txt' 3 CPPCHECK_WARNING error[comparePointers] 4 CPPCHECK_WARNING error[legacyUninitvar] 3 CPPCHECK_WARNING error[uninitvar] 5 CPPCHECK_WARNING warning[uninitvar] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-allocation-size] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-deref-before-check] 24 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] 65 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-out-of-bounds] 13 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-11-12 23:29:12 csmock exit code: 0