Task #840 - stdout.log
back to task #840download
COMMAND: koji -p koji download-build --noprogress --arch=src libsemanage-3.7-1.fc41 ------------------------------------------------------------------------------- Downloading [1/1]: libsemanage-3.7-1.fc41.src.rpm COMMAND: su - csmock --session-command 'cd /tmp/tmpoj37xkiz && csmock -r fedora-41-x86_64 -t cppcheck,gcc,clang,shellcheck -o /tmp/tmpoj37xkiz/libsemanage-3.7-1.fc41.tar.xz --gcc-analyze /tmp/tmpoj37xkiz/libsemanage-3.7-1.fc41.src.rpm' ------------------------------------------------------------------------------- scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.5.3-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpoj37xkiz/libsemanage-3.7-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpoj37xkiz/libsemanage-3.7-1.fc41.src.rpm' scan.ini: host = ip-172-16-1-223.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpoj37xkiz/libsemanage-3.7-1.fc41.tar.xz scan.ini: time-created = 2024-07-03 15:53:06 scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck scan.ini: mock-config = fedora-41-x86_64 scan.ini: project-name = libsemanage-3.7-1.fc41 >>> 2024-07-03 15:53:06 "rpm -qa | sort -V > '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/rpm-list-host.txt'" >>> 2024-07-03 15:53:07 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 5.6 INFO: Mock Version: 5.6 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-07-03 15:53:09 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: audit-libs-devel x86_64 4.0.1-3.fc41 fedora 97.2 KiB bison x86_64 3.8.2-7.fc40 fedora 3.5 MiB bzip2-devel x86_64 1.0.8-18.fc40 fedora 309.8 KiB flex x86_64 2.6.4-16.fc40 fedora 805.4 KiB gcc x86_64 14.1.1-6.fc41 fedora 104.1 MiB gnupg2 x86_64 2.4.5-1.fc41 fedora 9.5 MiB libselinux-devel x86_64 3.7-1.fc41 fedora 126.4 KiB libsepol-devel x86_64 3.7-1.fc41 fedora 120.3 KiB make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB python3 x86_64 3.13.0~b3-1.fc41 fedora 31.8 KiB python3-devel x86_64 3.13.0~b3-1.fc41 fedora 1.8 MiB python3-setuptools noarch 69.2.0-6.fc41 fedora 7.3 MiB swig x86_64 4.2.1-7.fc41 fedora 6.0 MiB Installing dependencies: annobin-docs noarch 12.60-1.fc41 fedora 96.2 KiB annobin-plugin-gcc x86_64 12.60-1.fc41 fedora 976.2 KiB cpp x86_64 14.1.1-6.fc41 fedora 35.0 MiB expat x86_64 2.6.2-1.fc41 fedora 280.8 KiB gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB gcc-plugin-annobin x86_64 14.1.1-6.fc41 fedora 57.1 KiB glibc-devel x86_64 2.39.9000-26.fc41 fedora 36.8 KiB glibc-headers-x86 noarch 2.39.9000-26.fc41 fedora 2.2 MiB gnutls x86_64 3.8.5-6.fc41 fedora 3.2 MiB guile30 x86_64 3.0.9-1.fc41 fedora 52.7 MiB json-c x86_64 0.17-3.fc40 fedora 82.4 KiB kernel-headers x86_64 6.10.0-0.rc6.50.fc41 fedora 6.3 MiB libassuan x86_64 2.5.7-1.fc41 fedora 163.8 KiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libcap-ng-devel x86_64 0.8.5-2.fc41 fedora 16.8 KiB libgcrypt x86_64 1.11.0-1.fc41 fedora 1.5 MiB libgpg-error x86_64 1.50-1.fc41 fedora 889.5 KiB libksba x86_64 1.6.7-1.fc41 fedora 398.4 KiB libmpc x86_64 1.3.1-5.fc40 fedora 164.7 KiB libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 30.3 KiB m4 x86_64 1.4.19-9.fc40 fedora 588.9 KiB mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB nettle x86_64 3.10-2.fc41 fedora 793.0 KiB npth x86_64 1.7-1.fc41 fedora 49.4 KiB pcre2-devel x86_64 10.44-1.fc41 fedora 2.0 MiB pcre2-utf16 x86_64 10.44-1.fc41 fedora 590.0 KiB pcre2-utf32 x86_64 10.44-1.fc41 fedora 562.0 KiB pyproject-rpm-macros noarch 1.12.2-1.fc41 fedora 99.6 KiB python-pip-wheel noarch 24.1.1-1.fc41 fedora 1.2 MiB python-rpm-macros noarch 3.13-2.fc41 fedora 22.1 KiB python3-libs x86_64 3.13.0~b3-1.fc41 fedora 40.5 MiB python3-packaging noarch 24.1-1.fc41 fedora 422.7 KiB python3-rpm-generators noarch 14-10.fc40 fedora 81.7 KiB python3-rpm-macros noarch 3.13-2.fc41 fedora 6.4 KiB tpm2-tss x86_64 4.1.3-1.fc41 fedora 1.5 MiB tzdata noarch 2024a-8.fc41 fedora 1.7 MiB Transaction Summary: Installing: 49 packages Total size of inbound packages is 85 MiB. Need to download 6 MiB. After this operation 290 MiB will be used (install 290 MiB, remove 0 B). [ 1/49] bison-0:3.8.2-7.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/49] flex-0:2.6.4-16.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/49] gcc-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/49] make-1:4.4.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/49] python3-setuptools-0:69.2.0-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/49] swig-0:4.2.1-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/49] audit-libs-devel-0:4.0.1-3.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/49] bzip2-devel-0:1.0.8-18.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/49] libselinux-devel-0:3.7-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/49] libsepol-devel-0:3.7-1.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/49] python3-0:3.13.0~b3-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/49] python3-devel-0:3.13.0~b3-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/49] m4-0:1.4.19-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/49] cpp-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/49] libmpc-0:1.3.1-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/49] guile30-0:3.0.9-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/49] python3-libs-0:3.13.0~b3-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/49] gc-0:8.2.2-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/49] expat-0:2.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/49] libb2-0:0.98.1-11.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/49] mpdecimal-0:2.5.1-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [22/49] python-pip-wheel-0:24.1.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [23/49] tzdata-0:2024a-8.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [24/49] annobin-plugin-gcc-0:12.60-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [25/49] gcc-plugin-annobin-0:14.1.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [26/49] annobin-docs-0:12.60-1.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [27/49] pyproject-rpm-macros-0:1.12.2-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [28/49] python-rpm-macros-0:3.13-2.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [29/49] python3-rpm-generators-0:14-10. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [30/49] python3-rpm-macros-0:3.13-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [31/49] python3-packaging-0:24.1-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [32/49] pcre2-devel-0:10.44-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [33/49] pcre2-utf16-0:10.44-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [34/49] pcre2-utf32-0:10.44-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [35/49] glibc-devel-0:2.39.9000-26.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [36/49] glibc-headers-x86-0:2.39.9000-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [37/49] libxcrypt-devel-0:4.4.36-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [38/49] kernel-headers-0:6.10.0-0.rc6.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [39/49] libcap-ng-devel-0:0.8.5-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [40/49] libassuan-0:2.5.7-1.fc41.x86_64 100% | 1.6 MiB/s | 66.8 KiB | 00m00s [41/49] gnutls-0:3.8.5-6.fc41.x86_64 100% | 15.2 MiB/s | 1.1 MiB | 00m00s [42/49] libgcrypt-0:1.11.0-1.fc41.x86_6 100% | 14.5 MiB/s | 578.6 KiB | 00m00s [43/49] gnupg2-0:2.4.5-1.fc41.x86_64 100% | 27.0 MiB/s | 2.7 MiB | 00m00s [44/49] libgpg-error-0:1.50-1.fc41.x86_ 100% | 8.0 MiB/s | 237.3 KiB | 00m00s [45/49] libksba-0:1.6.7-1.fc41.x86_64 100% | 6.8 MiB/s | 159.4 KiB | 00m00s [46/49] npth-0:1.7-1.fc41.x86_64 100% | 3.0 MiB/s | 24.9 KiB | 00m00s [47/49] tpm2-tss-0:4.1.3-1.fc41.x86_64 100% | 36.6 MiB/s | 411.8 KiB | 00m00s [48/49] nettle-0:3.10-2.fc41.x86_64 100% | 32.2 MiB/s | 428.4 KiB | 00m00s [49/49] json-c-0:0.17-3.fc40.x86_64 100% | 3.1 MiB/s | 44.0 KiB | 00m00s -------------------------------------------------------------------------------- [49/49] Total 100% | 39.2 MiB/s | 5.7 MiB | 00m00s Running transaction [ 1/51] Verify package files 100% | 168.0 B/s | 49.0 B | 00m00s [ 2/51] Prepare transaction 100% | 907.0 B/s | 49.0 B | 00m00s [ 3/51] Installing libgpg-error-0:1.50- 100% | 48.6 MiB/s | 895.4 KiB | 00m00s [ 4/51] Installing kernel-headers-0:6.1 100% | 102.4 MiB/s | 6.4 MiB | 00m00s [ 5/51] Installing python-rpm-macros-0: 100% | 7.4 MiB/s | 22.8 KiB | 00m00s [ 6/51] Installing python3-rpm-macros-0 100% | 2.2 MiB/s | 6.7 KiB | 00m00s [ 7/51] Installing libmpc-0:1.3.1-5.fc4 100% | 32.5 MiB/s | 166.2 KiB | 00m00s [ 8/51] Installing m4-0:1.4.19-9.fc40.x 100% | 64.6 MiB/s | 595.2 KiB | 00m00s [ 9/51] Installing cpp-0:14.1.1-6.fc41. 100% | 304.3 MiB/s | 35.0 MiB | 00m00s [10/51] Installing pyproject-rpm-macros 100% | 19.8 MiB/s | 101.6 KiB | 00m00s [11/51] Installing libcap-ng-devel-0:0. 100% | 5.1 MiB/s | 20.8 KiB | 00m00s [12/51] Installing libassuan-0:2.5.7-1. 100% | 32.3 MiB/s | 165.6 KiB | 00m00s [13/51] Installing libgcrypt-0:1.11.0-1 100% | 171.4 MiB/s | 1.5 MiB | 00m00s [14/51] Installing libksba-0:1.6.7-1.fc 100% | 55.9 MiB/s | 401.0 KiB | 00m00s [15/51] Installing glibc-headers-x86-0: 100% | 78.7 MiB/s | 2.3 MiB | 00m00s [16/51] Installing libxcrypt-devel-0:4. 100% | 6.4 MiB/s | 32.6 KiB | 00m00s [17/51] Installing glibc-devel-0:2.39.9 100% | 6.6 MiB/s | 40.5 KiB | 00m00s [18/51] Installing pcre2-utf32-0:10.44- 100% | 91.6 MiB/s | 562.8 KiB | 00m00s [19/51] Installing pcre2-utf16-0:10.44- 100% | 115.4 MiB/s | 590.9 KiB | 00m00s [20/51] Installing pcre2-devel-0:10.44- 100% | 117.4 MiB/s | 2.0 MiB | 00m00s [21/51] Installing annobin-docs-0:12.60 100% | 13.6 MiB/s | 97.4 KiB | 00m00s [22/51] Installing tzdata-0:2024a-8.fc4 100% | 29.9 MiB/s | 1.9 MiB | 00m00s [23/51] Installing python-pip-wheel-0:2 100% | 249.9 MiB/s | 1.2 MiB | 00m00s [24/51] Installing mpdecimal-0:2.5.1-9. 100% | 49.3 MiB/s | 202.0 KiB | 00m00s [25/51] Installing libb2-0:0.98.1-11.fc 100% | 10.6 MiB/s | 43.3 KiB | 00m00s [26/51] Installing expat-0:2.6.2-1.fc41 100% | 25.1 MiB/s | 282.9 KiB | 00m00s [27/51] Installing python3-libs-0:3.13. 100% | 205.2 MiB/s | 40.8 MiB | 00m00s [28/51] Installing python3-0:3.13.0~b3- 100% | 6.6 MiB/s | 33.6 KiB | 00m00s [29/51] Installing python3-packaging-0: 100% | 60.5 MiB/s | 433.5 KiB | 00m00s [30/51] Installing python3-rpm-generato 100% | 20.2 MiB/s | 82.9 KiB | 00m00s [31/51] Installing gc-0:8.2.2-6.fc40.x8 100% | 36.4 MiB/s | 261.2 KiB | 00m00s [32/51] Installing guile30-0:3.0.9-1.fc 100% | 320.0 MiB/s | 52.8 MiB | 00m00s [33/51] Installing make-1:4.4.1-6.fc40. 100% | 58.1 MiB/s | 1.8 MiB | 00m00s [34/51] Installing gcc-0:14.1.1-6.fc41. 100% | 322.5 MiB/s | 104.2 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [35/51] Installing json-c-0:0.17-3.fc40 100% | 2.1 MiB/s | 83.6 KiB | 00m00s >>> Running pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64 >>> Stop pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64 [36/51] Installing tpm2-tss-0:4.1.3-1.f 100% | 119.5 MiB/s | 1.6 MiB | 00m00s [37/51] Installing nettle-0:3.10-2.fc41 100% | 129.6 MiB/s | 796.1 KiB | 00m00s [38/51] Installing gnutls-0:3.8.5-6.fc4 100% | 200.4 MiB/s | 3.2 MiB | 00m00s [39/51] Installing npth-0:1.7-1.fc41.x8 100% | 12.3 MiB/s | 50.6 KiB | 00m00s [40/51] Installing libsepol-devel-0:3.7 100% | 17.8 MiB/s | 127.8 KiB | 00m00s [41/51] Installing libselinux-devel-0:3 100% | 11.2 MiB/s | 161.2 KiB | 00m00s [42/51] Installing gnupg2-0:2.4.5-1.fc4 100% | 226.6 MiB/s | 9.5 MiB | 00m00s [43/51] Installing annobin-plugin-gcc-0 100% | 63.7 MiB/s | 977.9 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [44/51] Installing gcc-plugin-annobin-0 100% | 3.6 MiB/s | 58.6 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [45/51] Installing python3-devel-0:3.13 100% | 78.5 MiB/s | 1.8 MiB | 00m00s [46/51] Installing python3-setuptools-0 100% | 137.9 MiB/s | 7.4 MiB | 00m00s [47/51] Installing audit-libs-devel-0:4 100% | 11.2 MiB/s | 114.3 KiB | 00m00s [48/51] Installing bison-0:3.8.2-7.fc40 100% | 159.4 MiB/s | 3.5 MiB | 00m00s [49/51] Installing flex-0:2.6.4-16.fc40 100% | 79.2 MiB/s | 811.4 KiB | 00m00s [50/51] Installing bzip2-devel-0:1.0.8- 100% | 50.6 MiB/s | 310.7 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [51/51] Installing swig-0:4.2.1-7.fc41. 100% | 1.7 MiB/s | 6.1 MiB | 00m04s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> 2024-07-03 15:53:17 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.0 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-1.fc41 fedora 33.9 MiB clang x86_64 18.1.7-1.fc41 fedora 587.7 KiB cppcheck x86_64 2.14.2-1.fc41 fedora 10.1 MiB Installing dependencies: clang-libs x86_64 18.1.7-1.fc41 fedora 107.8 MiB clang-resource-filesystem noarch 18.1.7-1.fc41 fedora 522.0 B gcc-c++ x86_64 14.1.1-6.fc41 fedora 38.1 MiB libedit x86_64 3.1-51.20240517cvs.fc41 fedora 243.9 KiB libstdc++-devel x86_64 14.1.1-6.fc41 fedora 15.4 MiB llvm-libs x86_64 18.1.7-1.fc41 fedora 113.5 MiB pcre x86_64 8.45-1.fc40.6 fedora 541.8 KiB tinyxml2 x86_64 9.0.0-4.fc40 fedora 103.8 KiB Transaction Summary: Installing: 11 packages Total size of inbound packages is 76 MiB. Need to download 0 B. After this operation 320 MiB will be used (install 320 MiB, remove 0 B). [ 1/11] cppcheck-0:2.14.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/11] ShellCheck-0:0.10.0-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/11] clang-0:18.1.7-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/11] pcre-0:8.45-1.fc40.6.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/11] tinyxml2-0:9.0.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/11] clang-libs-0:18.1.7-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/11] llvm-libs-0:18.1.7-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/11] clang-resource-filesystem-0:18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/11] libedit-0:3.1-51.20240517cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/11] gcc-c++-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/11] libstdc++-devel-0:14.1.1-6.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/13] Verify package files 100% | 44.0 B/s | 11.0 B | 00m00s [ 2/13] Prepare transaction 100% | 379.0 B/s | 11.0 B | 00m00s [ 3/13] Installing libstdc++-devel-0:14 100% | 210.1 MiB/s | 15.6 MiB | 00m00s [ 4/13] Installing gcc-c++-0:14.1.1-6.f 100% | 302.8 MiB/s | 38.2 MiB | 00m00s [ 5/13] Installing libedit-0:3.1-51.202 100% | 60.0 MiB/s | 245.6 KiB | 00m00s [ 6/13] Installing llvm-libs-0:18.1.7-1 100% | 361.3 MiB/s | 113.5 MiB | 00m00s [ 7/13] Installing clang-resource-files 100% | 522.1 KiB/s | 1.6 KiB | 00m00s [ 8/13] Installing clang-libs-0:18.1.7- 100% | 399.4 MiB/s | 107.8 MiB | 00m00s [ 9/13] Installing tinyxml2-0:9.0.0-4.f 100% | 25.6 MiB/s | 104.9 KiB | 00m00s [10/13] Installing pcre-0:8.45-1.fc40.6 100% | 106.3 MiB/s | 544.1 KiB | 00m00s [11/13] Installing cppcheck-0:2.14.2-1. 100% | 296.5 MiB/s | 10.1 MiB | 00m00s [12/13] Installing clang-0:18.1.7-1.fc4 100% | 64.1 MiB/s | 590.4 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [13/13] Installing ShellCheck-0:0.10.0- 100% | 6.8 MiB/s | 33.9 MiB | 00m05s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 15:53:25 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 15:53:26 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocky8tx2z_o/rpm-list-mock-provides.txt" >>> 2024-07-03 15:53:27 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41.src.rpm" "/builddir/libsemanage-3.7-1.fc41.src.rpm" >>> 2024-07-03 15:53:28 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-07-03 15:53:29 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/libsemanage-3.7-1.fc41.src.rpm'\"" Updating / installing... libsemanage-3.7-1.fc41 ######################################## >>> 2024-07-03 15:53:30 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/libsemanage.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/libsemanage-3.7-1.fc41.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1719446400 Wrote: /builddir/build/SRPMS/libsemanage-3.7-1.fc41.src.rpm renamed 'libsemanage-3.7-1.fc41.src.rpm' -> '/builddir/libsemanage-3.7-1.fc41.src.rpm' >>> 2024-07-03 15:53:32 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/libsemanage-3.7-1.fc41.src.rpm" "/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41.src.rpm" >>> 2024-07-03 15:53:33 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.3 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "audit-libs-devel-4.0.1-3.fc41.x86_64" is already installed. Package "bison-3.8.2-7.fc40.x86_64" is already installed. Package "bzip2-devel-1.0.8-18.fc40.x86_64" is already installed. Package "flex-2.6.4-16.fc40.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "gnupg2-2.4.5-1.fc41.x86_64" is already installed. Package "libselinux-devel-3.7-1.fc41.x86_64" is already installed. Package "libsepol-devel-3.7-1.fc41.x86_64" is already installed. Package "make-1:4.4.1-6.fc40.x86_64" is already installed. Package "python3-3.13.0~b3-1.fc41.x86_64" is already installed. Package "python3-devel-3.13.0~b3-1.fc41.x86_64" is already installed. Package "python3-setuptools-69.2.0-6.fc41.noarch" is already installed. Package "swig-4.2.1-7.fc41.x86_64" is already installed. Nothing to do. >>> 2024-07-03 15:53:34 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "clang-18.1.7-1.fc41.x86_64" is already installed. Package "cppcheck-2.14.2-1.fc41.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "ShellCheck-0.10.0-1.fc41.x86_64" is already installed. Nothing to do. >>> 2024-07-03 15:53:36 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 15:53:37 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocky8tx2z_o/rpm-list-mock-provides.txt" >>> 2024-07-03 15:53:38 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: fedora 100% | 1.1 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.4.0-1.fc41 fedora 3.6 MiB Installing dependencies: boost-atomic x86_64 1.83.0-7.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-7.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-7.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-7.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 will be used (install 4 MiB, remove 0 B). [1/5] csdiff-0:3.4.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] boost-filesystem-0:1.83.0-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] boost-program-options-0:1.83.0-7. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] boost-atomic-0:1.83.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] boost-system-0:1.83.0-7.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% | 238.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 2.4 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 5.4 MiB/s | 22.0 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 24.2 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 53.5 MiB/s | 273.8 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [7/7] Installing csdiff-0:3.4.0-1.fc41. 100% | 13.9 MiB/s | 3.7 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 15:53:40 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 15:53:42 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocky8tx2z_o/rpm-list-mock-provides.txt" >>> 2024-07-03 15:53:43 "tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/csclng' '/usr/lib64/csclng' '/usr/bin/csclng++' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41.src.rpm' | '/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'" tar: Removing leading `/' from member names scan.ini: analyzer-version-clang = 18.1.7 scan.ini: analyzer-version-cppcheck = 2.14.2 scan.ini: analyzer-version-gcc = 14.1.1 >>> 2024-07-03 15:53:45 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" scan.ini: analyzer-version-gcc-analyzer = 14.1.1 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-07-03 15:53:47 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41.src.rpm'" Updating / installing... libsemanage-3.7-1.fc41 ######################################## >>> 2024-07-03 15:53:48 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-07-03 15:53:49 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done" RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh 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 + sed -e 's|> */dev/stderr|>\&2|' -i /usr/lib/rpm/macros.d/macros.pyproject RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh + sed -e 's|print(.*PYTHON_EXTRAS_NOT_FOUND_ERROR.*) *$|continue|' -i /usr/lib/rpm/pythondistdeps.py RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh >>> 2024-07-03 15:53:50 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/libsemanage.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libsemanage.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.6 INFO: Mock Version: 5.6 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/libsemanage.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/libsemanage.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1719446400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.YNDIar + umask 022 + cd /builddir/build/BUILD/libsemanage-3.7-build + test -d /builddir/build/BUILD/libsemanage-3.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libsemanage-3.7-build + /usr/bin/rm -rf /builddir/build/BUILD/libsemanage-3.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/libsemanage-3.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MDv8u9 + umask 022 + cd /builddir/build/BUILD/libsemanage-3.7-build + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/bachradsusi.gpg --signature=/builddir/build/SOURCES/libsemanage-3.7.tar.gz.asc --data=/builddir/build/SOURCES/libsemanage-3.7.tar.gz gpgv: Signature made Wed Jun 26 15:38:09 2024 UTC gpgv: using RSA key 1BE2C0FF08949623102FD2564695881C254508D1 gpgv: Good signature from "Petr Lautrbach <lautrbach@redhat.com>" + cd /builddir/build/BUILD/libsemanage-3.7-build + rm -rf libsemanage-3.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libsemanage-3.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libsemanage-3.7 + /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/libsemanage.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-07-03 15:53:52 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-07-03 15:53:53 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libsemanage.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libsemanage.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.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libsemanage.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libsemanage.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] setting SOURCE_DATE_EPOCH=1719446400 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WjhFGv + umask 022 + cd /builddir/build/BUILD/libsemanage-3.7-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 libsemanage-3.7 + 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 + 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 -fno-semantic-interposition' + make clean make -C src clean make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' rm -f libsemanage.pc boolean_record.o booleans_active.o booleans_activedb.o booleans_file.o booleans_local.o booleans_policy.o booleans_policydb.o compressed_file.o context_record.o database.o database_activedb.o database_file.o database_join.o database_llist.o database_policydb.o debug.o direct_api.o fcontext_record.o fcontexts_file.o fcontexts_local.o fcontexts_policy.o genhomedircon.o handle.o ibendport_record.o ibendports_file.o ibendports_local.o ibendports_policy.o ibendports_policydb.o ibpkey_record.o ibpkeys_file.o ibpkeys_local.o ibpkeys_policy.o ibpkeys_policydb.o iface_record.o interfaces_file.o interfaces_local.o interfaces_policy.o interfaces_policydb.o modules.o node_record.o nodes_file.o nodes_local.o nodes_policy.o nodes_policydb.o parse_utils.o policy_components.o port_record.o ports_file.o ports_local.o ports_policy.o ports_policydb.o semanage_store.o seuser_record.o seusers_file.o seusers_local.o seusers_policy.o sha256.o user_base_record.o user_extra_record.o user_record.o users_base_file.o users_base_policydb.o users_extra_file.o users_join.o users_local.o users_policy.o utilities.o conf-scan.o conf-parse.o boolean_record.lo booleans_active.lo booleans_activedb.lo booleans_file.lo booleans_local.lo booleans_policy.lo booleans_policydb.lo compressed_file.lo context_record.lo database.lo database_activedb.lo database_file.lo database_join.lo database_llist.lo database_policydb.lo debug.lo direct_api.lo fcontext_record.lo fcontexts_file.lo fcontexts_local.lo fcontexts_policy.lo genhomedircon.lo handle.lo ibendport_record.lo ibendports_file.lo ibendports_local.lo ibendports_policy.lo ibendports_policydb.lo ibpkey_record.lo ibpkeys_file.lo ibpkeys_local.lo ibpkeys_policy.lo ibpkeys_policydb.lo iface_record.lo interfaces_file.lo interfaces_local.lo interfaces_policy.lo interfaces_policydb.lo modules.lo node_record.lo nodes_file.lo nodes_local.lo nodes_policy.lo nodes_policydb.lo parse_utils.lo policy_components.lo port_record.lo ports_file.lo ports_local.lo ports_policy.lo ports_policydb.lo semanage_store.lo seuser_record.lo seusers_file.lo seusers_local.lo seusers_policy.lo sha256.lo user_base_record.lo user_extra_record.lo user_record.lo users_base_file.lo users_base_policydb.lo users_extra_file.lo users_join.lo users_local.lo users_policy.lo utilities.lo conf-scan.lo conf-parse.lo libsemanage.a libsemanage.so.2 python-3.13semanageswig_wrap.lo python-3.13_semanage.so ruby_semanage.so libsemanage.so conf-parse.c conf-parse.h conf-scan.c *.o *.lo *~ make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make -C tests clean make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/tests' rm -rf libsemanage-tests.o test_bool.o test_fcontext.o test_handle.o test_ibendport.o test_iface.o test_node.o test_other.o test_port.o test_semanage_store.o test_user.o test_utilities.o utilities.o test_bool.policy test_fcontext.policy test_handle.policy test_ibendport.policy test_iface.policy test_node.policy test_port.policy test_user.policy libsemanage-tests make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/tests' + make swigify make -C src swigify make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' swig -Wall -python -o semanageswig_wrap.c -outdir ./ semanageswig_python.i make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' + /usr/bin/make -O -j8 V=1 VERBOSE=1 LIBDIR=/usr/lib64 SHLIBDIR=lib64 all /usr/bin/make -C src all make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o booleans_active.o booleans_active.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o booleans_policy.o booleans_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o booleans_local.o booleans_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o booleans_policydb.o booleans_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o booleans_file.o booleans_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o boolean_record.o boolean_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o context_record.o context_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o compressed_file.o compressed_file.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/compressed_file.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o database_file.o database_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o database.o database.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o database_activedb.o database_activedb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o booleans_activedb.o booleans_activedb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o database_policydb.o database_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o debug.o debug.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o fcontexts_file.o fcontexts_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o fcontexts_local.o fcontexts_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o database_llist.o database_llist.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o fcontexts_policy.o fcontexts_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ibendport_record.o ibendport_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o fcontext_record.o fcontext_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ibendports_file.o ibendports_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ibendports_policy.o ibendports_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ibendports_policydb.o ibendports_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o handle.o handle.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ibpkey_record.o ibpkey_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ibpkeys_file.o ibpkeys_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ibpkeys_policy.o ibpkeys_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ibpkeys_policydb.o ibpkeys_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ibpkeys_local.o ibpkeys_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ibendports_local.o ibendports_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o iface_record.o iface_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o interfaces_local.o interfaces_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o interfaces_policy.o interfaces_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o interfaces_file.o interfaces_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o interfaces_policydb.o interfaces_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o node_record.o node_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o nodes_policy.o nodes_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o nodes_local.o nodes_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o nodes_file.o nodes_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o nodes_policydb.o nodes_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o port_record.o port_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ports_local.o ports_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ports_file.o ports_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ports_policy.o ports_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o policy_components.o policy_components.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o ports_policydb.o ports_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o database_join.o database_join.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o seusers_file.o seusers_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o seusers_policy.o seusers_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o seuser_record.o seuser_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o user_base_record.o user_base_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o user_extra_record.o user_extra_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o sha256.o sha256.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o seusers_local.o seusers_local.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/seusers_local.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o parse_utils.o parse_utils.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o modules.o modules.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o users_base_policydb.o users_base_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o users_base_file.o users_base_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o users_extra_file.o users_extra_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o users_join.o users_join.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o user_record.o user_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o users_policy.o users_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' bison -d -o conf-parse.c conf-parse.y conf-parse.y:55.1-24: warning: deprecated directive: ‘%name-prefix "semanage_"’, use ‘%define api.prefix {semanage_}’ [-Wdeprecated] 55 | %name-prefix "semanage_" | ^~~~~~~~~~~~~~~~~~~~~~~~ | %define api.prefix {semanage_} conf-parse.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o boolean_record.lo boolean_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o users_local.o users_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_active.lo booleans_active.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_local.lo booleans_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_policy.lo booleans_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_file.lo booleans_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_activedb.lo booleans_activedb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_policydb.lo booleans_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o utilities.o utilities.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/utilities.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o context_record.lo context_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_activedb.lo database_activedb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_file.lo database_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o compressed_file.lo compressed_file.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/compressed_file.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o debug.lo debug.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database.lo database.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_llist.lo database_llist.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_policydb.lo database_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontext_record.lo fcontext_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_file.lo fcontexts_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_local.lo fcontexts_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_policy.lo fcontexts_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendport_record.lo ibendport_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_file.lo ibendports_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o handle.lo handle.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_policy.lo ibendports_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_local.lo ibendports_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_policydb.lo ibendports_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkey_record.lo ibpkey_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_file.lo ibpkeys_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_policy.lo ibpkeys_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_join.lo database_join.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o genhomedircon.o genhomedircon.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/genhomedircon.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/genhomedircon.c:358:4: warning: Value stored to 'minuid_set' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/genhomedircon.c:1349:7: warning: Potential memory leak [unix.Malloc] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_local.lo ibpkeys_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_policydb.lo ibpkeys_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o iface_record.lo iface_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_local.lo interfaces_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_policy.lo interfaces_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_file.lo interfaces_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_policydb.lo interfaces_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_local.lo nodes_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o node_record.lo node_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_file.lo nodes_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_policy.lo nodes_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_policydb.lo nodes_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o port_record.lo port_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o policy_components.lo policy_components.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_file.lo ports_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_policy.lo ports_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_local.lo ports_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_policydb.lo ports_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seuser_record.lo seuser_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_file.lo seusers_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o parse_utils.lo parse_utils.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_policy.lo seusers_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o modules.lo modules.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_base_record.lo user_base_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_local.lo seusers_local.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/seusers_local.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o sha256.lo sha256.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_extra_record.lo user_extra_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_base_policydb.lo users_base_policydb.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_base_file.lo users_base_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_record.lo user_record.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_join.lo users_join.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_extra_file.lo users_extra_file.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_local.lo users_local.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_policy.lo users_policy.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' sed -e 's/@VERSION@/3.7/; s:@prefix@:/usr:; s:@libdir@:/usr/lib64:; s:@includedir@:/usr/include:' < libsemanage.pc.in > libsemanage.pc make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' flex -s -o conf-scan.c conf-scan.l make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o utilities.lo utilities.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/utilities.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o genhomedircon.lo genhomedircon.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/genhomedircon.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/genhomedircon.c:358:4: warning: Value stored to 'minuid_set' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/genhomedircon.c:1349:7: warning: Potential memory leak [unix.Malloc] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o conf-parse.lo conf-parse.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y: In function ‘semanage_conf_init’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:378:41: warning: leak of ‘strdup("/sbin/load_policy")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:12: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:378:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:378:43: note: (10) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:378:41: note: (11) ‘strdup("/sbin/load_policy")’ leaks here; was allocated at (10) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:380:41: warning: leak of ‘strdup("/usr/sbin/load_policy")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:380:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:380:43: note: (10) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:380:41: note: (11) ‘strdup("/usr/sbin/load_policy")’ leaks here; was allocated at (10) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:392:38: warning: leak of ‘strdup("/sbin/setfiles")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:382:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:385:33: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:387:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:12: note: (12) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:392:21: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:392:40: note: (14) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:392:38: note: (15) ‘strdup("/sbin/setfiles")’ leaks here; was allocated at (14) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:394:38: warning: leak of ‘strdup("/usr/sbin/setfiles")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:382:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:385:33: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:387:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:394:21: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:394:40: note: (14) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:394:38: note: (15) ‘strdup("/usr/sbin/setfiles")’ leaks here; was allocated at (14) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:406:48: warning: leak of ‘strdup("/sbin/sefcontext_compile")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:382:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:385:33: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:387:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:396:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:397:37: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:396:44: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:402:14: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:401:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:405:13: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:405:12: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:406:21: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:406:50: note: (20) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:406:48: note: (21) ‘strdup("/sbin/sefcontext_compile")’ leaks here; was allocated at (20) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:408:48: warning: leak of ‘strdup("/usr/sbin/sefcontext_compile")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:382:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:385:33: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:387:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:396:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:397:37: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:396:44: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:402:14: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:401:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:405:13: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:405:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:408:21: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:408:50: note: (20) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:408:48: note: (21) ‘strdup("/usr/sbin/sefcontext_compile")’ leaks here; was allocated at (20) <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o conf-parse.o conf-parse.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y: In function ‘semanage_conf_init’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:378:41: warning: leak of ‘strdup("/sbin/load_policy")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:12: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:378:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:378:43: note: (10) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:378:41: note: (11) ‘strdup("/sbin/load_policy")’ leaks here; was allocated at (10) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:380:41: warning: leak of ‘strdup("/usr/sbin/load_policy")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:380:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:380:43: note: (10) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:380:41: note: (11) ‘strdup("/usr/sbin/load_policy")’ leaks here; was allocated at (10) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:392:38: warning: leak of ‘strdup("/sbin/setfiles")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:382:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:385:33: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:387:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:12: note: (12) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:392:21: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:392:40: note: (14) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:392:38: note: (15) ‘strdup("/sbin/setfiles")’ leaks here; was allocated at (14) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:394:38: warning: leak of ‘strdup("/usr/sbin/setfiles")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:382:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:385:33: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:387:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:394:21: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:394:40: note: (14) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:394:38: note: (15) ‘strdup("/usr/sbin/setfiles")’ leaks here; was allocated at (14) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:406:48: warning: leak of ‘strdup("/sbin/sefcontext_compile")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:382:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:385:33: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:387:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:396:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:397:37: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:396:44: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:402:14: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:401:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:405:13: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:405:12: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:406:21: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:406:50: note: (20) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:406:48: note: (21) ‘strdup("/sbin/sefcontext_compile")’ leaks here; was allocated at (20) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:408:48: warning: leak of ‘strdup("/usr/sbin/sefcontext_compile")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:424:18: note: (1) entry to ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:426:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:429:13: note: (4) calling ‘semanage_conf_init’ from ‘semanage_conf_parse’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:350:12: note: (5) entry to ‘semanage_conf_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:372:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:377:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:382:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:385:33: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:387:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:391:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:396:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:397:37: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:396:44: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:402:14: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:401:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:405:13: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:405:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:408:21: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:408:50: note: (20) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-parse.y:408:48: note: (21) ‘strdup("/usr/sbin/sefcontext_compile")’ leaks here; was allocated at (20) <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o direct_api.o direct_api.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'data_read' nulled but not freed upon failure <--[cppcheck] In file included from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:53: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c: In function ‘read_from_pipe_to_data’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:12: warning: leak of ‘data_read’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] In file included from /usr/include/sepol/errcodes.h:6, <--[gcc] from /usr/include/sepol/policydb/hashtab.h:16, <--[gcc] from /usr/include/sepol/policydb/symtab.h:16, <--[gcc] from /usr/include/sepol/policydb/policydb.h:60, <--[gcc] from /usr/include/sepol/cil/cil.h:33, <--[gcc] from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:24: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘false’ branch (when ‘pid != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:701:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:703:20: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:708:26: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:710:20: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:715:26: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:717:20: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:722:26: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:723:20: note: (47) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:727:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:729:20: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (51) calling ‘read_from_pipe_to_data’ from ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:582:12: note: (52) entry to ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:592:21: note: (53) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (54) assuming ‘data_read’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (55) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (56) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:598:90: note: (57) following ‘true’ branch (when ‘read_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:599:31: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:600:20: note: (59) following ‘true’ branch (when ‘max_len == data_read_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:601:33: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602:37: note: (61) when ‘realloc’ succeeds, without moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:603:28: note: (62) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (63) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:598:90: note: (64) following ‘true’ branch (when ‘read_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:599:31: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:600:20: note: (66) following ‘true’ branch (when ‘max_len == data_read_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:601:33: note: (67) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602:37: note: (68) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:603:28: note: (69) following ‘true’ branch (when ‘data_read’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:12: note: (71) ‘data_read’ leaks here; was allocated at (53) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:43:17: warning: leak of ‘data_read’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘false’ branch (when ‘pid != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:701:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:703:20: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:708:26: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:710:20: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:715:26: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:717:20: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:722:26: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:723:20: note: (47) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:727:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:729:20: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (51) calling ‘read_from_pipe_to_data’ from ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:582:12: note: (52) entry to ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (53) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (54) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (55) returning to ‘semanage_pipe_data’ from ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:736:20: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:739:26: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:741:20: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:747:26: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:747:26: note: (60) calling ‘read_from_pipe_to_data’ from ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:582:12: note: (61) entry to ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:592:21: note: (62) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (63) assuming ‘data_read’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (64) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (65) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:598:90: note: (66) following ‘true’ branch (when ‘read_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:599:31: note: (67) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:600:20: note: (68) following ‘true’ branch (when ‘max_len == data_read_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:601:33: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602:37: note: (70) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:603:28: note: (71) following ‘true’ branch (when ‘data_read’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:12: note: (73) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:39:41: note: (74) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:43:17: note: (75) ‘data_read’ leaks here; was allocated at (62) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:43:17: warning: leak of ‘data_read’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘false’ branch (when ‘pid != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:701:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:703:20: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:708:26: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:710:20: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:715:26: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:717:20: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:722:26: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:723:20: note: (47) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:727:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:729:20: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (51) calling ‘read_from_pipe_to_data’ from ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:582:12: note: (52) entry to ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (53) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (54) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (55) returning to ‘semanage_pipe_data’ from ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:736:20: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:739:26: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:741:20: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:747:26: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:747:26: note: (60) calling ‘read_from_pipe_to_data’ from ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:582:12: note: (61) entry to ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:592:21: note: (62) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (63) assuming ‘data_read’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (64) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (65) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:598:90: note: (66) following ‘true’ branch (when ‘read_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:599:31: note: (67) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:600:20: note: (68) following ‘true’ branch (when ‘max_len == data_read_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:601:33: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602:37: note: (70) when ‘realloc’ succeeds, without moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:603:28: note: (71) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (72) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:598:90: note: (73) following ‘true’ branch (when ‘read_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:599:31: note: (74) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:600:20: note: (75) following ‘true’ branch (when ‘max_len == data_read_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:601:33: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602:37: note: (77) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:603:28: note: (78) following ‘true’ branch (when ‘data_read’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (79) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:12: note: (80) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:39:41: note: (81) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:43:17: note: (82) ‘data_read’ leaks here; was allocated at (62) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c: In function ‘semanage_pipe_data’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:786:17: warning: double ‘close’ of file descriptor ‘output_fd[0]’ [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (38) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (40) following ‘true’ branch (when ‘pid == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (42) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (44) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:674:26: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:675:20: note: (46) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:680:26: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:681:20: note: (48) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:685:26: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:685:26: note: (50) first ‘close’ here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:686:20: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:687:25: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (57) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:786:17: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:786:17: note: (59) second ‘close’ here; first ‘close’ was at (50) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:801:17: warning: double ‘close’ of file descriptor ‘input_fd[1]’ [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (29) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (30) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (38) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (40) following ‘true’ branch (when ‘pid == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (42) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (44) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:674:26: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:675:20: note: (46) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:680:26: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:680:26: note: (48) first ‘close’ here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:681:20: note: (49) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:682:25: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (65) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:801:17: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:801:17: note: (67) second ‘close’ here; first ‘close’ was at (48) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘input_fd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (29) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (30) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:649:17: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (51) ‘input_fd[0]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘input_fd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (29) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (30) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:649:17: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (51) ‘input_fd[1]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘output_fd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:654:17: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (48) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (52) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (54) ‘output_fd[1]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘output_fd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:654:17: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (48) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (52) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (54) ‘output_fd[0]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘err_fd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (48) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (52) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (54) ‘err_fd[0]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘err_fd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (48) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (52) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (54) ‘err_fd[1]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘retval’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘true’ branch (when ‘pid == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (41) opened here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (42) assuming ‘retval’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (43) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (45) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:671:25: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (63) ‘retval’ leaks here; was opened at (41) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘retval’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘true’ branch (when ‘pid == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (41) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (43) opened here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (44) assuming ‘retval’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (45) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:674:26: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:675:20: note: (47) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:676:25: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (65) ‘retval’ leaks here; was opened at (43) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘retval’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘true’ branch (when ‘pid == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (41) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (43) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:674:26: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:674:26: note: (45) opened here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:675:20: note: (46) assuming ‘retval’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:675:20: note: (47) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:680:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (63) ‘retval’ leaks here; was opened at (45) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:2635:4: warning: Value stored to 'modules_len' is never read [deadcode.DeadStores] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o conf-scan.lo conf-scan.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o conf-scan.o conf-scan.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1919: warning: nullPointer(CWE-476): Possible null pointer dereference: b <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1920: warning: nullPointer(CWE-476): Possible null pointer dereference: b <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘yy_get_next_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1594:18: warning: leak of ‘*b.yy_ch_buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1527:12: note: (1) entry to ‘yy_get_next_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1534:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1538:31: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1538:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1560:46: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1565:5: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1574:49: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1576:23: note: (8) following ‘true’ branch (when ‘num_to_read <= 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1580:41: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:30:19: note: (10) inlined call to ‘semanage_realloc’ from ‘yy_get_next_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1596:41: note: in expansion of macro ‘yyrealloc’ <--[gcc] In function ‘semanage_realloc’, inlined from ‘yy_get_next_buffer’ at conf-scan.c:1596:6: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2352:16: note: (11) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2352:16: note: (12) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘yy_get_next_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1603:7: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1607:19: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1576:23: note: (15) following ‘true’ branch (when ‘num_to_read <= 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1580:41: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1585:7: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1587:49: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:30:19: note: (19) inlined call to ‘semanage_realloc’ from ‘yy_get_next_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1596:41: note: in expansion of macro ‘yyrealloc’ <--[gcc] In function ‘semanage_realloc’, inlined from ‘yy_get_next_buffer’ at conf-scan.c:1596:6: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2352:16: note: (20) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘yy_get_next_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1594:18: note: (21) ‘*b.yy_ch_buf’ leaks here; was allocated at (11) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘semanage__create_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1879:12: warning: leak of ‘malloc(64)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:8:26: note: (1) entry to ‘semanage__create_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1865:21: note: in expansion of macro ‘yy_create_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:29:17: note: (2) inlined call to ‘semanage_alloc’ from ‘semanage__create_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1869:24: note: in expansion of macro ‘yyalloc’ <--[gcc] In function ‘semanage_alloc’, inlined from ‘semanage__create_buffer’ at conf-scan.c:1869:24: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2339:11: note: (3) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘semanage__create_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1870:12: note: (4) assuming ‘malloc(64)’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1870:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1873:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1879:12: note: (7) ‘malloc(64)’ leaks here; was allocated at (3) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘semanage__scan_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2133:25: warning: leak of ‘malloc(n)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:12:23: note: (1) entry to ‘semanage__scan_bytes’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2117:17: note: in expansion of macro ‘yy_scan_bytes’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:29:17: note: (2) inlined call to ‘semanage_alloc’ from ‘semanage__scan_bytes’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2126:24: note: in expansion of macro ‘yyalloc’ <--[gcc] In function ‘semanage_alloc’, inlined from ‘semanage__scan_bytes’ at conf-scan.c:2126:17: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2339:11: note: (3) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘semanage__scan_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2127:12: note: (4) assuming ‘malloc(n)’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2127:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:10:24: note: (7) calling ‘semanage__scan_buffer’ from ‘semanage__scan_bytes’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2135:6: note: in expansion of macro ‘yy_scan_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:10:24: note: (8) entry to ‘semanage__scan_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2067:17: note: in expansion of macro ‘yy_scan_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2133:25: note: (9) ‘malloc(n)’ leaks here; was allocated at (3) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1919: warning: nullPointer(CWE-476): Possible null pointer dereference: b <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1920: warning: nullPointer(CWE-476): Possible null pointer dereference: b <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘yy_get_next_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1594:18: warning: leak of ‘*b.yy_ch_buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1527:12: note: (1) entry to ‘yy_get_next_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1534:5: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1538:31: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1538:5: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1560:46: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1565:5: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1574:49: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1576:23: note: (8) following ‘true’ branch (when ‘num_to_read <= 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1580:41: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:30:19: note: (10) inlined call to ‘semanage_realloc’ from ‘yy_get_next_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1596:41: note: in expansion of macro ‘yyrealloc’ <--[gcc] In function ‘semanage_realloc’, inlined from ‘yy_get_next_buffer’ at conf-scan.c:1596:6: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2352:16: note: (11) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2352:16: note: (12) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘yy_get_next_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1603:7: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1607:19: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1576:23: note: (15) following ‘true’ branch (when ‘num_to_read <= 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1580:41: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1585:7: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1587:49: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:30:19: note: (19) inlined call to ‘semanage_realloc’ from ‘yy_get_next_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1596:41: note: in expansion of macro ‘yyrealloc’ <--[gcc] In function ‘semanage_realloc’, inlined from ‘yy_get_next_buffer’ at conf-scan.c:1596:6: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2352:16: note: (20) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘yy_get_next_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1594:18: note: (21) ‘*b.yy_ch_buf’ leaks here; was allocated at (11) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘semanage__create_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1879:12: warning: leak of ‘malloc(64)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:8:26: note: (1) entry to ‘semanage__create_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1865:21: note: in expansion of macro ‘yy_create_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:29:17: note: (2) inlined call to ‘semanage_alloc’ from ‘semanage__create_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1869:24: note: in expansion of macro ‘yyalloc’ <--[gcc] In function ‘semanage_alloc’, inlined from ‘semanage__create_buffer’ at conf-scan.c:1869:24: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2339:11: note: (3) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘semanage__create_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1870:12: note: (4) assuming ‘malloc(64)’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1870:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1873:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:1879:12: note: (7) ‘malloc(64)’ leaks here; was allocated at (3) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘semanage__scan_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2133:25: warning: leak of ‘malloc(n)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:12:23: note: (1) entry to ‘semanage__scan_bytes’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2117:17: note: in expansion of macro ‘yy_scan_bytes’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:29:17: note: (2) inlined call to ‘semanage_alloc’ from ‘semanage__scan_bytes’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2126:24: note: in expansion of macro ‘yyalloc’ <--[gcc] In function ‘semanage_alloc’, inlined from ‘semanage__scan_bytes’ at conf-scan.c:2126:17: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2339:11: note: (3) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c: In function ‘semanage__scan_buffer’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2127:12: note: (4) assuming ‘malloc(n)’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2127:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:10:24: note: (7) calling ‘semanage__scan_buffer’ from ‘semanage__scan_bytes’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2135:6: note: in expansion of macro ‘yy_scan_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:10:24: note: (8) entry to ‘semanage__scan_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2067:17: note: in expansion of macro ‘yy_scan_buffer’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/conf-scan.c:2133:25: note: (9) ‘malloc(n)’ leaks here; was allocated at (3) <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o direct_api.lo direct_api.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'data_read' nulled but not freed upon failure <--[cppcheck] In file included from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:53: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c: In function ‘read_from_pipe_to_data’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:12: warning: leak of ‘data_read’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] In file included from /usr/include/sepol/errcodes.h:6, <--[gcc] from /usr/include/sepol/policydb/hashtab.h:16, <--[gcc] from /usr/include/sepol/policydb/symtab.h:16, <--[gcc] from /usr/include/sepol/policydb/policydb.h:60, <--[gcc] from /usr/include/sepol/cil/cil.h:33, <--[gcc] from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:24: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘false’ branch (when ‘pid != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:701:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:703:20: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:708:26: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:710:20: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:715:26: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:717:20: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:722:26: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:723:20: note: (47) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:727:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:729:20: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (51) calling ‘read_from_pipe_to_data’ from ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:582:12: note: (52) entry to ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:592:21: note: (53) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (54) assuming ‘data_read’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (55) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (56) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:598:90: note: (57) following ‘true’ branch (when ‘read_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:599:31: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:600:20: note: (59) following ‘true’ branch (when ‘max_len == data_read_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:601:33: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602:37: note: (61) when ‘realloc’ succeeds, without moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:603:28: note: (62) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (63) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:598:90: note: (64) following ‘true’ branch (when ‘read_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:599:31: note: (65) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:600:20: note: (66) following ‘true’ branch (when ‘max_len == data_read_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:601:33: note: (67) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602:37: note: (68) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:603:28: note: (69) following ‘true’ branch (when ‘data_read’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (70) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:12: note: (71) ‘data_read’ leaks here; was allocated at (53) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:43:17: warning: leak of ‘data_read’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘false’ branch (when ‘pid != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:701:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:703:20: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:708:26: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:710:20: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:715:26: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:717:20: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:722:26: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:723:20: note: (47) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:727:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:729:20: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (51) calling ‘read_from_pipe_to_data’ from ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:582:12: note: (52) entry to ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (53) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (54) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (55) returning to ‘semanage_pipe_data’ from ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:736:20: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:739:26: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:741:20: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:747:26: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:747:26: note: (60) calling ‘read_from_pipe_to_data’ from ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:582:12: note: (61) entry to ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:592:21: note: (62) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (63) assuming ‘data_read’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (64) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (65) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:598:90: note: (66) following ‘true’ branch (when ‘read_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:599:31: note: (67) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:600:20: note: (68) following ‘true’ branch (when ‘max_len == data_read_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:601:33: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602:37: note: (70) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:603:28: note: (71) following ‘true’ branch (when ‘data_read’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (72) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:12: note: (73) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:39:41: note: (74) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:43:17: note: (75) ‘data_read’ leaks here; was allocated at (62) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:43:17: warning: leak of ‘data_read’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘false’ branch (when ‘pid != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:701:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:703:20: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:708:26: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:710:20: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:715:26: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:717:20: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:722:26: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:723:20: note: (47) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:727:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:729:20: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (51) calling ‘read_from_pipe_to_data’ from ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:582:12: note: (52) entry to ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (53) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (54) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:735:26: note: (55) returning to ‘semanage_pipe_data’ from ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:736:20: note: (56) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:739:26: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:741:20: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:747:26: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:747:26: note: (60) calling ‘read_from_pipe_to_data’ from ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:582:12: note: (61) entry to ‘read_from_pipe_to_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:592:21: note: (62) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (63) assuming ‘data_read’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:593:12: note: (64) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (65) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:598:90: note: (66) following ‘true’ branch (when ‘read_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:599:31: note: (67) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:600:20: note: (68) following ‘true’ branch (when ‘max_len == data_read_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:601:33: note: (69) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602:37: note: (70) when ‘realloc’ succeeds, without moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:603:28: note: (71) following ‘false’ branch (when ‘data_read’ is non-NULL)... <--[gcc] cc1: note: (72) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:598:90: note: (73) following ‘true’ branch (when ‘read_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:599:31: note: (74) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:600:20: note: (75) following ‘true’ branch (when ‘max_len == data_read_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:601:33: note: (76) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:602:37: note: (77) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:603:28: note: (78) following ‘true’ branch (when ‘data_read’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (79) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:12: note: (80) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:39:41: note: (81) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:43:17: note: (82) ‘data_read’ leaks here; was allocated at (62) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:604:33: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c: In function ‘semanage_pipe_data’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:786:17: warning: double ‘close’ of file descriptor ‘output_fd[0]’ [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (38) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (40) following ‘true’ branch (when ‘pid == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (42) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (44) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:674:26: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:675:20: note: (46) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:680:26: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:681:20: note: (48) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:685:26: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:685:26: note: (50) first ‘close’ here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:686:20: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:687:25: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (57) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:786:17: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:786:17: note: (59) second ‘close’ here; first ‘close’ was at (50) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:801:17: warning: double ‘close’ of file descriptor ‘input_fd[1]’ [CWE-1341] [-Wanalyzer-fd-double-close] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (29) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (30) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (38) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (40) following ‘true’ branch (when ‘pid == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (42) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (44) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:674:26: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:675:20: note: (46) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:680:26: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:680:26: note: (48) first ‘close’ here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:681:20: note: (49) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:682:25: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (65) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:801:17: note: (66) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:801:17: note: (67) second ‘close’ here; first ‘close’ was at (48) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘input_fd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (29) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (30) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:649:17: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (51) ‘input_fd[0]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘input_fd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (29) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (30) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:649:17: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (51) ‘input_fd[1]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘output_fd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:654:17: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (48) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (52) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (54) ‘output_fd[0]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘output_fd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (32) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (33) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:654:17: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (48) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (52) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (54) ‘output_fd[1]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘err_fd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (48) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (52) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (54) ‘err_fd[1]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘err_fd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) opened here as read-write <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (35) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (36) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (45) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (48) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (52) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (54) ‘err_fd[0]’ leaks here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘retval’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘true’ branch (when ‘pid == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (41) opened here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (42) assuming ‘retval’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (43) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (45) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:671:25: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (63) ‘retval’ leaks here; was opened at (41) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘retval’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘true’ branch (when ‘pid == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (41) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (43) opened here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (44) assuming ‘retval’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (45) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:674:26: note: (46) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:675:20: note: (47) following ‘true’ branch (when ‘retval == -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:38:25: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/debug.h:50:9: note: in expansion of macro ‘msg_write’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:676:25: note: in expansion of macro ‘ERR’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:22: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (64) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (65) ‘retval’ leaks here; was opened at (43) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: warning: leak of file descriptor ‘retval’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1793:12: note: (1) entry to ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1815:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1819:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1825:14: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1828:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1832:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1845:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1849:12: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:21: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1850:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:1856:22: note: (14) calling ‘semanage_compile_module’ from ‘semanage_direct_extract’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:874:12: note: (15) entry to ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:890:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:894:18: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:895:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:899:18: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:905:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:909:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:915:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:919:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:920:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:925:18: note: (26) calling ‘semanage_pipe_data’ from ‘semanage_compile_module’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:616:12: note: (27) entry to ‘semanage_pipe_data’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:642:18: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:643:12: note: (29) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:647:18: note: (31) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:648:12: note: (32) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:652:18: note: (34) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:653:12: note: (35) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:658:15: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:659:12: note: (37) following ‘false’ branch (when ‘pid != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (38) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:663:19: note: (39) following ‘true’ branch (when ‘pid == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:664:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:665:20: note: (41) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:669:26: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:670:20: note: (43) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:674:26: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:674:26: note: (45) opened here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:675:20: note: (46) assuming ‘retval’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:675:20: note: (47) following ‘false’ branch (when ‘retval != -1’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:680:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:775:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:27: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:780:12: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:785:22: note: (52) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:788:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:19: note: (54) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:791:12: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:19: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:794:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:21: note: (58) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:797:12: note: (59) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:21: note: (60) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:800:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:804:16: note: (63) ‘retval’ leaks here; was opened at (45) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/direct_api.c:2635:4: warning: Value stored to 'modules_len' is never read [deadcode.DeadStores] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -c -o semanage_store.o semanage_store.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' ar rcs libsemanage.a boolean_record.o booleans_active.o booleans_activedb.o booleans_file.o booleans_local.o booleans_policy.o booleans_policydb.o compressed_file.o context_record.o database.o database_activedb.o database_file.o database_join.o database_llist.o database_policydb.o debug.o direct_api.o fcontext_record.o fcontexts_file.o fcontexts_local.o fcontexts_policy.o genhomedircon.o handle.o ibendport_record.o ibendports_file.o ibendports_local.o ibendports_policy.o ibendports_policydb.o ibpkey_record.o ibpkeys_file.o ibpkeys_local.o ibpkeys_policy.o ibpkeys_policydb.o iface_record.o interfaces_file.o interfaces_local.o interfaces_policy.o interfaces_policydb.o modules.o node_record.o nodes_file.o nodes_local.o nodes_policy.o nodes_policydb.o parse_utils.o policy_components.o port_record.o ports_file.o ports_local.o ports_policy.o ports_policydb.o semanage_store.o seuser_record.o seusers_file.o seusers_local.o seusers_policy.o sha256.o user_base_record.o user_extra_record.o user_record.o users_base_file.o users_base_policydb.o users_extra_file.o users_join.o users_local.o users_policy.o utilities.o conf-scan.o conf-parse.o ranlib libsemanage.a make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o semanage_store.lo semanage_store.c make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -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 -shared -o libsemanage.so.2 boolean_record.lo booleans_active.lo booleans_activedb.lo booleans_file.lo booleans_local.lo booleans_policy.lo booleans_policydb.lo compressed_file.lo context_record.lo database.lo database_activedb.lo database_file.lo database_join.lo database_llist.lo database_policydb.lo debug.lo direct_api.lo fcontext_record.lo fcontexts_file.lo fcontexts_local.lo fcontexts_policy.lo genhomedircon.lo handle.lo ibendport_record.lo ibendports_file.lo ibendports_local.lo ibendports_policy.lo ibendports_policydb.lo ibpkey_record.lo ibpkeys_file.lo ibpkeys_local.lo ibpkeys_policy.lo ibpkeys_policydb.lo iface_record.lo interfaces_file.lo interfaces_local.lo interfaces_policy.lo interfaces_policydb.lo modules.lo node_record.lo nodes_file.lo nodes_local.lo nodes_policy.lo nodes_policydb.lo parse_utils.lo policy_components.lo port_record.lo ports_file.lo ports_local.lo ports_policy.lo ports_policydb.lo semanage_store.lo seuser_record.lo seusers_file.lo seusers_local.lo seusers_policy.lo sha256.lo user_base_record.lo user_extra_record.lo user_record.lo users_base_file.lo users_base_policydb.lo users_extra_file.lo users_join.lo users_local.lo users_policy.lo utilities.lo conf-scan.lo conf-parse.lo -lsepol -laudit -lselinux -lbz2 -Wl,-soname,libsemanage.so.2,--version-script=libsemanage.map,-z,defs ln -sf libsemanage.so.2 libsemanage.so make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' make -C src pywrap make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno-shadow -Wno-unused-parameter -Wno-missing-prototypes -I/usr/include/python3.13 -fPIC -DSHARED -c -o python-3.13semanageswig_wrap.lo semanageswig_wrap.c /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘append_arg’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2242:5: note: (1) entry to ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2246:13: note: (2) inlined call to ‘semanage_final_path’ from ‘semanage_verify_kernel’ <--[gcc] In file included from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:43: <--[gcc] In function ‘semanage_final_path’, inlined from ‘semanage_verify_kernel’ at semanage_store.c:2246:6: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:504:9: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘append_arg’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2247:26: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2249:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2252:39: note: (7) following ‘true’ branch (when ‘e’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (9) calling ‘semanage_exec_prog’ from ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1453:12: note: (10) entry to ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1461:16: note: (11) calling ‘split_args’ from ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1319:15: note: (12) entry to ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (13) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (14) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (15) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (16) following ‘false’ branch (when ‘a’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1291:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1294:12: note: (18) following ‘true’ branch (when ‘arg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1295:32: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1295:32: note: (20) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1296:20: note: (21) assuming ‘<unknown>’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1296:20: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1299:10: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (24) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1326:12: note: (25) following ‘false’ branch... <--[gcc] cc1: note: (26) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1331:26: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1332:17: note: (28) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1383:33: note: (29) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1400:33: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1401:56: note: (31) calling ‘append’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1240:14: note: (32) entry to ‘append’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1242:37: note: (33) following ‘false’ branch (when ‘s’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1243:23: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1243:23: note: (35) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1244:12: note: (36) following ‘false’ branch (when ‘new_s’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1248:10: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1401:56: note: (38) returning to ‘split_args’ from ‘append’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1402:52: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1427:18: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1331:26: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1429:12: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1429:12: note: (43) following ‘true’ branch (when ‘arg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1430:22: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1430:22: note: (45) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (46) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (47) when ‘realloc’ succeeds, without moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (48) following ‘false’ branch (when ‘a’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1291:15: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1294:12: note: (50) following ‘true’ branch (when ‘arg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1295:32: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1296:20: note: (52) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1299:10: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1430:22: note: (54) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1431:20: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1433:17: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (57) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (58) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (59) ‘<unknown>’ leaks here; was allocated at (20) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘free_argv’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1308:41: warning: heap-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2242:5: note: (1) entry to ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2246:13: note: (2) inlined call to ‘semanage_final_path’ from ‘semanage_verify_kernel’ <--[gcc] In function ‘semanage_final_path’, inlined from ‘semanage_verify_kernel’ at semanage_store.c:2246:6: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:504:9: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘free_argv’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2247:26: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2249:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2252:39: note: (7) following ‘true’ branch (when ‘e’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (9) calling ‘semanage_exec_prog’ from ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1453:12: note: (10) entry to ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1461:16: note: (11) calling ‘split_args’ from ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1319:15: note: (12) entry to ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (13) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (14) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (15) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (16) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (17) following ‘false’ branch (when ‘a’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1291:15: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1294:12: note: (19) following ‘true’ branch (when ‘arg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1295:32: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1296:20: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1299:10: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (23) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1326:12: note: (24) following ‘false’ branch... <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1429:12: note: (26) following ‘false’ branch (when ‘arg’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (28) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (29) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (30) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (31) following ‘true’ branch (when ‘a’ is NULL)... <--[gcc] cc1: note: (32) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (33) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1438:12: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1439:17: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1442:9: note: (36) calling ‘free_argv’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1305:13: note: (37) entry to ‘free_argv’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1308:34: note: (38) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1308:41: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1308:41: note: (40) out-of-bounds read from byte 8 till byte 15 but region ends at byte 8 <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1308:41: note: read of 8 bytes from after the end of the region <--[gcc] ┌──────────────────────────────────┐ │ read of ‘char *’ (8 bytes) │ └──────────────────────────────────┘ ^ │ │ ┌──────────────────────────────────┐┌──────────────────────────────────┐ │ buffer allocated on heap at (16) ││ after valid range │ └──────────────────────────────────┘└──────────────────────────────────┘ ├────────────────┬─────────────────┤├────────────────┬─────────────────┤ │ │ ╭──────┴──────╮ ╭───────────┴───────────╮ │size: 8 bytes│ │⚠️ over-read of 8 bytes│ ╰─────────────╯ ╰───────────────────────╯ /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘semanage_exec_prog’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1473:17: warning: use of NULL ‘*e.path’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2242:5: note: (1) entry to ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2246:13: note: (2) inlined call to ‘semanage_final_path’ from ‘semanage_verify_kernel’ <--[gcc] In function ‘semanage_final_path’, inlined from ‘semanage_verify_kernel’ at semanage_store.c:2246:6: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:504:9: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘semanage_exec_prog’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2247:26: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2249:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2252:39: note: (7) following ‘true’ branch (when ‘e’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (9) calling ‘semanage_exec_prog’ from ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1453:12: note: (10) entry to ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1461:16: note: (11) calling ‘split_args’ from ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1319:15: note: (12) entry to ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (13) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (14) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (15) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (16) following ‘false’ branch (when ‘a’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1291:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1294:12: note: (18) following ‘false’ branch (when ‘arg’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1299:10: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (20) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1326:12: note: (21) following ‘false’ branch... <--[gcc] cc1: note: (22) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1429:12: note: (23) following ‘false’ branch (when ‘arg’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (25) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (26) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (27) when ‘realloc’ succeeds, without moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (28) following ‘false’ branch (when ‘a’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1291:15: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1294:12: note: (30) following ‘false’ branch (when ‘arg’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1299:10: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (32) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1438:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1440:16: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1461:16: note: (35) returning to ‘semanage_exec_prog’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1462:12: note: (36) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1469:19: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1470:12: note: (38) following ‘true’ branch (when ‘forkval == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1473:25: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1473:17: note: (40) argument 1 (‘*e.path’) NULL where non-null expected <--[gcc] In file included from /usr/include/bits/sigstksz.h:24, <--[gcc] from /usr/include/signal.h:328, <--[gcc] from /usr/include/sys/param.h:28, <--[gcc] from /usr/include/sepol/policydb/mls_types.h:36, <--[gcc] from /usr/include/sepol/policydb/context.h:23, <--[gcc] from /usr/include/sepol/policydb/policydb.h:62, <--[gcc] from /usr/include/sepol/cil/cil.h:33, <--[gcc] from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.h:30, <--[gcc] from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:35: <--[gcc] /usr/include/unistd.h:572:12: note: argument 1 of ‘execve’ must be non-null <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘semanage_nc_sort’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2985:26: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2877:5: note: (1) entry to ‘semanage_nc_sort’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2904:28: note: (2) calling ‘semanage_get_line_end’ from ‘semanage_nc_sort’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2512:14: note: (3) entry to ‘semanage_get_line_end’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2516:12: note: (4) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2518:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2518:12: note: (6) following ‘false’ branch (when ‘buf_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2521:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2521:20: note: (8) calling ‘semanage_strnchr’ from ‘semanage_get_line_end’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2490:14: note: (9) entry to ‘semanage_strnchr’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2494:12: note: (10) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2496:12: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2496:12: note: (12) following ‘false’ branch (when ‘buf_len != 0’)... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2521:20: note: (14) returning to ‘semanage_get_line_end’ from ‘semanage_strnchr’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2904:28: note: (15) returning to ‘semanage_nc_sort’ from ‘semanage_get_line_end’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2904:16: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2905:37: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2908:20: note: (18) following ‘false’ branch (when ‘line_len > 1’)... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2920:20: note: (20) following ‘false’ branch (when ‘i < line_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2926:29: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2926:20: note: (22) following ‘false’ branch... <--[gcc] cc1: note: (23) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2934:31: note: (24) following ‘true’ branch (when ‘i != 5’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2937:48: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2944:20: note: (26) following ‘false’ branch (when ‘priority != -1’)... <--[gcc] cc1: note: (27) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2957:20: note: (28) following ‘false’ branch (when ‘node’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2964:21: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2964:21: note: (30) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2968:20: note: (31) assuming ‘<unknown>’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2968:20: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2976:38: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2976:20: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2982:69: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2985:26: note: (36) ‘<unknown>’ leaks here; was allocated at (30) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1469:12: warning: Call to function 'vfork' is insecure as it can lead to denial of service situations in the parent process. Replace calls to vfork with calls to the safer 'posix_spawn' function [security.insecureAPI.vfork] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2206:9: warning: Although the value stored to 'retval' is used in the enclosing expression, the value is never actually read from 'retval' [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2553:2: warning: Value stored to 'i' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘append_arg’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2242:5: note: (1) entry to ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2246:13: note: (2) inlined call to ‘semanage_final_path’ from ‘semanage_verify_kernel’ <--[gcc] In file included from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:43: <--[gcc] In function ‘semanage_final_path’, inlined from ‘semanage_verify_kernel’ at semanage_store.c:2246:6: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:504:9: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘append_arg’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2247:26: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2249:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2252:39: note: (7) following ‘true’ branch (when ‘e’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (9) calling ‘semanage_exec_prog’ from ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1453:12: note: (10) entry to ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1461:16: note: (11) calling ‘split_args’ from ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1319:15: note: (12) entry to ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (13) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (14) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (15) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (16) following ‘false’ branch (when ‘a’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1291:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1294:12: note: (18) following ‘true’ branch (when ‘arg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1295:32: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1295:32: note: (20) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1296:20: note: (21) assuming ‘<unknown>’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1296:20: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1299:10: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (24) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1326:12: note: (25) following ‘false’ branch... <--[gcc] cc1: note: (26) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1331:26: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1332:17: note: (28) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1383:33: note: (29) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1400:33: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1401:56: note: (31) calling ‘append’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1240:14: note: (32) entry to ‘append’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1242:37: note: (33) following ‘false’ branch (when ‘s’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1243:23: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1243:23: note: (35) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1244:12: note: (36) following ‘false’ branch (when ‘new_s’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1248:10: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1401:56: note: (38) returning to ‘split_args’ from ‘append’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1402:52: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1427:18: note: (40) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1331:26: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1429:12: note: (42) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1429:12: note: (43) following ‘true’ branch (when ‘arg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1430:22: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1430:22: note: (45) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (46) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (47) when ‘realloc’ succeeds, without moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (48) following ‘false’ branch (when ‘a’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1291:15: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1294:12: note: (50) following ‘true’ branch (when ‘arg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1295:32: note: (51) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1296:20: note: (52) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1299:10: note: (53) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1430:22: note: (54) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1431:20: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1433:17: note: (56) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (57) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (58) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (59) ‘<unknown>’ leaks here; was allocated at (20) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘free_argv’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1308:41: warning: heap-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2242:5: note: (1) entry to ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2246:13: note: (2) inlined call to ‘semanage_final_path’ from ‘semanage_verify_kernel’ <--[gcc] In function ‘semanage_final_path’, inlined from ‘semanage_verify_kernel’ at semanage_store.c:2246:6: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:504:9: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘free_argv’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2247:26: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2249:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2252:39: note: (7) following ‘true’ branch (when ‘e’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (9) calling ‘semanage_exec_prog’ from ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1453:12: note: (10) entry to ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1461:16: note: (11) calling ‘split_args’ from ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1319:15: note: (12) entry to ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (13) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (14) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (15) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (16) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (17) following ‘false’ branch (when ‘a’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1291:15: note: (18) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1294:12: note: (19) following ‘true’ branch (when ‘arg’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1295:32: note: (20) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1296:20: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1299:10: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (23) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1326:12: note: (24) following ‘false’ branch... <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1429:12: note: (26) following ‘false’ branch (when ‘arg’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (28) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (29) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (30) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (31) following ‘true’ branch (when ‘a’ is NULL)... <--[gcc] cc1: note: (32) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (33) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1438:12: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1439:17: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1442:9: note: (36) calling ‘free_argv’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1305:13: note: (37) entry to ‘free_argv’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1308:34: note: (38) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1308:41: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1308:41: note: (40) out-of-bounds read from byte 8 till byte 15 but region ends at byte 8 <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1308:41: note: read of 8 bytes from after the end of the region <--[gcc] ┌──────────────────────────────────┐ │ read of ‘char *’ (8 bytes) │ └──────────────────────────────────┘ ^ │ │ ┌──────────────────────────────────┐┌──────────────────────────────────┐ │ buffer allocated on heap at (16) ││ after valid range │ └──────────────────────────────────┘└──────────────────────────────────┘ ├────────────────┬─────────────────┤├────────────────┬─────────────────┤ │ │ ╭──────┴──────╮ ╭───────────┴───────────╮ │size: 8 bytes│ │⚠️ over-read of 8 bytes│ ╰─────────────╯ ╰───────────────────────╯ /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘semanage_exec_prog’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1473:17: warning: use of NULL ‘*e.path’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2242:5: note: (1) entry to ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2246:13: note: (2) inlined call to ‘semanage_final_path’ from ‘semanage_verify_kernel’ <--[gcc] In function ‘semanage_final_path’, inlined from ‘semanage_verify_kernel’ at semanage_store.c:2246:6: /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:504:9: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘semanage_exec_prog’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2247:26: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2249:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2252:39: note: (7) following ‘true’ branch (when ‘e’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2253:21: note: (9) calling ‘semanage_exec_prog’ from ‘semanage_verify_kernel’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1453:12: note: (10) entry to ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1461:16: note: (11) calling ‘split_args’ from ‘semanage_exec_prog’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1319:15: note: (12) entry to ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (13) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (14) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (15) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (16) following ‘false’ branch (when ‘a’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1291:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1294:12: note: (18) following ‘false’ branch (when ‘arg’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1299:10: note: (19) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1325:14: note: (20) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1326:12: note: (21) following ‘false’ branch... <--[gcc] cc1: note: (22) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1429:12: note: (23) following ‘false’ branch (when ‘arg’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (24) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (25) calling ‘append_arg’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1283:12: note: (26) entry to ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1287:13: note: (27) when ‘realloc’ succeeds, without moving buffer <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1288:12: note: (28) following ‘false’ branch (when ‘a’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1291:15: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1294:12: note: (30) following ‘false’ branch (when ‘arg’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1299:10: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1437:14: note: (32) returning to ‘split_args’ from ‘append_arg’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1438:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1440:16: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1461:16: note: (35) returning to ‘semanage_exec_prog’ from ‘split_args’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1462:12: note: (36) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1469:19: note: (37) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1470:12: note: (38) following ‘true’ branch (when ‘forkval == 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1473:25: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1473:17: note: (40) argument 1 (‘*e.path’) NULL where non-null expected <--[gcc] In file included from /usr/include/bits/sigstksz.h:24, <--[gcc] from /usr/include/signal.h:328, <--[gcc] from /usr/include/sys/param.h:28, <--[gcc] from /usr/include/sepol/policydb/mls_types.h:36, <--[gcc] from /usr/include/sepol/policydb/context.h:23, <--[gcc] from /usr/include/sepol/policydb/policydb.h:62, <--[gcc] from /usr/include/sepol/cil/cil.h:33, <--[gcc] from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.h:30, <--[gcc] from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:35: <--[gcc] /usr/include/unistd.h:572:12: note: argument 1 of ‘execve’ must be non-null <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c: In function ‘semanage_nc_sort’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2985:26: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2877:5: note: (1) entry to ‘semanage_nc_sort’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2904:28: note: (2) calling ‘semanage_get_line_end’ from ‘semanage_nc_sort’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2512:14: note: (3) entry to ‘semanage_get_line_end’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2516:12: note: (4) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2518:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2518:12: note: (6) following ‘false’ branch (when ‘buf_len != 0’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2521:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2521:20: note: (8) calling ‘semanage_strnchr’ from ‘semanage_get_line_end’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2490:14: note: (9) entry to ‘semanage_strnchr’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2494:12: note: (10) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2496:12: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2496:12: note: (12) following ‘false’ branch (when ‘buf_len != 0’)... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2521:20: note: (14) returning to ‘semanage_get_line_end’ from ‘semanage_strnchr’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2904:28: note: (15) returning to ‘semanage_nc_sort’ from ‘semanage_get_line_end’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2904:16: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2905:37: note: (17) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2908:20: note: (18) following ‘false’ branch (when ‘line_len > 1’)... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2920:20: note: (20) following ‘false’ branch (when ‘i < line_len’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2926:29: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2926:20: note: (22) following ‘false’ branch... <--[gcc] cc1: note: (23) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2934:31: note: (24) following ‘true’ branch (when ‘i != 5’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2937:48: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2944:20: note: (26) following ‘false’ branch (when ‘priority != -1’)... <--[gcc] cc1: note: (27) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2957:20: note: (28) following ‘false’ branch (when ‘node’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2964:21: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2964:21: note: (30) allocated here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2968:20: note: (31) assuming ‘<unknown>’ is non-NULL <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2968:20: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2976:38: note: (33) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2976:20: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2982:69: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2985:26: note: (36) ‘<unknown>’ leaks here; was allocated at (30) <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:1469:12: warning: Call to function 'vfork' is insecure as it can lead to denial of service situations in the parent process. Replace calls to vfork with calls to the safer 'posix_spawn' function [security.insecureAPI.vfork] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2206:9: warning: Although the value stored to 'retval' is used in the enclosing expression, the value is never actually read from 'retval' [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanage_store.c:2553:2: warning: Value stored to 'i' is never read [deadcode.DeadStores] <--[clang] + BuildPythonWrapper /usr/bin/python3 + BinaryName=/usr/bin/python3 + make PYTHON=/usr/bin/python3 LIBDIR=/usr/lib64 SHLIBDIR=lib64 pywrap /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:7316:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:7625:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:7897:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:8712:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:8939:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:9628:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:10097:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:10324:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:11223:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:11450:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:12416:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:12643:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:13479:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:13706:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:14544:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:14771:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:14824:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:15645:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:15872:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:17077:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:17304:17: warning: The left operand of '>=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_MangledTypeQueryModule’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:621:13: warning: dereference of NULL ‘iter’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:16585:22: note: (1) entry to ‘_wrap_semanage_node_get_proto_str’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:16594:6: note: (2) following ‘false’ branch (when ‘args’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:16596:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:16596:12: note: (4) calling ‘SWIG_AsVal_int’ from ‘_wrap_semanage_node_get_proto_str’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3562:1: note: (5) entry to ‘SWIG_AsVal_int’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3565:13: note: (6) calling ‘SWIG_AsVal_long’ from ‘SWIG_AsVal_int’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3514:1: note: (7) entry to ‘SWIG_AsVal_long’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3525:10: note: (8) following ‘true’ branch (when ‘val’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3525:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3565:13: note: (10) returning to ‘SWIG_AsVal_int’ from ‘SWIG_AsVal_long’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3570:10: note: (11) following ‘true’ branch (when ‘val’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3570:23: note: (12) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:16596:12: note: (13) returning to ‘_wrap_semanage_node_get_proto_str’ from ‘SWIG_AsVal_int’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:16597:6: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:16600:8: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:16602:15: note: (16) calling ‘SWIG_FromCharPtr’ from ‘_wrap_semanage_node_get_proto_str’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3323:1: note: (17) entry to ‘SWIG_FromCharPtr’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3325:10: note: (18) calling ‘SWIG_FromCharPtrAndSize’ from ‘SWIG_FromCharPtr’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3298:1: note: (19) entry to ‘SWIG_FromCharPtrAndSize’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3300:6: note: (20) following ‘true’ branch (when ‘carray’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3301:8: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3301:8: note: (22) following ‘true’ branch (when ‘size > 2147483647’)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3302:42: note: (23) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3302:42: note: (24) calling ‘SWIG_pchar_descriptor’ from ‘SWIG_FromCharPtrAndSize’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3285:1: note: (25) entry to ‘SWIG_pchar_descriptor’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3289:6: note: (26) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3248:24: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3290:12: note: in expansion of macro ‘SWIG_TypeQuery’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3248:24: note: (28) calling ‘SWIG_Python_TypeQuery’ from ‘SWIG_pchar_descriptor’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3290:12: note: in expansion of macro ‘SWIG_TypeQuery’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2961:1: note: (29) entry to ‘SWIG_Python_TypeQuery’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2967:6: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2970:37: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (32) calling ‘SWIG_Python_GetModule’ from ‘SWIG_Python_TypeQuery’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2970:37: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2893:1: note: (33) entry to ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2902:6: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2903:5: note: (35) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (36) returning to ‘SWIG_Python_TypeQuery’ from ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2970:37: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2971:18: note: (37) calling ‘SWIG_TypeQueryModule’ from ‘SWIG_Python_TypeQuery’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:661:1: note: (38) entry to ‘SWIG_TypeQueryModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:665:25: note: (39) calling ‘SWIG_MangledTypeQueryModule’ from ‘SWIG_TypeQueryModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:616:1: note: (40) entry to ‘SWIG_MangledTypeQueryModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:621:13: note: (41) dereference of NULL ‘iter’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:29: warning: buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:17977:24: note: (1) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3254:24: note: (2) entry to ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18317:1: note: in expansion of macro ‘SWIG_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (3) calling ‘SWIG_InitializeModule’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18040:1: note: (4) entry to ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (5) calling ‘SWIG_Python_GetModule’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2893:1: note: (6) entry to ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2902:6: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2907:10: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (9) returning to ‘SWIG_InitializeModule’ from ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18058:6: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (12) returning to ‘PyInit__semanage’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1336:55: note: (13) calling ‘SWIG_Python_InstallConstants’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18436:3: note: in expansion of macro ‘SWIG_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18229:3: note: (14) entry to ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (17) calling ‘SWIG_Python_NewPackedObj’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2869:1: note: (18) entry to ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:57: note: (19) following ‘false’ branch (when ‘ptr’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:59: note: (20) inlined call to ‘SWIG_Py_Void’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] In file included from /usr/include/python3.13/Python.h:68, <--[gcc] from /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:198: <--[gcc] /usr/include/python3.13/object.h:848:25: note: (21) inlined call to ‘Py_INCREF’ from ‘SWIG_Py_Void’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1607:3: note: in expansion of macro ‘Py_INCREF’ <--[gcc] In function ‘Py_INCREF’, inlined from ‘SWIG_Py_Void’ at semanageswig_wrap.c:1607:3, inlined from ‘SWIG_Python_NewPackedObj’ at semanageswig_wrap.c:2870:59: /usr/include/python3.13/object.h:826:17: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (23) returning to ‘SWIG_Python_InstallConstants’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18244:10: note: (24) following ‘true’ branch (when ‘obj’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18245:9: note: (25) ...to here <--[gcc] /usr/include/python3.13/object.h:954:23: note: (26) inlined call to ‘Py_DECREF’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18246:9: note: in expansion of macro ‘Py_DECREF’ <--[gcc] In function ‘Py_DECREF’, inlined from ‘SWIG_Python_InstallConstants’ at semanageswig_wrap.c:18246:9: /usr/include/python3.13/object.h:946:8: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:36: note: (28) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:29: note: (29) out-of-bounds read from byte 48 till byte 51 but ‘swig_const_table’ ends at byte 48 <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:29: note: read of 4 bytes from after the end of ‘swig_const_table’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:29: note: valid subscripts for ‘swig_const_table’ are ‘[0]’ to ‘[0]’ <--[gcc] ┌───────────────────────┐ │read of ‘int’ (4 bytes)│ └───────────────────────┘ ^ │ │ ┌──────────────────────────────────────────────────────┐┌───────────────────────┐ │ [0] ││ │ ├──────────────────────────────────────────────────────┤│ after valid range │ │‘swig_const_table’ (type: ‘struct swig_const_info[1]’)││ │ └──────────────────────────────────────────────────────┘└───────────────────────┘ ├──────────────────────────┬───────────────────────────┤├───────────┬───────────┤ │ │ ╭───────┴──────╮ ╭───────────┴───────────╮ │size: 48 bytes│ │⚠️ over-read of 4 bytes│ ╰──────────────╯ ╰───────────────────────╯ /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1143:57: warning: buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18235:15: note: in expansion of macro ‘SWIG_InternalNewPointerObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:17977:24: note: (1) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3254:24: note: (2) entry to ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18317:1: note: in expansion of macro ‘SWIG_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (3) calling ‘SWIG_InitializeModule’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18040:1: note: (4) entry to ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (5) calling ‘SWIG_Python_GetModule’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2893:1: note: (6) entry to ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2902:6: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2907:10: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (9) returning to ‘SWIG_InitializeModule’ from ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18058:6: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (12) returning to ‘PyInit__semanage’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1336:55: note: (13) calling ‘SWIG_Python_InstallConstants’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18436:3: note: in expansion of macro ‘SWIG_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18229:3: note: (14) entry to ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (17) calling ‘SWIG_Python_NewPackedObj’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2869:1: note: (18) entry to ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:57: note: (19) following ‘false’ branch (when ‘ptr’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:59: note: (20) inlined call to ‘SWIG_Py_Void’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /usr/include/python3.13/object.h:848:25: note: (21) inlined call to ‘Py_INCREF’ from ‘SWIG_Py_Void’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1607:3: note: in expansion of macro ‘Py_INCREF’ <--[gcc] In function ‘Py_INCREF’, inlined from ‘SWIG_Py_Void’ at semanageswig_wrap.c:1607:3, inlined from ‘SWIG_Python_NewPackedObj’ at semanageswig_wrap.c:2870:59: /usr/include/python3.13/object.h:826:17: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (23) returning to ‘SWIG_Python_InstallConstants’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18244:10: note: (24) following ‘true’ branch (when ‘obj’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18245:9: note: (25) ...to here <--[gcc] /usr/include/python3.13/object.h:954:23: note: (26) inlined call to ‘Py_DECREF’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18246:9: note: in expansion of macro ‘Py_DECREF’ <--[gcc] In function ‘Py_DECREF’, inlined from ‘SWIG_Python_InstallConstants’ at semanageswig_wrap.c:18246:9: /usr/include/python3.13/object.h:946:8: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:36: note: (28) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (31) following ‘case 4:’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18234:7: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1143:57: note: (33) out-of-bounds read from byte 80 till byte 87 but ‘swig_const_table’ ends at byte 48 <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18235:15: note: in expansion of macro ‘SWIG_InternalNewPointerObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1143:57: note: read of 8 bytes from after the end of ‘swig_const_table’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18235:15: note: in expansion of macro ‘SWIG_InternalNewPointerObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1143:57: note: valid subscripts for ‘swig_const_table’ are ‘[0]’ to ‘[0]’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18235:15: note: in expansion of macro ‘SWIG_InternalNewPointerObj’ <--[gcc] ┌──────────────────────────┐ │read of ‘void *’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌──────────────────────────────────────────────────────┐ ┌──────────────────────────┐ │ [0] │ │ │ ├──────────────────────────────────────────────────────┤ │ after valid range │ │‘swig_const_table’ (type: ‘struct swig_const_info[1]’)│ │ │ └──────────────────────────────────────────────────────┘ └──────────────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────────┬─────────────┤ │ │ │ │ │ ╭───────────┴───────────╮ │ │ │⚠️ over-read of 8 bytes│ │ │ ╰───────────────────────╯ ╭───────┴──────╮ ╭────┴───╮ │size: 48 bytes│ │32 bytes│ ╰──────────────╯ ╰────────╯ /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18235:78: warning: buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1143:94: note: in definition of macro ‘SWIG_InternalNewPointerObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:17977:24: note: (1) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3254:24: note: (2) entry to ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18317:1: note: in expansion of macro ‘SWIG_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (3) calling ‘SWIG_InitializeModule’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18040:1: note: (4) entry to ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (5) calling ‘SWIG_Python_GetModule’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2893:1: note: (6) entry to ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2902:6: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2907:10: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (9) returning to ‘SWIG_InitializeModule’ from ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18058:6: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (12) returning to ‘PyInit__semanage’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1336:55: note: (13) calling ‘SWIG_Python_InstallConstants’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18436:3: note: in expansion of macro ‘SWIG_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18229:3: note: (14) entry to ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (17) calling ‘SWIG_Python_NewPackedObj’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2869:1: note: (18) entry to ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:57: note: (19) following ‘false’ branch (when ‘ptr’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:59: note: (20) inlined call to ‘SWIG_Py_Void’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /usr/include/python3.13/object.h:848:25: note: (21) inlined call to ‘Py_INCREF’ from ‘SWIG_Py_Void’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1607:3: note: in expansion of macro ‘Py_INCREF’ <--[gcc] In function ‘Py_INCREF’, inlined from ‘SWIG_Py_Void’ at semanageswig_wrap.c:1607:3, inlined from ‘SWIG_Python_NewPackedObj’ at semanageswig_wrap.c:2870:59: /usr/include/python3.13/object.h:826:17: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (23) returning to ‘SWIG_Python_InstallConstants’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18244:10: note: (24) following ‘true’ branch (when ‘obj’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18245:9: note: (25) ...to here <--[gcc] /usr/include/python3.13/object.h:954:23: note: (26) inlined call to ‘Py_DECREF’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18246:9: note: in expansion of macro ‘Py_DECREF’ <--[gcc] In function ‘Py_DECREF’, inlined from ‘SWIG_Python_InstallConstants’ at semanageswig_wrap.c:18246:9: /usr/include/python3.13/object.h:946:8: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:36: note: (28) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (31) following ‘case 4:’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18234:7: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18235:78: note: (33) out-of-bounds read from byte 88 till byte 95 but ‘swig_const_table’ ends at byte 48 <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1143:94: note: in definition of macro ‘SWIG_InternalNewPointerObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18235:78: note: read of 8 bytes from after the end of ‘swig_const_table’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1143:94: note: in definition of macro ‘SWIG_InternalNewPointerObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18235:78: note: valid subscripts for ‘swig_const_table’ are ‘[0]’ to ‘[0]’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1143:94: note: in definition of macro ‘SWIG_InternalNewPointerObj’ <--[gcc] ┌─────────────────────────────────────────────┐ │read of ‘struct swig_type_info * *’ (8 bytes)│ └─────────────────────────────────────────────┘ ^ │ │ ┌──────────────────────────────────────────────────────┐ ┌─────────────────────────────────────────────┐ │ [0] │ │ │ ├──────────────────────────────────────────────────────┤ │ after valid range │ │‘swig_const_table’ (type: ‘struct swig_const_info[1]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────────────────────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├──────────────────────┬──────────────────────┤ │ │ │ ╭───────┴──────╮ ╭────┴───╮ ╭───────────┴───────────╮ │size: 48 bytes│ │40 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰────────╯ ╰───────────────────────╯ /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: warning: buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:17977:24: note: (1) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3254:24: note: (2) entry to ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18317:1: note: in expansion of macro ‘SWIG_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (3) calling ‘SWIG_InitializeModule’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18040:1: note: (4) entry to ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (5) calling ‘SWIG_Python_GetModule’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2893:1: note: (6) entry to ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2902:6: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2907:10: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (9) returning to ‘SWIG_InitializeModule’ from ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18058:6: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (12) returning to ‘PyInit__semanage’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1336:55: note: (13) calling ‘SWIG_Python_InstallConstants’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18436:3: note: in expansion of macro ‘SWIG_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18229:3: note: (14) entry to ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (17) calling ‘SWIG_Python_NewPackedObj’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2869:1: note: (18) entry to ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:57: note: (19) following ‘false’ branch (when ‘ptr’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:59: note: (20) inlined call to ‘SWIG_Py_Void’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /usr/include/python3.13/object.h:848:25: note: (21) inlined call to ‘Py_INCREF’ from ‘SWIG_Py_Void’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1607:3: note: in expansion of macro ‘Py_INCREF’ <--[gcc] In function ‘Py_INCREF’, inlined from ‘SWIG_Py_Void’ at semanageswig_wrap.c:1607:3, inlined from ‘SWIG_Python_NewPackedObj’ at semanageswig_wrap.c:2870:59: /usr/include/python3.13/object.h:826:17: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (23) returning to ‘SWIG_Python_InstallConstants’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18244:10: note: (24) following ‘true’ branch (when ‘obj’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18245:9: note: (25) ...to here <--[gcc] /usr/include/python3.13/object.h:954:23: note: (26) inlined call to ‘Py_DECREF’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18246:9: note: in expansion of macro ‘Py_DECREF’ <--[gcc] In function ‘Py_DECREF’, inlined from ‘SWIG_Python_InstallConstants’ at semanageswig_wrap.c:18246:9: /usr/include/python3.13/object.h:946:8: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:36: note: (28) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (31) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18237:7: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (33) out-of-bounds read from byte 80 till byte 87 but ‘swig_const_table’ ends at byte 48 <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: read of 8 bytes from after the end of ‘swig_const_table’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: valid subscripts for ‘swig_const_table’ are ‘[0]’ to ‘[0]’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] ┌──────────────────────────┐ │read of ‘void *’ (8 bytes)│ └──────────────────────────┘ ^ │ │ ┌──────────────────────────────────────────────────────┐ ┌──────────────────────────┐ │ [0] │ │ │ ├──────────────────────────────────────────────────────┤ │ after valid range │ │‘swig_const_table’ (type: ‘struct swig_const_info[1]’)│ │ │ └──────────────────────────────────────────────────────┘ └──────────────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├────────────┬─────────────┤ │ │ │ │ │ ╭───────────┴───────────╮ │ │ │⚠️ over-read of 8 bytes│ │ │ ╰───────────────────────╯ ╭───────┴──────╮ ╭────┴───╮ │size: 48 bytes│ │32 bytes│ ╰──────────────╯ ╰────────╯ /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:66: warning: buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:87: note: in definition of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:17977:24: note: (1) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3254:24: note: (2) entry to ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18317:1: note: in expansion of macro ‘SWIG_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (3) calling ‘SWIG_InitializeModule’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18040:1: note: (4) entry to ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (5) calling ‘SWIG_Python_GetModule’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2893:1: note: (6) entry to ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2902:6: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2907:10: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (9) returning to ‘SWIG_InitializeModule’ from ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18058:6: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (12) returning to ‘PyInit__semanage’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1336:55: note: (13) calling ‘SWIG_Python_InstallConstants’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18436:3: note: in expansion of macro ‘SWIG_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18229:3: note: (14) entry to ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (17) calling ‘SWIG_Python_NewPackedObj’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2869:1: note: (18) entry to ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:57: note: (19) following ‘false’ branch (when ‘ptr’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:59: note: (20) inlined call to ‘SWIG_Py_Void’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /usr/include/python3.13/object.h:848:25: note: (21) inlined call to ‘Py_INCREF’ from ‘SWIG_Py_Void’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1607:3: note: in expansion of macro ‘Py_INCREF’ <--[gcc] In function ‘Py_INCREF’, inlined from ‘SWIG_Py_Void’ at semanageswig_wrap.c:1607:3, inlined from ‘SWIG_Python_NewPackedObj’ at semanageswig_wrap.c:2870:59: /usr/include/python3.13/object.h:826:17: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (23) returning to ‘SWIG_Python_InstallConstants’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18244:10: note: (24) following ‘true’ branch (when ‘obj’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18245:9: note: (25) ...to here <--[gcc] /usr/include/python3.13/object.h:954:23: note: (26) inlined call to ‘Py_DECREF’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18246:9: note: in expansion of macro ‘Py_DECREF’ <--[gcc] In function ‘Py_DECREF’, inlined from ‘SWIG_Python_InstallConstants’ at semanageswig_wrap.c:18246:9: /usr/include/python3.13/object.h:946:8: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:36: note: (28) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (31) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18237:7: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:66: note: (33) out-of-bounds read from byte 64 till byte 71 but ‘swig_const_table’ ends at byte 48 <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:87: note: in definition of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:66: note: read of 8 bytes from after the end of ‘swig_const_table’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:87: note: in definition of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:66: note: valid subscripts for ‘swig_const_table’ are ‘[0]’ to ‘[0]’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:87: note: in definition of macro ‘SWIG_NewPackedObj’ <--[gcc] ┌────────────────────────────┐ │read of ‘long int’ (8 bytes)│ └────────────────────────────┘ ^ │ │ ┌──────────────────────────────────────────────────────┐ ┌────────────────────────────┐ │ [0] │ │ │ ├──────────────────────────────────────────────────────┤ │ after valid range │ │‘swig_const_table’ (type: ‘struct swig_const_info[1]’)│ │ │ └──────────────────────────────────────────────────────┘ └────────────────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├─────────────┬──────────────┤ │ │ │ │ │ ╭───────────┴───────────╮ │ │ │⚠️ over-read of 8 bytes│ │ │ ╰───────────────────────╯ ╭───────┴──────╮ ╭────┴───╮ │size: 48 bytes│ │16 bytes│ ╰──────────────╯ ╰────────╯ /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:89: warning: buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:91: note: in definition of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:17977:24: note: (1) capacity: 48 bytes <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:3254:24: note: (2) entry to ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18317:1: note: in expansion of macro ‘SWIG_init’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (3) calling ‘SWIG_InitializeModule’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18040:1: note: (4) entry to ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (5) calling ‘SWIG_Python_GetModule’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2893:1: note: (6) entry to ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2902:6: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2907:10: note: (8) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1168:57: note: (9) returning to ‘SWIG_InitializeModule’ from ‘SWIG_Python_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18057:17: note: in expansion of macro ‘SWIG_GetModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18058:6: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18396:3: note: (12) returning to ‘PyInit__semanage’ from ‘SWIG_InitializeModule’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1336:55: note: (13) calling ‘SWIG_Python_InstallConstants’ from ‘PyInit__semanage’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18436:3: note: in expansion of macro ‘SWIG_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18229:3: note: (14) entry to ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (17) calling ‘SWIG_Python_NewPackedObj’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2869:1: note: (18) entry to ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:57: note: (19) following ‘false’ branch (when ‘ptr’ is NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:2870:59: note: (20) inlined call to ‘SWIG_Py_Void’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /usr/include/python3.13/object.h:848:25: note: (21) inlined call to ‘Py_INCREF’ from ‘SWIG_Py_Void’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1607:3: note: in expansion of macro ‘Py_INCREF’ <--[gcc] In function ‘Py_INCREF’, inlined from ‘SWIG_Py_Void’ at semanageswig_wrap.c:1607:3, inlined from ‘SWIG_Python_NewPackedObj’ at semanageswig_wrap.c:2870:59: /usr/include/python3.13/object.h:826:17: note: (22) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:57: note: (23) returning to ‘SWIG_Python_InstallConstants’ from ‘SWIG_Python_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:15: note: in expansion of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18244:10: note: (24) following ‘true’ branch (when ‘obj’ is non-NULL)... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18245:9: note: (25) ...to here <--[gcc] /usr/include/python3.13/object.h:954:23: note: (26) inlined call to ‘Py_DECREF’ from ‘SWIG_Python_InstallConstants’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18246:9: note: in expansion of macro ‘Py_DECREF’ <--[gcc] In function ‘Py_DECREF’, inlined from ‘SWIG_Python_InstallConstants’ at semanageswig_wrap.c:18246:9: /usr/include/python3.13/object.h:946:8: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c: In function ‘SWIG_Python_InstallConstants’: <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:36: note: (28) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18232:17: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (30) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18233:7: note: (31) following ‘case 5:’ branch... <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18237:7: note: (32) ...to here <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:89: note: (33) out-of-bounds read from byte 88 till byte 95 but ‘swig_const_table’ ends at byte 48 <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:91: note: in definition of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:89: note: read of 8 bytes from after the end of ‘swig_const_table’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:91: note: in definition of macro ‘SWIG_NewPackedObj’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:18238:89: note: valid subscripts for ‘swig_const_table’ are ‘[0]’ to ‘[0]’ <--[gcc] /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src/semanageswig_wrap.c:1151:91: note: in definition of macro ‘SWIG_NewPackedObj’ <--[gcc] ┌─────────────────────────────────────────────┐ │read of ‘struct swig_type_info * *’ (8 bytes)│ └─────────────────────────────────────────────┘ ^ │ │ ┌──────────────────────────────────────────────────────┐ ┌─────────────────────────────────────────────┐ │ [0] │ │ │ ├──────────────────────────────────────────────────────┤ │ after valid range │ │‘swig_const_table’ (type: ‘struct swig_const_info[1]’)│ │ │ └──────────────────────────────────────────────────────┘ └─────────────────────────────────────────────┘ ├──────────────────────────┬───────────────────────────┤├┤├──────────────────────┬──────────────────────┤ │ │ │ ╭───────┴──────╮ ╭────┴───╮ ╭───────────┴───────────╮ │size: 48 bytes│ │40 bytes│ │⚠️ over-read of 8 bytes│ ╰──────────────╯ ╰────────╯ ╰───────────────────────╯ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-semantic-interposition -I../include -D_GNU_SOURCE -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 -L. -shared -o python-3.13_semanage.so python-3.13semanageswig_wrap.lo -lsemanage make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libsemanage.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Finish: run >>> 2024-07-03 15:54:48 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-07-03 15:54:49 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libsemanage.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libsemanage.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libsemanage.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libsemanage.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1719446400 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lqMxge + umask 022 + cd /builddir/build/BUILD/libsemanage-3.7-build + '[' /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT ++ dirname /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT + mkdir -p /builddir/build/BUILD/libsemanage-3.7-build + mkdir /builddir/build/BUILD/libsemanage-3.7-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 libsemanage-3.7 + mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64 + mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/include + mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/var/lib/selinux + mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/var/lib/selinux/tmp + /usr/bin/make install DESTDIR=/builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT 'INSTALL=/usr/bin/install -p' LIBDIR=/usr/lib64 SHLIBDIR=/usr/lib64 /usr/bin/make -C include install make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/include' test -d /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/include/semanage || install -m 755 -d /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/include/semanage install -m 644 semanage/boolean_record.h semanage/booleans_active.h semanage/booleans_local.h semanage/booleans_policy.h semanage/context_record.h semanage/debug.h semanage/fcontext_record.h semanage/fcontexts_local.h semanage/fcontexts_policy.h semanage/handle.h semanage/ibendport_record.h semanage/ibendports_local.h semanage/ibendports_policy.h semanage/ibpkey_record.h semanage/ibpkeys_local.h semanage/ibpkeys_policy.h semanage/iface_record.h semanage/interfaces_local.h semanage/interfaces_policy.h semanage/modules.h semanage/node_record.h semanage/nodes_local.h semanage/nodes_policy.h semanage/port_record.h semanage/ports_local.h semanage/ports_policy.h semanage/semanage.h semanage/seuser_record.h semanage/seusers_local.h semanage/seusers_policy.h semanage/user_record.h semanage/users_local.h semanage/users_policy.h /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/include/semanage make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/include' /usr/bin/make -C src install make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' test -d /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64 || install -m 755 -d /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64 install -m 644 libsemanage.a /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64 install -m 755 libsemanage.so.2 /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64 test -d /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64/pkgconfig || install -m 755 -d /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64/pkgconfig install -m 644 libsemanage.pc /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64/pkgconfig test -f /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/etc/selinux/semanage.conf || install -m 644 -D semanage.conf /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/etc/selinux/semanage.conf cd /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64 && ln -sf libsemanage.so.2 libsemanage.so make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' /usr/bin/make -C man install make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/man' mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/man/man3 mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/man/man5 install -m 644 man3/*.3 /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/man/man3 install -m 644 man5/*.5 /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/man/man5 for lang in ; do \ if [ -e ${lang}/man3 ] ; then \ mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/man/${lang}/man3 ; \ install -m 644 ${lang}/man3/*.3 /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/man/${lang}/man3 ; \ fi ; \ if [ -e ${lang}/man5 ] ; then \ mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/man/${lang}/man5 ; \ install -m 644 ${lang}/man5/*.5 /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/man/${lang}/man5 ; \ fi ; \ done make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/man' /usr/bin/make -C utils install make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/utils' mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/libexec/selinux/ install -m 755 semanage_migrate_store /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/libexec/selinux/ make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/utils' ++ python3-config --extension-suffix + InstallPythonWrapper /usr/bin/python3 .cpython-313-x86_64-linux-gnu.so + BinaryName=/usr/bin/python3 + make PYTHON=/usr/bin/python3 DESTDIR=/builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT LIBDIR=/usr/lib64 SHLIBDIR=/usr/lib64 install-pywrap make -C src install-pywrap make[1]: Entering directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' test -d /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64/python3.13/site-packages || install -m 755 -d /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64/python3.13/site-packages install -m 755 python-3.13_semanage.so /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64/python3.13/site-packages/_semanage.cpython-313-x86_64-linux-gnu.so install -m 644 semanage.py /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64/python3.13/site-packages make[1]: Leaving directory '/builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/src' + cp /builddir/build/SOURCES/semanage.conf /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/etc/selinux/semanage.conf + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.7-1.fc41 --unique-debug-suffix -3.7-1.fc41.x86_64 --unique-debug-src-base libsemanage-3.7-1.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libsemanage-3.7-1.fc41.x86_64 2713 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64/python3.13 using python3.13 Bytecompiling .py files below /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64/python3.13/site-packages/__pycache__/semanage.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/lib64/libsemanage.a: replacing with normalized version Scanned 34 directories and 284 files, processed 2 inodes, 2 modified (1 replaced + 1 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/libsemanage-3.7-build/SPECPARTS/rpm-debuginfo.specpart Processing files: libsemanage-3.7-1.fc41.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hiazEs + umask 022 + cd /builddir/build/BUILD/libsemanage-3.7-build + cd libsemanage-3.7 + LICENSEDIR=/builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/licenses/libsemanage + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/licenses/libsemanage + cp -pr /builddir/build/BUILD/libsemanage-3.7-build/libsemanage-3.7/LICENSE /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT/usr/share/licenses/libsemanage + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(libsemanage) = 3.7-1.fc41 libsemanage = 3.7-1.fc41 libsemanage(x86-64) = 3.7-1.fc41 libsemanage.so.2()(64bit) libsemanage.so.2(LIBSEMANAGE_1.0)(64bit) libsemanage.so.2(LIBSEMANAGE_1.1)(64bit) libsemanage.so.2(LIBSEMANAGE_3.4)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libaudit.so.1()(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(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.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libselinux.so.1()(64bit) libselinux.so.1(LIBSELINUX_1.0)(64bit) libsepol.so.2()(64bit) libsepol.so.2(LIBSEPOL_1.0)(64bit) libsepol.so.2(LIBSEPOL_1.1)(64bit) libsepol.so.2(LIBSEPOL_3.0)(64bit) rtld(GNU_HASH) Obsoletes: libsemanage-compat = 3.1-4 Processing files: libsemanage-static-3.7-1.fc41.x86_64 Provides: libsemanage-static = 3.7-1.fc41 libsemanage-static(x86-64) = 3.7-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libsemanage-devel-3.7-1.fc41.x86_64 Provides: libsemanage-devel = 3.7-1.fc41 libsemanage-devel(x86-64) = 3.7-1.fc41 pkgconfig(libsemanage) = 3.7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libsemanage.so.2()(64bit) pkgconfig(libselinux) pkgconfig(libsepol) Processing files: python3-libsemanage-3.7-1.fc41.x86_64 Provides: libsemanage-python3 = 3.7-1.fc41 libsemanage-python3(x86-64) = 3.7-1.fc41 python-libsemanage = 3.7-1.fc41 python3-libsemanage = 3.7-1.fc41 python3-libsemanage(x86-64) = 3.7-1.fc41 python3.13-libsemanage = 3.7-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 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.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libsemanage.so.2()(64bit) libsemanage.so.2(LIBSEMANAGE_1.0)(64bit) libsemanage.so.2(LIBSEMANAGE_1.1)(64bit) libsemanage.so.2(LIBSEMANAGE_3.4)(64bit) python(abi) = 3.13 rtld(GNU_HASH) Obsoletes: libsemanage-python3 < 3.7-1.fc41 python-libsemanage < 3.7-1.fc41 Processing files: libsemanage-debugsource-3.7-1.fc41.x86_64 Provides: libsemanage-debugsource = 3.7-1.fc41 libsemanage-debugsource(x86-64) = 3.7-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libsemanage-debuginfo-3.7-1.fc41.x86_64 Provides: debuginfo(build-id) = 308c2dfb67d6536c7f69d8a07970358cdb317bde libsemanage-debuginfo = 3.7-1.fc41 libsemanage-debuginfo(x86-64) = 3.7-1.fc41 libsemanage.so.2-3.7-1.fc41.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libsemanage-debugsource(x86-64) = 3.7-1.fc41 Processing files: python3-libsemanage-debuginfo-3.7-1.fc41.x86_64 Provides: debuginfo(build-id) = 20e69b48c0418a4c352c2ca1558a11da2557b836 python-libsemanage-debuginfo = 3.7-1.fc41 python3-libsemanage-debuginfo = 3.7-1.fc41 python3-libsemanage-debuginfo(x86-64) = 3.7-1.fc41 python3.13-libsemanage-debuginfo = 3.7-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libsemanage-debugsource(x86-64) = 3.7-1.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/libsemanage-3.7-build/BUILDROOT Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libsemanage.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-07-03 15:54:52 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT > /builddir/shellcheck-capture.err" >>> 2024-07-03 15:54:53 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-capture.err'' | tar -xC '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/raw-results'" tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-07-03 15:54:54 "cat '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CLANG_WARNING --event error | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/uni-results/cswrap-capture.js'" >>> 2024-07-03 15:54:54 "csgrep --quiet '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/uni-results/shellcheck-capture.err'" scan.ini: time-finished = 2024-07-03 15:54:54 scan.ini: exit-code = 0 >>> 2024-07-03 15:54:54 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/scan.ini' '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/uni-results'/* > '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/scan-results-all.js'" >>> 2024-07-03 15:54:54 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/scan-results-all.js' >'/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/scan-results-all.js.tmp'" >>> 2024-07-03 15:54:55 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-07-03 15:54:57 "cat '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\\.c\$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/scan-results.js'" >>> 2024-07-03 15:54:58 "cat '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/scan-results.js' - | cssort > '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/suppressed-results.js'" >>> 2024-07-03 15:54:58 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/suppressed-results.js' > '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/suppressed-results.err'" >>> 2024-07-03 15:54:58 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/suppressed-results.html'" >>> 2024-07-03 15:54:58 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/suppressed-results.js' | tee '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/debug/suppressed-results-summary.txt'" >>> 2024-07-03 15:54:58 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/scan-results.js' > '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/scan-results.err'" >>> 2024-07-03 15:54:58 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/scan-results.js' | cshtml - > '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/scan-results.html'" >>> 2024-07-03 15:54:58 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/scan-results.js' | tee '/tmp/csmocky8tx2z_o/libsemanage-3.7-1.fc41/scan-results-summary.txt'" 21 CLANG_WARNING warning[core.UndefinedBinaryOperatorResult] 4 CLANG_WARNING warning[deadcode.DeadStores] 1 CLANG_WARNING warning[security.insecureAPI.vfork] 1 CLANG_WARNING warning[unix.Malloc] 1 CPPCHECK_WARNING error[memleakOnRealloc] 7 CPPCHECK_WARNING information[normalCheckLevelMaxBranches] 2 CPPCHECK_WARNING warning[nullPointer] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-double-close] 7 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 13 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 7 GCC_ANALYZER_WARNING warning[-Wanalyzer-out-of-bounds] <<< 2024-07-03 15:54:58 csmock exit code: 0 Wrote: /tmp/tmpoj37xkiz/libsemanage-3.7-1.fc41.tar.xz